Switched imgui over to SDL implementation, dialog input works.

This commit is contained in:
Justin Marshall
2020-06-07 21:13:25 -07:00
parent 290a7fb1c5
commit 871d7a8601
7 changed files with 31 additions and 13 deletions
+6 -1
View File
@@ -41,9 +41,11 @@
* Focus_Loss -- this function is called when a library function detects focus loss *
* Memory_Error_Handler -- Handle a possibly fatal failure to allocate memory *
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#include "imgui.h"
#include "examples/imgui_impl_sdl.h"
#include "function.h"
#ifdef WINSOCK_IPX
#include "WSProto.h"
#else //WINSOCK_IPX
@@ -755,6 +757,9 @@ void WWSDL_ProcessEvents(KeyNumType& key, int& flags) {
Keyboard->Put_Element(event.key.keysym.sym);
break;
}
if (Debug_Map)
ImGui_ImplSDL2_ProcessEvent(&event);
}
if (!leftMouseProcessed && numFramesLMouse != 0)