1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-12 02:00:58 +01:00

Version 1.89.2

This commit is contained in:
ocornut 2023-01-05 15:29:17 +01:00
parent e06bbe05e1
commit d7c8516a4b
8 changed files with 17 additions and 17 deletions

View File

@ -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:
- 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
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)
@ -49,6 +46,9 @@ Other changes:
- 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
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
compile-time, being consistent with our support for io.ConfigMacOSXBehaviors and making it
easier for bindings generators to process that value. (#5923, #456)

View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (main code and documentation)
// Help:

12
imgui.h
View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (headers)
// Help:
@ -22,8 +22,8 @@
// Library Version
// (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_NUM 18918
#define IMGUI_VERSION "1.89.2"
#define IMGUI_VERSION_NUM 18920
#define IMGUI_HAS_TABLE
/*
@ -255,8 +255,8 @@ struct ImVec2
float x, y;
constexpr ImVec2() : x(0.0f), y(0.0f) { }
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) { 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 == 0 || idx == 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine.
#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.
#endif
@ -419,7 +419,7 @@ namespace ImGui
IMGUI_API void PopTextWrapPos();
// 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 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

View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (demo code)
// Help:

View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (drawing and font code)
/*

View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (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!

View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (tables and columns code)
/*

View File

@ -1,4 +1,4 @@
// dear imgui, v1.89.2 WIP
// dear imgui, v1.89.2
// (widgets code)
/*