454f36d2af
Removed 'bool border' legacy versions of BeginChild() as they seemingly have no value other than confusing user and IDE.
ocornut2023-11-10 16:03:19 +01:00
44dbad64d7
Backends: Vulkan: Fixes for VK_NO_PROTOTYPES.
ocornut2023-11-10 15:10:27 +01:00
79a9e2fdfb
Backends: Vulkan: (Breaking) full font upload is performed by ImGui_ImplVulkan_CreateFontsTexture(), no need for user code to create or provide a command-buffer. Removed ImGui_ImplVulkan_DestroyFontUploadObjects(). (#6943, #6715, #6327, #3743, #4618)
ocornut2023-11-10 14:35:33 +01:00
ab522dd18c
Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. (#4537)
ocornut2023-11-09 16:44:39 +01:00
0f50b52da4
Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" instead of "libGL.so.1". (#6983)
ocornut2023-11-09 12:38:56 +01:00
5170a9d6dc
Tables: Internals: renamed TableDrawContextMenu() to TableDrawDefaultContextMenu() for clarify.
ocornut2023-11-09 12:22:35 +01:00
fea52e29aa
Tables: added flags to TableDrawContextMenu() in order to display selected sections + added internal table->DisableDefaultContextMenu = true way to submit your own contents.
ocornut2023-11-09 11:40:16 +01:00
0d3b468cb3
BeginChild(): added ImGuiChildFlags_AutoResizeX, ImGuiChildFlags_AutoResizeY, ImGuiChildFlags_AlwaysAutoResize + support for SetNextWindowSizeConstraints(). (#1666, #1395, #1496, #1710) + Demo
ocornut2023-10-17 17:39:56 +02:00
44345c2108
Better documented the difference between BeginListBox() and BeginChild() w/ ImGuiChildFlags_FrameStyle.
ocornut2023-11-07 20:14:54 +01:00
fa4c49b4a7
BeginChild(): resizing is only clamped on axis where there's no scrollbar. Added an extra ResizeX in Demo->Simple Layout.
ocornut2023-11-07 17:15:57 +01:00
7713c29258
BeginChild: Upgraded 'bool border = true' parameter to use a ImGuiChildFlags type and the ImGuiChildFlags_Border value. (toward #1666, #1496, #1395, #1710)
ocornut2023-10-18 18:50:19 +02:00
88fec09715
ColorPicker4(): Fixed ImGuiColorEditFlags_NoTooltip when ImGuiColorEditFlags_NoSidePreview is also set. (#6957)
ocornut2023-10-26 15:45:45 +02:00
8ee85137d8
BeginChild(): Internal name used by child windows now omits the hash/id if the child window is submitted in root of id stack of parent window.
ocornut2023-10-20 15:27:25 +02:00
4e4042bc33
Windows: tidying up skipitems logic at end of Begin(), normally should be no meaningful side-effect.
ocornut2023-10-20 15:12:29 +02:00
bc3c6e74e6
Windows: fixed double-clicked border from showing highlighted at the new position.
ocornut2023-10-19 17:40:32 +02:00
e2035a514c
Windows: shared code for CalcWindowMinSize().
ocornut2023-10-19 17:28:16 +02:00
c95fbb4464
Windows: Double-clicking bottom or right window border auto-resize on a singles axis.
ocornut2023-10-19 16:06:07 +02:00
ade2acfd1d
Inputs: Added IsKeyChordPressed() public helper function.
ocornut2023-10-19 14:44:24 +02:00
1b9cb52d7b
BeginChild(): rename parameters to reduce diff of upcoming patches.
ocornut2023-10-18 18:39:20 +02:00
f8dc03d702
Windows: Can also auto-resize by double-clicking lower-left resize grip (not only lower-right one).
ocornut2023-10-18 16:36:35 +02:00
d6d00b4fcf
Moved BeginChild() above BeginChildEx() as it is more readable.
ocornut2023-10-17 13:44:23 +02:00
99913b5051
Internals: added IsKeyChordPressed() for consistency.
ocornut2023-10-16 22:21:29 +02:00
a8bdbfddf9
Tables: Fixed top-most and left-most outer border overlapping inner clip-rect when scrolling. (#6765)
ocornut2023-10-16 21:41:36 +02:00
8db02ef8df
Tables: Fixed an issue with ScrollX enabled where an extraneous draw command would be created.
ocornut2023-10-16 21:33:51 +02:00
947255c3da
Tooltips: made it possible to use ImGuiHoveredFlags_ForTooltip + a ImGuiHoveredFlags_DelayXXXX override. (#1485)
ocornut2023-10-16 11:56:03 +02:00
1107bffe84
Popups: clarified meaning of 'p_open != NULL' in BeginPopupModal() + set back user value to false when popup is closed in ways other than clicking the close button. (#6900)
ocornut2023-10-05 17:45:31 +02:00
2f431a948c
IO: removed io.MetricsActiveAllocations introduced in 1.63. Same as 'g.DebugMemAllocCount - g.DebugMemFreeCount' (still displayed in Metrics.
ocornut2023-09-27 17:34:23 +02:00
456aa3bc0a
Menus: Fixed a bug where activating an item in a child-menu and dragging mouse over the parent-menu would erroneously close the child-menu. (#6869)
ocornut2023-09-27 16:34:31 +02:00
9ece0bdc02
BeginGroup(): Fixed a bug pushing line lower extent too far down when called after a call to SameLine() followed by manual cursor manipulation.
ocornut2023-09-26 21:07:25 +02:00
94da5842ef
Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). (#6861)
ocornut2023-09-26 11:04:45 +02:00
e5ca5351d5
TabBar: Fixed position of unsaved document marker (ImGuiTabItemFlags_UnsavedDocument) which was accidentally offset in 1.89.9. (#6862)
ocornut2023-09-25 20:40:01 +02:00
72ae6f5200
Fixed MousePosPrev with has never been valid outside of NewFrame().
ocornut2023-09-25 14:41:48 +02:00
12ee2dd789
Backends: Win32: Synthesize key-down event on key-up for VK_SNAPSHOT / ImGuiKey_PrintScreen as Windows doesn't emit it. (#6859)
ocornut2023-09-25 10:58:29 +02:00
d4869207e3
Misc: Most text functions also treat "%.*s" (along with "%s") specially to avoid formatting. (#3466, #6846)
ocornut2023-09-25 10:47:28 +02:00
daf49e9d82
Made ImFileOpen reuse a memory buffer so .ini saving doesn't allocate once every time. Added commented out MemAlloc/MemFree debug log.
ocornut2023-09-22 14:41:30 +02:00
d6360c1ba9
Fonts, imgui_freetype: Fixed a warning and leak in IMGUI_ENABLE_FREETYPE_LUNASVG support. (#6842, #6591)
ocornut2023-09-20 11:31:28 +02:00