mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-07 00:50:41 -07:00
imgui: migrate to new event-based IO (#604)
## Link to GitHub Issue or related Pull Request, if one exists #287 ## Description of change Switch over to new event-based I/O system in ImGui so that we can keep up with ImGui updates. Unlike #287, this change does not modify how mouse position is handled. That continues to be supported by newer versions of ImGui. ## Testing wip
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to clean your code of obsolete function/names.
|
||||
//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
||||
//#define IMGUI_DISABLE_OBSOLETE_KEYIO // 1.87+ disable legacy io.KeyMap[]+io.KeysDown[] in favor io.AddKeyEvent(). This is automatically done by IMGUI_DISABLE_OBSOLETE_FUNCTIONS.
|
||||
#define IMGUI_DISABLE_OBSOLETE_KEYIO // 1.87+ disable legacy io.KeyMap[]+io.KeysDown[] in favor io.AddKeyEvent(). This is automatically done by IMGUI_DISABLE_OBSOLETE_FUNCTIONS.
|
||||
|
||||
//---- Disable all of Dear ImGui or don't implement standard windows/tools.
|
||||
// It is very strongly recommended to NOT disable the demo windows and debug tool during development. They are extremely useful in day to day work. Please read comments in imgui_demo.cpp.
|
||||
|
||||
Reference in New Issue
Block a user