ocornut
a725db17b7
Comments for flags discoverability + add to debug log ( #3795 , #4559 )
2 years ago
ocornut
325299f942
Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. ( #4468 , #4825 , #4832 , #5127 , #5655 , #5709 )
2 years ago
ocornut
56c3eaed20
ImDrawList: asserting on incorrect value for CurveTessellationTol ( #5713 )
2 years ago
ocornut
04316bd223
ColorEdit3: fixed id collision leading to an assertion. ( #5707 )
2 years ago
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.
2 years ago
ocornut
51bbc70652
Backends: SDL: Disable SDL 2.0.22 new "auto capture" which prevents drag and drop across windows, and don't capture mouse when drag and dropping. ( #5710 )
2 years ago
ocornut
7a9045dd77
Backends: WGPU: removed Emscripten version check (currently failing on CI, ensure why, and tbh its redundant/unnecessary with changes of wgpu api nowadays)
2 years ago
ocornut
83a0030c0a
Added ImGuiMod_Shortcut which is ImGuiMod_Super on Mac and ImGuiMod_Ctrl otherwise. ( #456 )
2 years ago
ocornut
fd408c9790
Renamed and merged keyboard modifiers key enums and flags into a same set:. ImGuiKey_ModXXX -> ImGuiMod_XXX and ImGuiModFlags_XXX -> ImGuiMod_XXX. ( #4921 , #456 )
Changed signature of GetKeyChordName() to use ImGuiKeyChord.
Additionally SetActiveIdUsingAllKeyboardKeys() doesn't set ImGuiKey_ModXXX but we never need/use those and the system will be changed in upcoming commits.
2 years ago
ocornut
f359dca0dc
Misc input related changes to facilitate upcoming merges.
2 years ago
ocornut
85f327d8d3
InputText: added ImGuiInputTextFlags_EscapeClearsAll ( #5688 )
2 years ago
ocornut
60ab8a94a7
InputText: fixed minor one-frame selection glitch when reverting with Escape + disable cursor rendering on revert frame. ( #3008 )
Amend bdbb2b21
, 83efdcec
2 years ago
ocornut
4b522e145c
Experiment: ImGuiKey is now a typed enum, allowing ImGuiKey_XXX symbols to be named in debuggers. ( #4921 , #4537 )
May affect binding generators.
2 years ago
ocornut
5c8041b4d7
Update gif in README + font names in examples
2 years ago
ocornut
2736af6b61
Minor optimization of ImFontAtlasBuildMultiplyRectAlpha8() + README tweaks.
2 years ago
Marc Auberer
efe4a3722d
Fix typo ( #5691 )
2 years ago
ocornut
1dd964f87d
Popups & Modals: Fix (amended) somehow undocumented Popup+Child behavior (useful for e.g. #718 , #4461 and probably other things)
(broken by 1c4066cd
)
2 years ago
ocornut
440f257688
Popups & Modals: fixed nested Begin() being erroneously input-inhibited. (useful for e.g. #718 , #4461 and probably other things)
2 years ago
ocornut
472f8013bd
Moved version number higher up in imgui.h to increase visibility
- This allow using version number in imconfig
- This technically makes the #ifdef IMGUI_VERSION check valid in case of using IMGUI_DISABLE
- This makes available IMGUI_VERSION/IMGUI_VERSION_NUM with IMGUI_DISABLE - bit of a harmless leak
2 years ago
tocic
2b1d8e3eaf
Fix more typos in sources and docs ( #5681 )
2 years ago
ocornut
44e3ba115a
Demo: moved "Mouse Cursors" section. moved "Filtering" section.
2 years ago
omar
673df61914
More compact README
2 years ago
ocornut
1816c5241b
Examples: updated VS projects with .natvis file under imgui/
2 years ago
omar
e8178bf8a4
Update README.md
2 years ago
Javier Marín
a0e1591ac2
Fix more typos ( #5679 )
2 years ago
tocic
6c3c9cea7f
Fix typos in source comments ( #5675 )
2 years ago
ocornut
091445a4a9
Examples: added all SDL examples to VS solution.
2 years ago
ocornut
513c1ba996
Removed the bizarre legacy default argument for 'TreePush(const void* ptr = NULL)' ( #1057 )
Followup to e605f2179
2 years ago
ocornut
cb48c81a44
Tabs: Fix initial tab state. Amend 3e6f948( ( #5572 )
Somehow this only triggers a failing test in docking branch.
2 years ago
ocornut
52d9ee0dc2
Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug (second fix). ( #5652 , #5262 )
Amend b137f31
2 years ago
ocornut
3e6f948851
Tabs: Enforcing minimum size of 1.0f, fixed asserting on zero-tab widths. ( #5572 )
Also fixed SetNextItemWidth(0.0f) not being consistent with tabs. (#5262 )
2 years ago
ocornut
b137f31b8c
Tabs: Fixed ShrinkWidths() redistribution of remainder leading to infinite bug + over redistribution. ( #5652 )
Amend c4b91017
2 years ago
ocornut
2171375f93
InputText: clarified that callbacks cannot modify buffer when using the ReadOnly flag.
2 years ago
tocic
9e7c0f985f
Fix typos in docs ( #5649 )
2 years ago
Constantine Tarasenkov
b87e58fab3
ImGui::InputText: added support for shift+click style selection. ( #5619 )
(Amend, force-push: sorry wrong edit by omar)
2 years ago
ocornut
fe62927bd8
Backends: OpenGL: Update comments. ( #4445 , #5642 , #4649 )
2 years ago
ocornut
9e1ccf8fab
Commented out redirecting functions/enums names that were marked obsolete in 1.77 and 1.78 (June 2020): ( #3361 )
- DragScalar(), DragScalarN(), DragFloat(), DragFloat2(), DragFloat3(), DragFloat4() with signature ending with (..., float power = 1.0f)
- SliderScalar(), SliderScalarN(), SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4() with signatures ending with (..., float power = 1.0f)
- BeginPopupContextWindow(const char*, ImGuiMouseButton, bool)
2 years ago
ocornut
edcd5b113e
Obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. ( #5548 )
This incorrect pattern has been mentioned or suggested in: #4510 , #3355 , #1760 , #1490 , #4152 , #150
2 years ago
scorpion-26
5867a43dc8
Backends: GLFW: Honor GLFW_CURSOR_DISABLED by not setting mouse position. ( #5625 )
2 years ago
ocornut
9445776d61
Nav: Fixed an issue opening a menu with Right key from a non-menu window.
2 years ago
ocornut
03fc9a0b17
Menus: Fixed gaps in closing logic. ( #5614 )
The _MenuBar test introduced in c2cb2a69
doesn't appear to be meaningful.
2 years ago
Rokas Kupstys
b3ea01d86f
Menus: Fix sub-menu inhibition stopping working in some cases. (Amend WIP) ( #2517 , #5614 , noticed in #5546 )
Amend bda2cde6
Fixes the case where following menu hover sequence results in incorrect RestoreNavWindow (previously SourceWindow) pointing to opened sub-menu:
1. Hover "Menu -> Options" - Open ##Menu_01 window
2. Hover "Menu -> Colors" - SourceWindow incorrectly points to ##Menu_01 window
2 years ago
ocornut
a502ceb075
Added commented out older obsolete names (1.42 to 1.52)
2 years ago
ocornut
2569c64740
Demo: Improved "Constrained-resizing window" example, more clearly showcase aspect-ratio. ( #5627 , #5618 )
2 years ago
ocornut
7f25143972
Better error reporting for PopStyleColor()/PopStyleVar() + easier to recover. ( #1651 )
2 years ago
ocornut
747c9a7adf
IsKeyPressed(), IsMouseClicked(), GetKeyPressedAmount(): add a (normally unnecessary) test for ->Down next to ->DownDuration tests, facilitating the use of key eating mechanism.
Consider removing when we add support for input ownership.
2 years ago
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.
3 years ago
ocornut
b3b3a07133
Nav: Fixed regression in e99c4fc
preventing CTR+Tab to work without NavEnableKeyboard ( #5504 , #4023 );
2 years ago
Geoffrey McRae
2c1262b436
ImVector: fix undefined behaviour during copy operator if source vector is null. ( #5608 )
2 years ago
ocornut
72096bf698
Clipper: simplify code and remove cases where true is returned with empty display range as an extra step.
2 years ago