ocornut
|
e83fb468c6
|
Renamed PushAllowKeyboardFocus()/PopAllowKeyboardFocus() to PushTabStop()/PopTabStop(). (#3092)
|
2023-03-09 18:53:57 +01:00 |
|
ocornut
|
3b2f617652
|
BeginTooltip: Added 'bool' return value to BeginTooltip() for API consistency. Updated demo.
Add SetWindowHiddendAndSkipItemsForCurrentFrame().
|
2023-03-09 15:16:40 +01:00 |
|
ocornut
|
bfce7750b1
|
Simpified code in GetKeyData() and used ImGuiKey_KeysData_OFFSET for consistency. Rework demo, Comments. Moved ImGuiKey_KeysData_OFFSET to internal.h (#4921, #6191)
|
2023-02-24 13:05:32 +01:00 |
|
ocornut
|
a1b8457cb5
|
Moved the optional "courtesy maths operators" (#define IMGUI_DEFINE_MATH_OPERATORS) implementation from imgui_internal.h in imgui.h. (#6164, #6137, #5966, #2832)
|
2023-02-15 19:23:12 +01:00 |
|
ocornut
|
204cb4d226
|
Version 1.89.4 WIP
|
2023-02-15 15:35:56 +01:00 |
|
ocornut
|
458a109031
|
Version 1.89.3
|
2023-02-14 16:00:18 +01:00 |
|
ocornut
|
99c0bd65df
|
Added SeparatorText() widget. (#1643)
|
2023-02-10 12:16:41 +01:00 |
|
ocornut
|
ce6e6da510
|
Examples: Made example_sdl_opengl3 and example_glfw_opengl3 build with Emscripten. Removed dedicated examples. (#2492, #2494, #3699, #3705)
|
2023-02-02 18:08:17 +01:00 |
|
ocornut
|
3617a96372
|
Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463)
Documented assumptions.
|
2023-02-01 21:29:08 +01:00 |
|
nahkhiir
|
2efebe3315
|
ShowFontAtlas, Demo: optionally use style text color for tint. (#6129)
|
2023-01-31 18:12:42 +01:00 |
|
ocornut
|
259560aa26
|
Demo: moved sections around in prevision for adding nicer separators.
|
2023-01-27 19:05:33 +01:00 |
|
ocornut
|
482ac70a0b
|
Version 1.89.3 WIP
|
2023-01-11 15:52:30 +01:00 |
|
ocornut
|
d7c8516a4b
|
Version 1.89.2
|
2023-01-05 15:49:29 +01:00 |
|
ocornut
|
e06bbe05e1
|
Revert most/part of "Shortcut: added Shortcut() function and ImGuiInputFlags in public API + Demo." (#456, #2637)
This reverts commit 0949acb6e6 .
# Conflicts:
# imgui.h
|
2023-01-05 15:21:48 +01:00 |
|
ocornut
|
156e0a8070
|
Demo: amend Selectable() + BeginPopupContextItem() demo to maintain and update selection state when popup is open. (#6032)
|
2023-01-02 18:01:57 +01:00 |
|
ocornut
|
317b33d647
|
Tables: fixed matching width of synchronized tables when only some (not all) instances have a vertical scrollbar. (#5920)
|
2022-12-08 20:06:26 +01:00 |
|
ocornut
|
0949acb6e6
|
Shortcut: added Shortcut() function and ImGuiInputFlags in public API + Demo. (#456, #2637)
|
2022-12-08 18:54:41 +01:00 |
|
ocornut
|
48215231f9
|
Demo: moved WantCapture overrides items + various comments related to ImGuiKey, ImGuiMod
|
2022-12-08 18:30:48 +01:00 |
|
ocornut
|
45736443be
|
Debug Tools: Metrics: added "Inputs" section, moved from Demo for consistency.
|
2022-11-30 20:14:52 +01:00 |
|
ocornut
|
bd96f6eac4
|
Text: Fixed layouting of wrapped-text block when the last source line is above the clipping region. Regression added in 1.89. (#5720, #5919)
+ Update version marker
|
2022-11-28 14:59:13 +01:00 |
|
ocornut
|
a8df192df0
|
Version 1.89.1
|
2022-11-24 21:24:33 +01:00 |
|
ocornut
|
5bb2874940
|
Version 1.89.1 WIP
|
2022-11-16 17:55:27 +01:00 |
|
ocornut
|
81160fee56
|
Version 1.89
+ fix warning from a582d92
|
2022-11-15 15:20:36 +01:00 |
|
ocornut
|
7380b9816e
|
Scrolling: Exposed SetNextWindowScroll() in public API. (#1526)
|
2022-11-09 17:03:07 +01:00 |
|
ocornut
|
1eac0024c0
|
InputText: copy and select all shortcuts don't need repeat (tho it was harmless0
|
2022-11-03 18:33:43 +01:00 |
|
ocornut
|
e3fa56ae05
|
BeginMenu(): Menus: Fixed a one-frame issue where SetNextWindowXXX data are not consumed by a BeginMenu().
+ Shallow tweaks to reduce diff of future branches. Removing early return also facilitate some changes.
|
2022-10-19 14:12:04 +02:00 |
|
ocornut
|
5c4426c5b8
|
Demo: Fixed Log & Console from losing scrolling position with Auto-Scroll when child is clipped. (#5721)
|
2022-09-28 12:22:44 +02:00 |
|
ocornut
|
c261dac02f
|
Demo: moved ShowUserGuide() lower in the file, to make main demo entry point more visible + fix using IMGUI_DEBUG_LOG() macros in if/else.
|
2022-09-26 14:56:36 +02:00 |
|
ocornut
|
85f327d8d3
|
InputText: added ImGuiInputTextFlags_EscapeClearsAll (#5688)
|
2022-09-21 16:23:44 +02:00 |
|
ocornut
|
4b522e145c
|
Experiment: ImGuiKey is now a typed enum, allowing ImGuiKey_XXX symbols to be named in debuggers. (#4921, #4537)
May affect binding generators.
|
2022-09-20 12:42:29 +02:00 |
|
tocic
|
2b1d8e3eaf
|
Fix more typos in sources and docs (#5681)
|
2022-09-14 20:36:45 +02:00 |
|
ocornut
|
44e3ba115a
|
Demo: moved "Mouse Cursors" section. moved "Filtering" section.
|
2022-09-14 20:18:23 +02:00 |
|
tocic
|
6c3c9cea7f
|
Fix typos in source comments (#5675)
|
2022-09-13 11:09:34 +02:00 |
|
ocornut
|
2569c64740
|
Demo: Improved "Constrained-resizing window" example, more clearly showcase aspect-ratio. (#5627, #5618)
|
2022-09-01 11:13:39 +02:00 |
|
ocornut
|
e13913ed57
|
IsItemHovered: Added ImGuiHoveredFlags_DelayNormal, ImGuiHoveredFlags_DelayShort, ImGuiHoveredFlags_NoSharedDelay. (#1485)
IsItemHovered() can't have a non-zero default, but higher-level tooltip helpers may enable a different default later.
|
2022-08-24 21:32:13 +02:00 |
|
ocornut
|
ef6ba0d846
|
Misc: allowing override of IM_TABSIZE (#5593)
|
2022-08-20 19:54:57 +02:00 |
|
ocornut
|
4a2ae06ca4
|
Changed signature of ImageButton() function: Added 'const char* str_id' parameter + removed 'int frame_padding = -1' parameter. (#5533, #4471, #2464, #1390).
Also removed frame_padding parameter from ImageButtonEx(), amend e0ec69d8 .
|
2022-08-03 21:04:33 +02:00 |
|
ocornut
|
8b8a61bdf9
|
Removed io.NavInputs[] and ImGuiNavInput enum. Kept inline redirection code. (#4921, #4858, #787, #1599, #323)
|
2022-07-08 16:02:07 +02:00 |
|
ocornut
|
a7a25ee19d
|
Tools: Item Picker: Mouse button can be changed by holding Ctrl+Shift. (#2673)
|
2022-07-07 14:18:08 +02:00 |
|
ocornut
|
92d0924b82
|
Fixed build with IMGUI_DISABLE_OBSOLETE_KEYIO + made all examples comments refer to StyleColorsLight().
|
2022-07-06 20:58:20 +02:00 |
|
ocornut
|
609b935a8c
|
InputText: added experimental io.ConfigInputTextEnterKeepActive feature to make pressing Enter keep the input active and select all text.
|
2022-06-30 15:47:54 +02:00 |
|
ocornut
|
24dfe6db8a
|
Version 1.89 WIP
|
2022-06-27 16:55:55 +02:00 |
|
ocornut
|
9aae45eb4a
|
Version 1.88
(fix "Show Debug Log" checkbox in Metrics window)
|
2022-06-21 18:11:50 +02:00 |
|
ocornut
|
07efd7cc20
|
Renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS.
|
2022-06-15 16:02:55 +02:00 |
|
ocornut
|
1d6e34f3f9
|
Debug: Added ShowDebugLogWindow().
Internal: renamed old IMGUI_DEBUG_LOG() to IMGUI_DEBUG_PRINT().
Amended once.
|
2022-06-13 19:05:55 +02:00 |
|
Rokas Kupstys
|
0b1bcfcc20
|
Menus: Separate menu sets by nav layer. (#3496, #4797) + Demo: Remove incorrect and useless suggestion to use PushID().
Fixes a common case where opening menu in one nav layer and hovering a menu in another nav layer would open that menu without a click.
|
2022-06-08 17:17:54 +02:00 |
|
ocornut
|
74f02703e6
|
Misc comments + Demo: use IsItemVisible() when using direct ImDrawList calls.
|
2022-06-07 11:48:05 +02:00 |
|
JJCUBER
|
17b8c3b6ea
|
Demo: Removed redundant window flag (#5367)
|
2022-06-02 14:32:43 +02:00 |
|
ocornut
|
ae2fb557f3
|
Docs: Update templates with link to Contributing guidelines. Add numerical version number in demo. Moved. (#5337)
|
2022-05-23 14:43:04 +02:00 |
|
ocornut
|
7bf07d2526
|
Renamed CaptureMouseFromApp() and CaptureKeyboardFromApp() to SetNextFrameWantCaptureMouse() and SetNextFrameWantCaptureKeyboard(). Added demo. (#5304, #4831, #4480, #533)
|
2022-05-23 11:22:46 +02:00 |
|
ocornut
|
5b29d14783
|
Layout: Fixed mixing up SameLine() and SetCursorPos() together. SameLine() is a stateful.
+ minor unrelatedcomments.
|
2022-04-22 17:48:06 +02:00 |
|
ocornut
|
eda7792b15
|
Internals: swapped blocks in TextEx() to make it easier to step through common cases. Tweak demo.
|
2022-04-14 18:36:27 +02:00 |
|
David Maas
|
937d073328
|
Updated comment about Edit.NavigateTo to Edit.GoToAll. (#5179)
This command was renamed in Visual Studio 2017.
|
2022-04-11 17:11:51 +02:00 |
|
ocornut
|
a472e8834b
|
InputScalar: Automatically allow hexadecimal/scientific input when format is adequate.
|
2022-04-05 15:13:37 +02:00 |
|
ocornut
|
508c9aaf60
|
Sliders, Drags: Fixed using hexadecimal display format strings (pretty much never worked). (#5165, #3133)
Ditched unnecessary code. When transitioning from float in 3e8087458 we added an unnecessary path there, which evolved in c5fb92955 .
|
2022-04-04 14:43:30 +02:00 |
|
ocornut
|
fd06ed833b
|
Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104)
|
2022-03-13 17:57:32 +07:00 |
|
ocornut
|
5659db5529
|
IO: Fixed backward-compatibility accesses to io.KeysDown[]. (#4921, #4858)
+ Snuck in unrelated comments and removed the "fill once" comment (#5043)
|
2022-02-21 21:31:01 +01:00 |
|
ocornut
|
dca527be1b
|
Clipper: Assert on extraneous calls to Step(). (#4822) + Demo tweak.
|
2022-02-18 18:40:43 +01:00 |
|
ocornut
|
88de982071
|
Version 1.88 WIP
|
2022-02-08 14:45:26 +01:00 |
|
ocornut
|
c71a50deb5
|
Version 1.87
|
2022-02-07 18:16:54 +01:00 |
|
ocornut
|
8555335935
|
Shallow alignment of ImGuiKey stuff + moving some in internals. Internals: add offset to ImBitArray<>, simpify ActiveIdUsingKeyInputMask.
|
2022-01-25 18:11:34 +01:00 |
|
ocornut
|
b17b2fb732
|
Popups: Fixed an issue when reopening a same popup multiple times would offset them by 1 pixel on the right. (#4936)
Passing explicit ImGuiPopupFlags_MouseButtonRight to OpenPopupOnItemClick() calls somehow document the unusual (due to legacy) default value.
|
2022-01-24 13:24:54 +01:00 |
|
thedmd
|
c2db4c2462
|
Demo: draw a section of keyboard in "Inputs > Keyboard, Gamepad & Navigation state" to visualize keys.
|
2022-01-21 15:25:23 +01:00 |
|
ocornut
|
39c3412f91
|
Backends: SDL: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787)
|
2022-01-20 17:25:31 +01:00 |
|
ocornut
|
f33bb99821
|
IO: added AddKeyAnalogEvent() and support for ImGuiKey_GamepadXXXX. (#4858, #787)
|
2022-01-20 17:24:52 +01:00 |
|
ocornut
|
7ad42ff431
|
IO: renamed io.ConfigInputEventQueue to io.ConfigInputTrickleEventQueue. (#4858)
|
2022-01-19 18:45:57 +01:00 |
|
ocornut
|
97b1ffcb3b
|
IO: Reorder enums, compact a little in header. Removed const from internal GetKeyData().
|
2022-01-19 15:42:27 +01:00 |
|
ocornut
|
91ae56af45
|
Removed support for legacy arithmetic operators (+*/) when inputing text into a slider/drag. (#4917, #3184)
|
2022-01-19 15:10:42 +01:00 |
|
ocornut
|
7374b96f5c
|
IO: Added input queue. (#4858, #2787, #1992, #3383, #2525, #1320)
|
2022-01-17 17:36:55 +01:00 |
|
ocornut
|
eb823655af
|
Removed support for pre-C++11 compilers. We'll stop supporting VS2010. (#4537)
Build all
|
2022-01-17 11:54:11 +01:00 |
|
Bertie Wheen
|
96186a93b9
|
Typo correction in imgui_demo.cpp (#4892)
|
2022-01-12 14:12:25 +01:00 |
|
ocornut
|
bf08c13e9b
|
Inputs: Extra Keys / AddKeyEvent(): bidirectional mapping, basic CI, simplify backends, asserts on misuses, tested backward compat. (#2625, #4858, #2787)
(edit: simplified backends merged into previous commits to make history clearer)
|
2022-01-10 15:09:56 +01:00 |
|
thedmd
|
3b66929301
|
Inputs: Extra Keys / AddKeyEvent(): Added ImGuiKey values, io.AddKeyEvent(), GetKeyName(), IMGUI_DISABLE_OBSOLETE_KEYIO. Obsoleted GetKeyIndex(), io.KeyMap[], io.KeysDown[]. (#2625, #4858, #2787)
|
2022-01-10 15:09:56 +01:00 |
|
ocornut
|
89a28209e8
|
Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830)
|
2021-12-26 20:02:02 +01:00 |
|
ocornut
|
512c54bbc0
|
Version 1.86
|
2021-12-22 15:31:13 +01:00 |
|
ocornut
|
48f263336b
|
Menus: fixed closing a menu inside a popup/modal. Fixed menu inside a popup/modal not inhibiting hovering of items in the popup/modal. (#3496, #4797)
Fixed sub-menu items inside a popups from closing the popup (debatable).
|
2021-12-14 16:54:23 +01:00 |
|
ocornut
|
78c6435dbb
|
Inputs: (breaking wip) removed IsMouseTripleClicked() added recently (during 1.86 WIP), replaced with GetMouseClickedCount(). (#3229)
|
2021-12-03 12:38:58 +01:00 |
|
ocornut
|
c5db276521
|
InputText, Nav: fixed tabbing through InputTextMultiline(). (#4761, #3092)
Messy... Broken by 66f0fb9 . Added ImGuiItemFlags_NoTabStop to EndGroup() ahead of time (not strictly needed here).
|
2021-11-30 15:17:18 +01:00 |
|
Pascal Thomet
|
7cd3cfa58a
|
Demo: Add IMGUI_DEMO_MARKER (currently unused, but usage by altering GImGuiDemoMarkerCallback) (#3689)
Various amends/renames. (Amend to fix a warning)
|
2021-11-10 13:09:50 +01:00 |
|
ocornut
|
8ce23b3ccd
|
Nav: Ctrl+tabbing to cycle through windows is now enabled regardless of _NavEnableKeyboard. (#4023, #767)
|
2021-11-08 17:41:36 +01:00 |
|
ocornut
|
0f2898ea88
|
Demo: Tree selection demo use !IsItemToggledOpen() (#1896) + update FAQ (#4366)
|
2021-10-25 18:38:56 +02:00 |
|
ocornut
|
9c78fc928a
|
Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. (#3229)
|
2021-10-25 14:30:20 +02:00 |
|
Chris Savoie
|
2318c764cf
|
Inputs: Mouse: Add support for tracking multiple clicks more than just double (#3229)
|
2021-10-25 14:30:17 +02:00 |
|
ocornut
|
e3bd9434b1
|
1.86 WIP + internals: tweaks table temp data code.
|
2021-10-14 16:58:14 +02:00 |
|
ocornut
|
55d35d8387
|
Version 1.85
|
2021-10-11 19:24:25 +02:00 |
|
ocornut
|
2de96c4bd5
|
Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). (#4631)
|
2021-10-06 17:47:27 +02:00 |
|
ocornut
|
fc4988ffb0
|
Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527)
|
2021-09-24 15:39:38 +02:00 |
|
ocornut
|
7b8bc864e9
|
Menus: Fixed vertical alignments of MenuItem() calls within a menu bar. (broken by f8fae022 ). (#4538)
|
2021-09-14 11:09:39 +02:00 |
|
Filippo Crocchini
|
eb6c16d3dd
|
PlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. (#4349)
+ amended demo tweaks by ocornut
|
2021-08-31 13:14:43 +02:00 |
|
ocornut
|
4aea1c5adb
|
IO: added io.WantCaptureMouseAllowPopupClose (#4480) + comments
|
2021-08-30 19:11:47 +02:00 |
|
ocornut
|
e23bee353c
|
Removed GetWindowContentRegionWidth() function
|
2021-08-23 16:15:16 +02:00 |
|
ocornut
|
0649f750b4
|
Version 1.85 WIP
|
2021-08-23 15:31:06 +02:00 |
|
ocornut
|
d2ffbd9b86
|
Version 1.84
Fix PVS Studio false positive //-V1020
Fix missing #ifndef for IMGUI_IMPL_OPENGL_LOADER_CUSTOM path
|
2021-08-20 18:03:55 +02:00 |
|
ocornut
|
c543d93af1
|
Expose BeginDisabled()/EndDisabled() in public API. Add to demo. (#211)
|
2021-08-20 16:34:43 +02:00 |
|
ocornut
|
b380d3abe3
|
Backends: OpenGL3: Clarify use of GL_POLYGON_MODE.
|
2021-08-17 15:16:29 +02:00 |
|
ocornut
|
ba1c8464ef
|
Internals: Removed ImGuiButtonFlags_Disabled (which had inconsistent behavior) in favor of ImGuiItemFlags_Disabled. Selectable()'s ImGuiSelectableFlags_Disabled now uses the later. (#211)
|
2021-07-09 19:54:37 +02:00 |
|
ocornut
|
3512f2c2c2
|
Internals: Menus: minor tidying up + renaming in ImGuiMenuColumns + removing extraneous offset field which is always zero + using smaller types.
sizeof() 36 -> 20
|
2021-07-07 20:16:55 +02:00 |
|
ocornut
|
b5a2bd1a5b
|
Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys().
No need to clear fields before deletion. DX12: renamed to match docking branch.
|
2021-06-29 15:25:19 +02:00 |
|
ocornut
|
1965f38e9e
|
ImGuiWindowFlags_UnsavedDocument/ImGuiTabItmeFlags_UnsavedDocument display a dot instead of a '*'.
|
2021-06-24 14:30:32 +02:00 |
|
ocornut
|
f0c4d609a6
|
Default window focus scope not 0. Added ImGuiSelectableFlags_SelectOnNav with comments and caveats. (#1861, #4242,)
Focus scope default value: amend 7ee623d9 a5041c88 2ebe08be
|
2021-06-21 17:47:45 +02:00 |
|