2e64ee050d
Removed duplicate typedef for ImGuiButtonFlags
ocornut2020-11-18 19:28:30 +01:00
71cc636696
Metrics: Rebranded as "Dear ImGui Metrics/Debugger". Fix Show Window Rectangle. Fix Clang OSX warnings. Amend #3592 for Mingw only.
ocornut2020-11-13 21:17:46 +01:00
e736039538
Nav: Fixed IsItemFocused() from returning false when Nav highlight is hidden because mouse has moved. (#787)
ocornut2020-11-13 20:59:59 +01:00
8119759329
Internals: extracted stack checking code into a ImGuiStackSizes helper struct + added test for FocusScope
ocornut2020-11-13 16:26:43 +01:00
6e94013a3d
Made ItemFlagsStack and GroupStack shared stacks.
ocornut2020-11-13 14:36:32 +01:00
12ba6f4606
Fix PushFocusScopeID() + using shared stack. Renamed GetFocusScopeID() to GetFocusedFocusScope() - the two existing functions name are very error prone.
ocornut2020-11-13 14:09:09 +01:00
a3e8dc3f34
CI: Fix deployment of PVS-Studio license + fix reported error.
Rokas Kupstysandocornut2020-11-13 12:07:32 +02:00
a138855d56
Hotfix for PushFocusScope() being utterly wrong (until we split the stacks), Added asserts on PopID to help catch bugs, Added GC trigger.
ocornut2020-11-12 21:12:05 +01:00
78f1d2d319
ImDrawListSplitter: create first draw cmd on demand + Internals: fix incorrect ImBitArraySetBitRange() (only used by tables)
ocornut2020-11-12 17:34:30 +01:00
7a135a763c
Fix format warnings when using gnu printf extensions in a setup that supports them (gcc/mingw). (#3592)
ocornut2020-11-12 11:56:04 +01:00
dcfb986fa8
Made EndFrame() assertion for key modifiers being unchanged during the frame more lenient. (#3575)
ocornut2020-11-11 18:07:29 +01:00
a3f79104df
Examples: Apple+Metal: Forward events to OS key combinations like CMD+Q can work. (#3554)
Rokas Kupstysandocornut2020-10-28 12:20:10 +02:00
6a0e85c561
Backends: Vulkan: Add override for the subpass to reference during VkPipeline creation. (#3579)
Brandon DeRosierandocornut2020-11-07 07:32:48 -08:00
61825c7735
Tab Bar: Fixed minor/unlikely bug skipping over a button when scrolling left with arrows + InputText: minor optimization.
ocornut2020-11-11 12:04:35 +01:00
2785ac0ee3
InputText: Fixed updating cursor/selection position when a callback alters the buffer in a way where the byte count is unchanged but the decoded character count changes. (#3587)
顾起威andocornut2020-11-11 11:35:47 +01:00
9cca1b2e97
Replace UTF-8 decoder with one based on branchless version by Christopher Wellons. (not branchless anymore tho)
Rokas Kupstysandocornut2020-11-03 14:32:44 +01:00
3777fbbd81
Renamed io.ConfigWindowsMemoryCompactTimer to io.ConfigMemoryCompactTimer as the feature will apply to other data structures.
ocornut2020-11-03 14:28:41 +01:00
047d4c4500
Metrics: Extracted most functions.
ocornut2020-10-30 23:02:54 +01:00
044ed22379
Metrics: Fixed mishandling of ImDrawCmd::VtxOffset in wireframe mesh renderer + omitting trailing empty ImDrawCmd in count + relying on IdxOffset value.
ocornut2020-10-30 22:40:44 +01:00
df35157397
Drag and Drop: Fix losing drop source ActiveID (and often source tooltip) when opening a TreeNode() or CollapsingHeader() while dragging. (#1738)
ocornut2020-10-26 14:40:44 +01:00
b7530e5d04
Revert "Replace UTF-8 decoder with branchless version by Christopher Wellons." (#3558)
ocornut2020-10-25 16:27:32 +01:00
b3576dd354
Replace UTF-8 decoder with branchless version by Christopher Wellons.
Rokas Kupstysandocornut2020-09-23 14:35:46 +03:00
e6b99a420b
Tab Bar: Do not display a tooltip if the name already fits over a given tab. (#3521)
ocornut2020-10-19 15:01:24 +02:00
fbe74ed50c
Tab Bar: zero clear more structures.
ocornut2020-10-19 12:10:31 +02:00
8c9b3c9013
Tab Bar: Fixed using more than 128 tabs in a tab bar.
ocornut2020-10-19 11:51:38 +02:00
748bd1ba9c
Tab Bar: Restore cursor position in EndTabBar() when amending (amend f2f32602) + made LastTabItemIdx consistent ImS8 as other tab storage relies on same type
ocornut2020-10-19 11:32:53 +02:00
c9fafd5ea4
Drag and Drop: Fix drag and drop to tie same-size drop targets by choosen the later one. Fixes dragging into a full-window-sized dockspace inside a zero-padded window. (#3519, #2717)
Black Cat!andocornut2020-10-10 17:39:06 +04:00
d015004f45
Rename colored>color in comments where possible (#3528)
ocornut2020-10-15 20:05:35 +02:00
127f132447
Backends: OpenGL3: Add compatibility of GL_VERSION for GL 2.x (#3530)
xndcnandocornut2020-10-15 11:39:08 +08:00
f2f326024c
Tab Bar: Made it possible to append to an existing tab bar by calling BeginTabBar()/EndTabBar() again.
ocornut2020-10-14 18:34:33 +02:00
b1a18d82e3
Moving backends code from examples/ to backends/ (step 6: update markdown documentation)
ocornut2020-10-14 12:22:53 +02:00
a2a3d80f04
Moving backends code from examples/ to backends/ (step 5: move documentation to MD files)
ocornut2020-10-14 11:44:09 +02:00
a2d845f9dd
Moving backends code from examples/ to backends/ (step 4: update documentation, much improvement)
ocornut2020-10-12 18:57:04 +02:00
a7e21fb05f
Moving backends code from examples/ to backends/ (step 3: fixing project files)
ocornut2020-10-12 15:41:57 +02:00
428f4fce70
Moving backends code from examples/ to backends/ (step 2: moving vulkan cruft)
ocornut2020-10-12 15:51:41 +02:00
d9b2fb7338
Moving backends code from examples/ to backends/ (step 1: moving source files)
ocornut2020-10-12 15:22:06 +02:00
124c2608f1
Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency.
ocornut2020-10-12 17:34:22 +02:00
041ef01b33
Removed redirecting functions/enums names that were marked obsolete in 1.61: InputFloat, InputFloat2, InputFloat3, InputFloat4 with int decimal_precision parameter. (#648, #712)
ocornut2020-10-12 15:08:43 +02:00
0f13fdd177
Removed redirecting functions/enums names that were marked obsolete in 1.60: io.RenderDrawListsFn, IsAnyWindowFocused(), IsAnyWindowHovered(), etc.
ocornut2020-10-12 13:13:09 +02:00
12d9505534
CheckboxFlags: Display mixed-value/tristate marker when passed flags that have multiple bits set and stored value matches neither zero neither the full set.
ocornut2020-10-07 15:13:04 +02:00
4fd43a8b64
Internals: removed NavLayerCurrentMask (redundant, add extra shift in ItemAdd().
ocornut2020-10-05 14:52:18 +02:00
014e5078a8
Demo: add a small easter egg when the 4x4 board of Selectable is filled + tweaked the demo.
ocornut2020-10-05 12:57:05 +02:00
01cc666039
ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using the ImGuiListClipper::Begin() function, with misleading edge cases.
ocornut2020-10-05 12:28:28 +02:00
52c0b1a340
ImGuiListClipper: internal rework and tidying up to facilitate supporting frozen rows in tables + stop promoting using constructors parameters.
ocornut2020-09-24 18:08:01 +02:00
1ec464eb9a
Tab Bar: Further simplification of section/clip rect handling. (#3291)
ocornut2020-09-22 16:14:04 +02:00
6b76781c66
Tab Bar: Tidying up. Rework ShrinkWidths to allow marking tabs as not shrinkable (unused yet) + don't unnecessarily move data within ShrinkWidthBuffer. (#3291)
ocornut2020-09-22 11:18:22 +02:00
f23c39c395
Tab Bar: Fixed handling of scrolling policy with leading/trailing tabs. + warning fixes + bunch of renaming. (#3291)
ocornut2020-08-27 15:16:16 +02:00
4a57a982be
Tab Bar: Added TabItemButton(), ImGuiTabItemFlags_Leading, ImGuiTabItemFlags_Trailing + demo. (#3291)
Louis Schnellbachandocornut2020-08-03 18:55:51 +02:00
29836412e1
Internals, CollapsingHeader, TabItem: Standardized using a #CLOSE id prefix for TabItem and ColllapsingHeader (same as window)
ocornut2020-09-22 15:49:47 +02:00
27d0c3afa9
Tab Bar: Fixed a small bug where scrolling buttons (with ImGuiTabBarFlags_FittingPolicyScroll) would generate an unnecessary extra draw call.
ocornut2020-09-21 19:46:44 +02:00
afc1099fb5
Tab Bar: Fixed a small bug where closing a tab that is not selected would leave a tab hole for a frame.
ocornut2020-09-21 18:52:12 +02:00
795cf6fcb5
Removed return value from OpenPopupOnItemClick(). Use IsWindowAppearing() after BeginPopup() for a similar result.
ocornut2020-09-21 15:05:04 +02:00
a58a727781
Renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting 99ab5210ocornut2020-09-21 12:02:19 +02:00