901 Commits (07e8ff9a8d43754a2e78854ad78bfb6d0485b9d1)

Author SHA1 Message Date
ocornut a02315e1c4 Combo: Made simple/legacy Combo() function not returns true when picking already selected item. (#1182) 1 year ago
ocornut 6137443d24 Overlap: moved ImGuiItemflags_AllowOverlap handling from ButtoBehavior() to ItemHoverable() now that it is possible. (#6512, #3909, #517) 1 year ago
ocornut 4dee919bc0 (Breaking) Internals: added ImGuiItemFlags param to ItemHoverable(), so it can be called from ButtonBehavior() not following an ItemAdd(). 1 year ago
ocornut 8439a73645 Overlap: Added 'SetNextItemAllowOverlap()' as a replacement for 'SetItemAllowOverlap()'. (#6512, #3909, #517) 1 year ago
ocornut a9a5cbf431 Overlap: Internals: add NextItemData.ItemFlags to facilitate implementation of SetNextItemAllowOverlap() + potentially remove extra_flags from ItemAdd(). (#6512, #3909) 1 year ago
ocornut 07e24b4058 ButtonBehavior: pull ImGuiButtonFlags_Repeat from ImGuiItemFlags_ButtonRepeat, matching ItemHoverable() logic. So more widgets can take advantage of Repeat logic. 1 year ago
ocornut 51f564eea6 (Breaking) Overlap: Renamed 'ImGuiTreeNodeFlags_AllowItemOverlap' to 'ImGuiTreeNodeFlags_AllowOverlap', 'ImGuiSelectableFlags_AllowItemOverlap' to 'ImGuiSelectableFlags_AllowOverlap'. Kept redirecting enums (will obsolete). (#6512, #3909, #517) 1 year ago
ocornut 06f5b46133 Overlap: Fixed first frame of an overlap highlighting underlying item if previous frame didn't hover anything. (#6512, #3909, #517) 1 year ago
ocornut d5d4d709c7 Drag and Drop: moved "drag souce doesn't report as hovered" from ButtonBehavior() to ItemHoverable(). 1 year ago
ocornut a2f6581171 Selectable: Fixed bad manual cherry-pick/merge (fixes 3ec128c) 1 year ago
ocornut 3ec128c5fd Selectable, TreeNode: When using ImGuiSelectableFlags_AllowOverlap/ImGuiTreeNodeFlags_AllowOverlap and holding item held, overlapping widgets won't appear as hovered. (#6512, #3909) 1 year ago
ocornut 0a53b45858 CollapsingHeader/TreeNode: Fixed text padding when using _Framed+_Leaf flags. (#6549) 1 year ago
ocornut 94c46d7486 InputText: Fixed not returning true when buffer is cleared by ImGuiInputTextFlags_EscapeClearsAll. (#5688, #2620) 1 year ago
Krzysztof Adamek 959a9c79bd TreeNode: Added support for ImGuiTreeNodeFlags_UpsideDownArrow in frameless tree nodes (#6517, #6538) 1 year ago
ocornut b60acfa87d Tooltips: Added SetItemTooltip(), BeginItemTooltip(). Improved Demo section. 1 year ago
ocornut d96bbf0aae TreeNode: Added undocumented ImGuiTreeNodeFlags_UpsideDownArrow flag. (#6517) 1 year ago
ocornut 15d74bad1d Internals: Tooltips: renamed internal flags (expecting to expose later when we publish priority stuff). 1 year ago
ocornut a134892a3d BeginComboPreview: fix when part of preview rect is clipped by parent window. (#6501, #1658) 1 year ago
ocornut 61ebb37843 Version 1.89.7 WIP 1 year ago
ocornut 5319d1cffa Version 1.89.6 1 year ago
ocornut 45c8c3b611 Listbox: commented out obsolete/redirecting functions that were marked obsolete more than two years ago: ListBoxHeader(), ListBoxFooter(). 1 year ago
ocornut 2c558d5741 Internals: SeparatorEx(): expose thickness + add misc comments relating to Separators. 1 year ago
ocornut 6656553fa4 Nav: Record/restore preferred position on each given axis. 2 years ago
ocornut 6cdedf5834 Drag, Sliders: if the format string doesn't contain any %, when using CTRL+Click to input we use a default format. (#6405) 2 years ago
ocornut d3ad2f357f Menus: Fixed an issue when opening a menu hierarchy in a given menu-bar would allow opening another via simple hovering. (#3496, #4797) 2 years ago
ocornut 01ca196530 Focus: move focused child restore code in FocusWindow() with ImGuiFocusRequestFlags_RestoreFocusedChild flag. (#6357) 2 years ago
ocornut 30eceaf95f Focus: start moving modal check into FocusWindow(), add ImGuiFocusRequestFlags_UnlessBelowModal (currently opt-in, should try to make opt-out). (#6357, #4317) 2 years ago
ocornut f0fe1957a8 Focus: merge extra param for FocusTopMostWindowUnderOne() from docking branch to facilitate merge. 2 years ago
lukaasm 0948cfc19e InputText: do not set WantTextInputNextFrame during the frame InputText is deactivated. (#6341) 2 years ago
ocornut 064153fca4 Version 1.89.6 WIP 2 years ago
ocornut 1ebb913827 Version 1.89.5 2 years ago
ocornut 47a07d8476 ButtonBehavior: Fixed an edge case where changing widget type/behavior while active and using same id could lead to an assert. (#6304) 2 years ago
ocornut e8206db829 InputText: Fixed crash introduced by 5a2b1e848 (#6292, #4714) 2 years ago
ocornut 5f301914a0 TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). (#2702) 2 years ago
AJ Weeks 821814b450 InputText: Reworked prev/next-word behavior . Include period as delimiter and tweak prev/next words logic. (#6067) 2 years ago
ocornut c98bad042d ColorEdit, RadioButton, Windows: Using adaptative tesselation for preview circles. 2 years ago
PanForPancakes 9ac94ff001 ColorPicker: Fixed shading of S/V triangle in Hue Wheel mode. (#6254, #5200) 2 years ago
David Briscoe cac76b2754 Slider, Drags: skip %+ and %# format flags for scanning. (#6259) 2 years ago
ocornut 5a2b1e8482 InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true (#4714) 3 years ago
ocornut 314e6443c9 Internals: removed ImGuiInputSource_Nav enum, 2 years ago
ocornut c501c2d4cd Internals: inverted a block in InputScalar() to facilitate reading/stepping in common case. 2 years ago
ocornut 24a44b9abe Version 1.89.5 WIP 2 years ago
ocornut f3f6295d53 Version 1.89.4 2 years ago
ocornut 552969e33e BeginTooltip: correctly testing return value of BeginTooltipEx() even though it always return true in current code. 2 years ago
ocornut a322122f74 InputText: Fixed not being able to use CTRL+Tab while an InputText() using Tab for completion or textinput is active. 2 years ago
Marc Delorme c8ad25caa6 Make classes not depend on the implicit GImGui context (#5856, #6199): ImGuiWindow, ImGuiInputTextCallbackData, ImGuiListClipper, ImGuiStackSizes 2 years ago
ocornut c9a53aa74d Nav: Made Enter key submit the same type of Activation event as Space key. (#5606) 2 years ago
ocornut b6586bb06d TestEngine: update IMGUI_TEST_ENGINE_ITEM_ADD() hooks to support passing item in flags. 2 years ago
ocornut 696a533532 TestEngine: added ImGuiItemStatusFlags_Inputable flag report to facilitate fuzzing. 2 years ago
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) 2 years ago