mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 16:05:35 +01:00
feat(ui): imgui 1.91.9b-docking in place of 1.73: local changes of the backends carried over (glad as the gl loader, srgb and gamma of the ui, gles glsl string), BufferingBar/Spinner kept, imgui_tables in cmake; cursor position, cursor enter and focus of the main window passed to the glfw backend, which works with events now; code adapted to the api: ImGuiListClipper::Begin, BeginListBox, ImTextureID as an integer, ImageButton with an id, ImGuiKey without GetKeyIndex, logarithmic sliders in place of the removed power argument; ImGuizmo with the math operators defined before imgui.h and SetNextFrameWantCaptureMouse
This commit is contained in:
@@ -118,6 +118,10 @@ public:
|
||||
static bool char_callback(unsigned int c);
|
||||
static bool scroll_callback(double xoffset, double yoffset);
|
||||
static bool mouse_button_callback(int button, int action, int mods);
|
||||
// state updates only, nothing to consume
|
||||
static void cursor_pos_callback(double x, double y);
|
||||
static void cursor_enter_callback(int entered);
|
||||
static void focus_callback(int focused);
|
||||
|
||||
static ImFont *font_default;
|
||||
static ImFont *font_mono;
|
||||
|
||||
Reference in New Issue
Block a user