imgui event
This commit is contained in:
@@ -3,10 +3,10 @@ Pos=60,60
|
|||||||
Size=400,400
|
Size=400,400
|
||||||
|
|
||||||
[Window][Dear ImGui Demo]
|
[Window][Dear ImGui Demo]
|
||||||
Pos=650,20
|
Pos=690,-19
|
||||||
Size=550,680
|
Size=570,692
|
||||||
|
|
||||||
[Window][Hello World!]
|
[Window][Hello World!]
|
||||||
Pos=60,60
|
Pos=0,0
|
||||||
Size=311,157
|
Size=552,180
|
||||||
|
|
||||||
|
|||||||
@@ -113,6 +113,8 @@ void Application::Run()
|
|||||||
|
|
||||||
while (SDL_PollEvent(&event))
|
while (SDL_PollEvent(&event))
|
||||||
{
|
{
|
||||||
|
ImGui_ImplSDL2_ProcessEvent(&event);
|
||||||
|
|
||||||
if (event.type == SDL_QUIT)
|
if (event.type == SDL_QUIT)
|
||||||
{
|
{
|
||||||
SetRunningState(false);
|
SetRunningState(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user