11//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
2- //based on imgui.h file version "1.92.1" 19210 from Dear ImGui https://github.com/ocornut/imgui
2+ //based on imgui.h file version "1.92.2b" 19222 from Dear ImGui https://github.com/ocornut/imgui
33//with imgui_internal.h api
44//with imgui_freetype.h api
55//docking branch
@@ -434,10 +434,15 @@ typedef enum {
434434 ImGuiTabBarFlags_NoTabListScrollingButtons = 1 << 4 ,
435435 ImGuiTabBarFlags_NoTooltip = 1 << 5 ,
436436 ImGuiTabBarFlags_DrawSelectedOverline = 1 << 6 ,
437- ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 7 ,
438- ImGuiTabBarFlags_FittingPolicyScroll = 1 << 8 ,
439- ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll ,
440- ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown ,
437+ ImGuiTabBarFlags_FittingPolicyMixed = 1 << 7 ,
438+ ImGuiTabBarFlags_FittingPolicyShrink = 1 << 8 ,
439+ ImGuiTabBarFlags_FittingPolicyScroll = 1 << 9 ,
440+ ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyMixed | ImGuiTabBarFlags_FittingPolicyShrink | ImGuiTabBarFlags_FittingPolicyScroll ,
441+ ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyMixed ,
442+
443+
444+
445+
441446}ImGuiTabBarFlags_ ;
442447typedef enum {
443448 ImGuiTabItemFlags_None = 0 ,
@@ -851,6 +856,8 @@ typedef enum {
851856 ImGuiStyleVar_ImageBorderSize ,
852857 ImGuiStyleVar_TabRounding ,
853858 ImGuiStyleVar_TabBorderSize ,
859+ ImGuiStyleVar_TabMinWidthBase ,
860+ ImGuiStyleVar_TabMinWidthShrink ,
854861 ImGuiStyleVar_TabBarBorderSize ,
855862 ImGuiStyleVar_TabBarOverlineSize ,
856863 ImGuiStyleVar_TableAngledHeadersAngle ,
@@ -1078,6 +1085,8 @@ struct ImGuiStyle
10781085 float ImageBorderSize ;
10791086 float TabRounding ;
10801087 float TabBorderSize ;
1088+ float TabMinWidthBase ;
1089+ float TabMinWidthShrink ;
10811090 float TabCloseButtonMinWidthSelected ;
10821091 float TabCloseButtonMinWidthUnselected ;
10831092 float TabBarBorderSize ;
@@ -1148,6 +1157,7 @@ struct ImGuiIO
11481157 bool ConfigViewportsNoTaskBarIcon ;
11491158 bool ConfigViewportsNoDecoration ;
11501159 bool ConfigViewportsNoDefaultParent ;
1160+ bool ConfigViewportPlatformFocusSetsImGuiFocus ;
11511161 bool ConfigDpiScaleFonts ;
11521162 bool ConfigDpiScaleViewports ;
11531163 bool MouseDrawCursor ;
@@ -1647,7 +1657,8 @@ struct ImFontBaked
16471657 float Ascent , Descent ;
16481658 unsigned int MetricsTotalSurface :26 ;
16491659 unsigned int WantDestroy :1 ;
1650- unsigned int LockLoadingFallback :1 ;
1660+ unsigned int LoadNoFallback :1 ;
1661+ unsigned int LoadNoRenderOnLayout :1 ;
16511662 int LastUsedFrame ;
16521663 ImGuiID BakedId ;
16531664 ImFont * ContainerFont ;
@@ -2307,11 +2318,11 @@ typedef enum {
23072318 ImGuiInputEventType_COUNT
23082319}ImGuiInputEventType ;
23092320typedef enum {
2310- ImGuiInputSource_None = 0 ,
2311- ImGuiInputSource_Mouse ,
2312- ImGuiInputSource_Keyboard ,
2313- ImGuiInputSource_Gamepad ,
2314- ImGuiInputSource_COUNT
2321+ ImGuiInputSource_None = 0 ,
2322+ ImGuiInputSource_Mouse = 1 ,
2323+ ImGuiInputSource_Keyboard = 2 ,
2324+ ImGuiInputSource_Gamepad = 3 ,
2325+ ImGuiInputSource_COUNT = 4 ,
23152326}ImGuiInputSource ;
23162327typedef struct ImGuiInputEventMousePos ImGuiInputEventMousePos ;
23172328struct ImGuiInputEventMousePos
@@ -3008,6 +3019,7 @@ struct ImGuiContext
30083019 bool ActiveIdHasBeenEditedBefore ;
30093020 bool ActiveIdHasBeenEditedThisFrame ;
30103021 bool ActiveIdFromShortcut ;
3022+ ImGuiID ActiveIdDisabledId ;
30113023 int ActiveIdMouseButton : 8 ;
30123024 ImVec2 ActiveIdClickOffset ;
30133025 ImGuiWindow * ActiveIdWindow ;
@@ -3461,6 +3473,7 @@ struct ImGuiTabBar
34613473 int CurrFrameVisible ;
34623474 int PrevFrameVisible ;
34633475 ImRect BarRect ;
3476+ float BarRectPrevWidth ;
34643477 float CurrTabsContentsHeight ;
34653478 float PrevTabsContentsHeight ;
34663479 float WidthAllTabs ;
@@ -3479,6 +3492,7 @@ struct ImGuiTabBar
34793492 bool WantLayout ;
34803493 bool VisibleTabWasSubmitted ;
34813494 bool TabsAddedNew ;
3495+ bool ScrollButtonEnabled ;
34823496 ImS16 TabsActiveCount ;
34833497 ImS16 LastTabItemIdx ;
34843498 float ItemSpacingY ;
@@ -4668,7 +4682,7 @@ CIMGUI_API const char* igImParseFormatTrimDecorations(const char* format,char* b
46684682CIMGUI_API void igImParseFormatSanitizeForPrinting (const char * fmt_in ,char * fmt_out ,size_t fmt_out_size );
46694683CIMGUI_API const char * igImParseFormatSanitizeForScanning (const char * fmt_in ,char * fmt_out ,size_t fmt_out_size );
46704684CIMGUI_API int igImParseFormatPrecision (const char * format ,int default_value );
4671- CIMGUI_API const char * igImTextCharToUtf8 (char out_buf [5 ],unsigned int c );
4685+ CIMGUI_API int igImTextCharToUtf8 (char out_buf [5 ],unsigned int c );
46724686CIMGUI_API int igImTextStrToUtf8 (char * out_buf ,int out_buf_size ,const ImWchar * in_text ,const ImWchar * in_text_end );
46734687CIMGUI_API int igImTextCharFromUtf8 (unsigned int * out_char ,const char * in_text ,const char * in_text_end );
46744688CIMGUI_API int igImTextStrFromUtf8 (ImWchar * out_buf ,int out_buf_size ,const char * in_text ,const char * in_text_end ,const char * * in_remaining );
@@ -4989,6 +5003,7 @@ CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(const ImVec2 mouse_pos);
49895003CIMGUI_API void igFindHoveredWindowEx (const ImVec2 pos ,bool find_first_and_in_any_viewport ,ImGuiWindow * * out_hovered_window ,ImGuiWindow * * out_hovered_window_under_moving_window );
49905004CIMGUI_API void igStartMouseMovingWindow (ImGuiWindow * window );
49915005CIMGUI_API void igStartMouseMovingWindowOrNode (ImGuiWindow * window ,ImGuiDockNode * node ,bool undock );
5006+ CIMGUI_API void igStopMouseMovingWindow (void );
49925007CIMGUI_API void igUpdateMouseMovingWindowNewFrame (void );
49935008CIMGUI_API void igUpdateMouseMovingWindowEndFrame (void );
49945009CIMGUI_API ImGuiID igAddContextHook (ImGuiContext * context ,const ImGuiContextHook * hook );
@@ -5045,7 +5060,7 @@ CIMGUI_API void igSetLastItemData(ImGuiID item_id,ImGuiItemFlags item_flags,ImGu
50455060CIMGUI_API void igCalcItemSize (ImVec2 * pOut ,ImVec2 size ,float default_w ,float default_h );
50465061CIMGUI_API float igCalcWrapWidthForPos (const ImVec2 pos ,float wrap_pos_x );
50475062CIMGUI_API void igPushMultiItemsWidths (int components ,float width_full );
5048- CIMGUI_API void igShrinkWidths (ImGuiShrinkWidthItem * items ,int count ,float width_excess );
5063+ CIMGUI_API void igShrinkWidths (ImGuiShrinkWidthItem * items ,int count ,float width_excess , float width_min );
50495064CIMGUI_API const ImGuiStyleVarInfo * igGetStyleVarInfo (ImGuiStyleVar idx );
50505065CIMGUI_API void igBeginDisabledOverrideReenable (void );
50515066CIMGUI_API void igEndDisabledOverrideReenable (void );
0 commit comments