* Make the FULLSCREEN function bindable on platforms that support it.
* Linux has F as default binding.
* Windows support is not implemented, but is there ; applications will
  just not suggest it under windows for the moment.
This commit is contained in:
jean.chalard
2010-02-28 12:31:51 +00:00
parent db8724e045
commit c2549af81d
5 changed files with 30 additions and 9 deletions

View File

@@ -179,9 +179,6 @@ static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[]
{ VK_SPACE, JGE_BTN_OK },
{ 'K', JGE_BTN_SEC },
{ 'J', JGE_BTN_PRI },
{ VK_F1, JGE_BTN_QUIT },
{ VK_F2, JGE_BTN_POWER },
{ VK_F3, JGE_BTN_SOUND }
};
void JGECreateDefaultBindings()
@@ -634,6 +631,11 @@ LRESULT CALLBACK WndProc( HWND hWnd, // Handle For This Window
return DefWindowProc(hWnd,uMsg,wParam,lParam);
}
bool JGEToggleFullscreen()
{
return false; // Not implemented under windows
}
int WINAPI WinMain( HINSTANCE hInstance, // Instance
HINSTANCE hPrevInstance, // Previous Instance
LPSTR lpCmdLine, // Command Line Parameters