-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDL example: moved event loop to main.cpp , adding page up/page down. (…
- Loading branch information
Showing
3 changed files
with
53 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
struct SDL_Window; | ||
struct SDL_Window; | ||
typedef union SDL_Event SDL_Event; | ||
|
||
bool ImGui_ImplSdl_Init(SDL_Window *window); | ||
void ImGui_ImplSdl_Shutdown(); | ||
bool ImGui_ImplSdl_NewFrame(SDL_Window *window); | ||
void ImGui_ImplSdl_NewFrame(SDL_Window *window); | ||
bool ImGui_ImplSdl_EventCallback(const SDL_Event& event); | ||
|
||
void ImGui_ImplSdl_InvalidateDeviceObjects(); | ||
bool ImGui_ImplSdl_CreateDeviceObjects(); | ||
|
||
void ImGui_ImplSdl_KeyCallback(int key, int, bool down); | ||
void ImGui_ImplSdl_CharCallback(unsigned int c); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters