|
1 | 1 | //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui |
2 | | -//based on imgui.h file version "1.92.3" 19230 from Dear ImGui https://github.com/ocornut/imgui |
| 2 | +//based on imgui.h file version "1.92.4" 19240 from Dear ImGui https://github.com/ocornut/imgui |
3 | 3 | //with imgui_internal.h api |
4 | 4 | //with imgui_freetype.h api |
5 | 5 | //docking branch |
@@ -760,9 +760,10 @@ typedef enum { |
760 | 760 | ImGuiBackendFlags_HasSetMousePos = 1 << 2, |
761 | 761 | ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3, |
762 | 762 | ImGuiBackendFlags_RendererHasTextures = 1 << 4, |
763 | | - ImGuiBackendFlags_PlatformHasViewports = 1 << 10, |
764 | | - ImGuiBackendFlags_HasMouseHoveredViewport=1 << 11, |
765 | | - ImGuiBackendFlags_RendererHasViewports = 1 << 12, |
| 763 | + ImGuiBackendFlags_RendererHasViewports = 1 << 10, |
| 764 | + ImGuiBackendFlags_PlatformHasViewports = 1 << 11, |
| 765 | + ImGuiBackendFlags_HasMouseHoveredViewport=1 << 12, |
| 766 | + ImGuiBackendFlags_HasParentViewport = 1 << 13, |
766 | 767 | }ImGuiBackendFlags_; |
767 | 768 | typedef enum { |
768 | 769 | ImGuiCol_Text, |
@@ -821,6 +822,7 @@ typedef enum { |
821 | 822 | ImGuiCol_TextSelectedBg, |
822 | 823 | ImGuiCol_TreeLines, |
823 | 824 | ImGuiCol_DragDropTarget, |
| 825 | + ImGuiCol_UnsavedMarker, |
824 | 826 | ImGuiCol_NavCursor, |
825 | 827 | ImGuiCol_NavWindowingHighlight, |
826 | 828 | ImGuiCol_NavWindowingDimBg, |
@@ -1164,7 +1166,7 @@ struct ImGuiIO |
1164 | 1166 | bool ConfigViewportsNoTaskBarIcon; |
1165 | 1167 | bool ConfigViewportsNoDecoration; |
1166 | 1168 | bool ConfigViewportsNoDefaultParent; |
1167 | | - bool ConfigViewportPlatformFocusSetsImGuiFocus; |
| 1169 | + bool ConfigViewportsPlatformFocusSetsImGuiFocus; |
1168 | 1170 | bool ConfigDpiScaleFonts; |
1169 | 1171 | bool ConfigDpiScaleViewports; |
1170 | 1172 | bool MouseDrawCursor; |
@@ -1727,6 +1729,7 @@ struct ImGuiViewport |
1727 | 1729 | ImVec2 WorkSize; |
1728 | 1730 | float DpiScale; |
1729 | 1731 | ImGuiID ParentViewportId; |
| 1732 | + ImGuiViewport* ParentViewport; |
1730 | 1733 | ImDrawData* DrawData; |
1731 | 1734 | void* RendererUserData; |
1732 | 1735 | void* PlatformUserData; |
@@ -2397,8 +2400,8 @@ struct ImGuiKeyRoutingData |
2397 | 2400 | { |
2398 | 2401 | ImGuiKeyRoutingIndex NextEntryIndex; |
2399 | 2402 | ImU16 Mods; |
2400 | | - ImU8 RoutingCurrScore; |
2401 | | - ImU8 RoutingNextScore; |
| 2403 | + ImU16 RoutingCurrScore; |
| 2404 | + ImU16 RoutingNextScore; |
2402 | 2405 | ImGuiID RoutingCurr; |
2403 | 2406 | ImGuiID RoutingNext; |
2404 | 2407 | }; |
@@ -3163,6 +3166,7 @@ struct ImGuiContext |
3163 | 3166 | ImRect DragDropTargetRect; |
3164 | 3167 | ImRect DragDropTargetClipRect; |
3165 | 3168 | ImGuiID DragDropTargetId; |
| 3169 | + ImGuiID DragDropTargetFullViewport; |
3166 | 3170 | ImGuiDragDropFlags DragDropAcceptFlags; |
3167 | 3171 | float DragDropAcceptIdCurrRectSurface; |
3168 | 3172 | ImGuiID DragDropAcceptIdCurr; |
@@ -4664,6 +4668,8 @@ CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self); |
4664 | 4668 | CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self); |
4665 | 4669 | CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void); |
4666 | 4670 | CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self); |
| 4671 | +CIMGUI_API void ImGuiPlatformIO_ClearPlatformHandlers(ImGuiPlatformIO* self); |
| 4672 | +CIMGUI_API void ImGuiPlatformIO_ClearRendererHandlers(ImGuiPlatformIO* self); |
4667 | 4673 | CIMGUI_API ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void); |
4668 | 4674 | CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self); |
4669 | 4675 | CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void); |
@@ -5230,9 +5236,11 @@ CIMGUI_API void igPopFocusScope(void); |
5230 | 5236 | CIMGUI_API ImGuiID igGetCurrentFocusScope(void); |
5231 | 5237 | CIMGUI_API bool igIsDragDropActive(void); |
5232 | 5238 | CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect bb,ImGuiID id); |
| 5239 | +CIMGUI_API bool igBeginDragDropTargetViewport(ImGuiViewport* viewport,const ImRect* p_bb); |
5233 | 5240 | CIMGUI_API void igClearDragDrop(void); |
5234 | 5241 | CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void); |
5235 | | -CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb,const ImRect item_clip_rect); |
| 5242 | +CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect bb); |
| 5243 | +CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect bb); |
5236 | 5244 | CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags); |
5237 | 5245 | CIMGUI_API int igTypingSelectFindMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx); |
5238 | 5246 | CIMGUI_API int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx); |
|
0 commit comments