Changeset cd1cb0f in opengl-game for game-gui-sdl.cpp
- Timestamp:
- Dec 24, 2019, 12:48:49 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 0fe8433
- Parents:
- a79be34
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (12/22/19 03:45:12)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (12/24/19 00:48:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-sdl.cpp
ra79be34 rcd1cb0f 10 10 11 11 string GameGui_SDL::s_errorMessage; 12 13 GameGui_SDL::GameGui_SDL() : keyState(SDL_GetKeyboardState(NULL)) { 14 } 12 15 13 16 string& GameGui_SDL::getError() { … … 140 143 } 141 144 145 bool GameGui_SDL::keyPressed(unsigned int key) { 146 return keyState[key]; 147 } 148 142 149 void GameGui_SDL::refreshWindowSize() { 143 150 SDL_GetWindowSize(window, &windowWidth, &windowHeight);
Note:
See TracChangeset
for help on using the changeset viewer.