mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-17 17:00:29 +02:00
Switched imgui over to SDL implementation, dialog input works.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user