mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Version 1.89.2
This commit is contained in:
parent
e06bbe05e1
commit
d7c8516a4b
@ -32,16 +32,13 @@ HOW TO UPDATE?
|
|||||||
|
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
VERSION 1.89.2 WIP (In Progress)
|
VERSION 1.89.2 (Released 2023-01-05)
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
|
||||||
Breaking changes:
|
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.89.2
|
||||||
|
|
||||||
Other changes:
|
Other changes:
|
||||||
|
|
||||||
- Fixed cases where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with
|
|
||||||
zero triangles, which would makes the render loop of some backends assert (e.g. Metal with
|
|
||||||
debugging, Allegro). (#4857, #5937)
|
|
||||||
- Tables, Nav, Scrolling: fixed scrolling functions and focus tracking with frozen rows and
|
- Tables, Nav, Scrolling: fixed scrolling functions and focus tracking with frozen rows and
|
||||||
frozen columns. Windows now have a better understanding of outer/inner decoration sizes,
|
frozen columns. Windows now have a better understanding of outer/inner decoration sizes,
|
||||||
which should later lead us toward more flexible uses of menu/status bars. (#5143, #3692)
|
which should later lead us toward more flexible uses of menu/status bars. (#5143, #3692)
|
||||||
@ -49,6 +46,9 @@ Other changes:
|
|||||||
- Tables, Columns: fixed cases where empty columns may lead to empty ImDrawCmd. (#4857, #5937)
|
- Tables, Columns: fixed cases where empty columns may lead to empty ImDrawCmd. (#4857, #5937)
|
||||||
- Tables: fixed matching width of synchronized tables (multiple tables with same id) when only
|
- Tables: fixed matching width of synchronized tables (multiple tables with same id) when only
|
||||||
some instances have a vertical scrollbar and not all. (#5920)
|
some instances have a vertical scrollbar and not all. (#5920)
|
||||||
|
- Fixed cases where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with
|
||||||
|
zero triangles, which would makes the render loop of some backends assert (e.g. Metal with
|
||||||
|
debugging, Allegro). (#4857, #5937)
|
||||||
- Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of
|
- Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of
|
||||||
compile-time, being consistent with our support for io.ConfigMacOSXBehaviors and making it
|
compile-time, being consistent with our support for io.ConfigMacOSXBehaviors and making it
|
||||||
easier for bindings generators to process that value. (#5923, #456)
|
easier for bindings generators to process that value. (#5923, #456)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (main code and documentation)
|
// (main code and documentation)
|
||||||
|
|
||||||
// Help:
|
// Help:
|
||||||
|
12
imgui.h
12
imgui.h
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (headers)
|
// (headers)
|
||||||
|
|
||||||
// Help:
|
// Help:
|
||||||
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
// Library Version
|
// Library Version
|
||||||
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345')
|
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345')
|
||||||
#define IMGUI_VERSION "1.89.2 WIP"
|
#define IMGUI_VERSION "1.89.2"
|
||||||
#define IMGUI_VERSION_NUM 18918
|
#define IMGUI_VERSION_NUM 18920
|
||||||
#define IMGUI_HAS_TABLE
|
#define IMGUI_HAS_TABLE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -255,8 +255,8 @@ struct ImVec2
|
|||||||
float x, y;
|
float x, y;
|
||||||
constexpr ImVec2() : x(0.0f), y(0.0f) { }
|
constexpr ImVec2() : x(0.0f), y(0.0f) { }
|
||||||
constexpr ImVec2(float _x, float _y) : x(_x), y(_y) { }
|
constexpr ImVec2(float _x, float _y) : x(_x), y(_y) { }
|
||||||
float operator[] (size_t idx) const { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine.
|
float operator[] (size_t idx) const { IM_ASSERT(idx == 0 || idx == 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine.
|
||||||
float& operator[] (size_t idx) { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine.
|
float& operator[] (size_t idx) { IM_ASSERT(idx == 0 || idx == 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine.
|
||||||
#ifdef IM_VEC2_CLASS_EXTRA
|
#ifdef IM_VEC2_CLASS_EXTRA
|
||||||
IM_VEC2_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec2.
|
IM_VEC2_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec2.
|
||||||
#endif
|
#endif
|
||||||
@ -419,7 +419,7 @@ namespace ImGui
|
|||||||
IMGUI_API void PopTextWrapPos();
|
IMGUI_API void PopTextWrapPos();
|
||||||
|
|
||||||
// Style read access
|
// Style read access
|
||||||
// - Use the style editor (ShowStyleEditor() function) to interactively see what the colors are)
|
// - Use the ShowStyleEditor() function to interactively see/edit the colors.
|
||||||
IMGUI_API ImFont* GetFont(); // get current font
|
IMGUI_API ImFont* GetFont(); // get current font
|
||||||
IMGUI_API float GetFontSize(); // get current font size (= height in pixels) of current font with current scale applied
|
IMGUI_API float GetFontSize(); // get current font size (= height in pixels) of current font with current scale applied
|
||||||
IMGUI_API ImVec2 GetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API
|
IMGUI_API ImVec2 GetFontTexUvWhitePixel(); // get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (demo code)
|
// (demo code)
|
||||||
|
|
||||||
// Help:
|
// Help:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (drawing and font code)
|
// (drawing and font code)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (internal structures/api)
|
// (internal structures/api)
|
||||||
|
|
||||||
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
|
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (tables and columns code)
|
// (tables and columns code)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// dear imgui, v1.89.2 WIP
|
// dear imgui, v1.89.2
|
||||||
// (widgets code)
|
// (widgets code)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user