ocornut
|
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.
|
4 years ago |
ocornut
|
4fd43a8b64
|
Internals: removed NavLayerCurrentMask (redundant, add extra shift in ItemAdd().
|
4 years ago |
ocornut
|
958e58b06b
|
Merge branch 'master' into docking
# Conflicts:
# examples/example_apple_opengl2/main.mm
# imgui.cpp
|
4 years ago |
ocornut
|
5f336ce8f8
|
Tab Bar: Fixed buffer underflow in TabBarLayout, introduced by 4a57a982b (#3501, #3291)
+ Link to CI actions added in 3be352f
|
4 years ago |
ocornut
|
52c0b1a340
|
ImGuiListClipper: internal rework and tidying up to facilitate supporting frozen rows in tables + stop promoting using constructors parameters.
|
4 years ago |
ocornut
|
324e0310ad
|
Renamed ImGuiSliderFlags_ClampOnInput to ImGuiSliderFlags_AlwaysClamp. (#1829, #3209, #946, #413)
|
4 years ago |
ocornut
|
fbabf651f4
|
Style: Renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton. Fixed README links.
|
4 years ago |
ocornut
|
fa004ae79a
|
Merge branch 'master' into docking
# Conflicts:
# examples/imgui_examples.sln
# examples/imgui_impl_dx12.cpp
# examples/imgui_impl_dx12.h
# examples/imgui_impl_opengl3.cpp
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
# imgui_widgets.cpp
|
4 years ago |
ocornut
|
1ec464eb9a
|
Tab Bar: Further simplification of section/clip rect handling. (#3291)
|
4 years ago |
ocornut
|
6b76781c66
|
Tab Bar: Tidying up. Rework ShrinkWidths to allow marking tabs as not shrinkable (unused yet) + don't unnecessarily move data within ShrinkWidthBuffer. (#3291)
|
4 years ago |
Louis Schnellbach
|
99f69eb185
|
Tab Bar: Moved up TabBarScrollingButtons function call. (#3291)
|
4 years ago |
ocornut
|
205874f5b1
|
Tab Bar: Fix reorderable tab bars. Fix misleading use of tab_max_width in TabBarLayout(). Misc amends, shortening. (#3291)
|
4 years ago |
Louis Schnellbach
|
3422cb1308
|
Tab Bar: Various fixes. Tried to reduce code complexity. (#3291)
|
4 years ago |
ocornut
|
5e5f25e2dd
|
Tab Bar: Rename named sections members into array. Various tidying up. (#3291)
|
4 years ago |
Louis Schnellbach
|
7ac16c02cc
|
Tab Bar: Fix multiple width and position computation issue. (#3291)
|
4 years ago |
ocornut
|
f23c39c395
|
Tab Bar: Fixed handling of scrolling policy with leading/trailing tabs. + warning fixes + bunch of renaming. (#3291)
Demo tweaks.
|
4 years ago |
Louis Schnellbach
|
4a57a982be
|
Tab Bar: Added TabItemButton(), ImGuiTabItemFlags_Leading, ImGuiTabItemFlags_Trailing + demo. (#3291)
(squashed various commits by 2 authors)
|
4 years ago |
ocornut
|
29836412e1
|
Internals, CollapsingHeader, TabItem: Standardized using a #CLOSE id prefix for TabItem and ColllapsingHeader (same as window)
|
4 years ago |
ocornut
|
27d0c3afa9
|
Tab Bar: Fixed a small bug where scrolling buttons (with ImGuiTabBarFlags_FittingPolicyScroll) would generate an unnecessary extra draw call.
|
4 years ago |
ocornut
|
afc1099fb5
|
Tab Bar: Fixed a small bug where closing a tab that is not selected would leave a tab hole for a frame.
|
4 years ago |
ocornut
|
a58a727781
|
Renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting 99ab5210
|
4 years ago |
Louis Schnellbach
|
ec945f44b5
|
InputText: Added support for Page Up/Down in InputTextMultiline. (#3430)
+ fix stb_textedit.h to build with C language (amend fbf70070 )
|
4 years ago |
ocornut
|
c206a19373
|
Removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. (#1619)
+ Fonts: AddFontDefault() adjust its vertical offset based on floor(size/13) instead of always +1.
|
4 years ago |
ocornut
|
645a6e0342
|
Bypass unnecessary formatting when using the TextColored()/TextWrapped()/TextDisabled() helpers with a "%s" format string. (#3466)
|
4 years ago |
Bartosz Szreder
|
d2939ce0a1
|
Columns: Make sure the ClipRect is valid. (#3475)
|
4 years ago |
omar
|
78f753ffff
|
Merge branch 'master' into docking + incl add wd->Pipeline in ImGui_ImplVulkan_RenderDrawData platform code (#3455, #3459)
|
4 years ago |
omar
|
206d78a524
|
InputText: Fixed minor glitch when erasing trailing lines in InputTextMultiline(). Fixed cursor being partially covered after using Ctrl+End key.
Removed unncessary one-empty-line-worth-of-scrolling.
|
4 years ago |
omar
|
36af398056
|
Sliders: Fixed using ImGuiSliderFlags_ClampOnInput with reverse sliders. (#3432, #3449)
|
4 years ago |
Rokas Kupstys
|
b2039aac67
|
Slider: Fixed to reach maximum value with inverted integer min/max ranges, both with signed and unsigned types. Added reverse Sliders to Demo. (#3432, #3449)
|
4 years ago |
ocornut
|
751d153ca9
|
InputText: Fixed callback's helper DeleteChars() function when cursor is inside the deleted block. (#3454).
|
4 years ago |
ocornut
|
8dacb4da20
|
Docking: Fixed DockNode tab bar initial order broken by 8c80d533d
|
4 years ago |
ocornut
|
34077c0140
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_internal.h
|
4 years ago |
ocornut
|
ce230fc370
|
Internals: TabBar renaming and shuffling stuff around.
+ sneaking a readme change
|
4 years ago |
ocornut
|
13f718337a
|
Internals: Added support for overriding locale decimal point, undocumented. (#2278) + Misc doc update.
Doc: Mention IMGUI_VERSION_NUM in recent api breaking changes + textwrap some demo code.
|
4 years ago |
ocornut
|
093afd4f7f
|
Internals: Added Name to ImGuiDataTypeInfo + minor misc comments in BeginGroup().
|
4 years ago |
Louis Schnellbach
|
8c80d533d9
|
Tab Bar: Fixed a small bug where toggling a tab bar from Reorderable to not Reorderable would leave tabs reordered in the tab list popup.
|
4 years ago |
ocornut
|
32be6c064b
|
InputText: Fixed using ImGuiInputTextFlags_Password with InputTextMultiline(). (#3427, #3428)
|
4 years ago |
ocornut
|
e9053515bb
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# examples/example_glfw_vulkan/main.cpp
# examples/example_sdl_vulkan/main.cpp
|
4 years ago |
ocornut
|
5919a6fa89
|
Tab Bar: Keep tab item close button visible while dragging a tab (independent of hovering state).
Improve 08108cf
|
4 years ago |
ocornut
|
08108cf9ee
|
Tab Bar: Hide tab item close button while dragging a tab.
|
4 years ago |
omar
|
2e50d0706b
|
Selectable: Tweaks. Added internal ImGuiSelectableFlags_NoPadWithHalfSpacing.
|
4 years ago |
ocornut
|
7b0570d6ba
|
Revert "Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText()."
This reverts commit 640d1f60ce140e4c2bf858ac2f2e8a96d432e6a4.
|
4 years ago |
ocornut
|
fdf952108d
|
Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText().
|
4 years ago |
ocornut
|
ad8fdc917f
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
|
4 years ago |
ocornut
|
9b50e691ed
|
TreeNode: Made clicking on arrow toggle toggle the open state on the Mouse Down event. Amend 05420ea2c .
|
4 years ago |
ocornut
|
9262609eaf
|
Version 1.79 WIP
|
4 years ago |
ocornut
|
05a25e5f36
|
BeginMenuBar: Fixed minor bug where CursorPosMax gets pushed to CursorPos prior to calling BeginMenuBar(), so e.g. calling the function at the end of a window would often add +ItemSpacing.y to scrolling range.
|
4 years ago |
ocornut
|
fc9ccad6b9
|
InputText: Add ImGuiInputTextFlags_CallbackEdit, selection helpers in ImGuiInputTextCallbackData(). Add simple InputText() callbacks demo.
|
4 years ago |
ocornut
|
4c201994d4
|
DragFloat, DragScalar: Fixed ImGuiSliderFlags_ClampOnInput not being honored in the special case where v_min == v_max. (#3361)
|
4 years ago |
ocornut
|
05bc204dbd
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.h
|
5 years ago |
ocornut
|
95c99aaa4b
|
Version 1.78
|
5 years ago |
ocornut
|
c6b01e8e1d
|
Drag, Sliders: Merged ImGuiDragFlags back into ImGuiSliderFlags. (#3361, #1823, #1316, #642, #1829, #3209)
Technically API breaking (but ImGuiDragFlags were pushed on master 16 hours ago)
|
5 years ago |
ocornut
|
25a9209b75
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui.h
# imgui_internal.h
# imgui_widgets.cpp
|
5 years ago |
omar
|
f32663b33c
|
Drags, Sliders: Removed locking behavior with min > max (added in 1.73)
|
5 years ago |
omar
|
7f8f0096d8
|
Internals: Renamed SliderCalcRatioFromValueT() -> ScaleRatioFromValueT(), SliderCalcValueFromRatioT() -> ScaleValueFromRatioT().
Replaced drag/slider flags with a single bool is_logarithmic in those functions.
|
5 years ago |
omar
|
fb0f2ebd41
|
Drags, Sliders: Tweaks.
|
5 years ago |
Ben Carter
|
fa279a6aa0
|
Drags, Sliders: Added deadzone to make selecting 0.0 on linear sliders easier, slider navigation delta accumulation. (#3361, #1823, #1316, #642)
|
5 years ago |
omar
|
f75b29e7be
|
Drags, Sliders: Added ImGuiDragFlags_NoInput/ImGuiSliderFlags_NoInput to disable turning widget into a text input with CTRL+Click or Nav Enter.
|
5 years ago |
omar
|
8018623c5b
|
Drags, Sliders: Added ImGuiDragFlags_NoRoundToFormat / ImGuiSliderFlags_NoRoundToFormat flags (#642)
|
5 years ago |
omar
|
170d02bd99
|
Drags, Sliders: Added ImGuiDragFlags_ClampOnInput/ImGuiSliderFlags_ClampOnInput flags to force clamping value when using CTRL+Click to type in a value manually. (#1829, #3209)
|
5 years ago |
omar
|
7607aea018
|
Drags, Sliders: Removed power features. Old entry points will pass-through if power=1.0f, otherwise assert + safe fallback. Remove 3 redirection functions (#3361, #1823, #1316, #642)
|
5 years ago |
omar
|
43c099f31e
|
Drags, Sliders: Logarithmic: Moved flags to internals, allowing 1.0f to pass by. (#3361, #1823, #1316, #642)
|
5 years ago |
omar
|
152dae9e2a
|
Drags, Sliders: Logarithmic: Split back flags into drag/slider flags. Moved to an obsolete section. (#3361, #1823, #1316, #642)
|
5 years ago |
Ben Carter
|
9f98b4e7f2
|
Drags, Sliders: Logarithmic: Added logarithmic mode support to drag widgets, extended API to add flags to drag/sliders (#3361, #1823, #1316, #642)
|
5 years ago |
Ben Carter
|
a252a287bf
|
Drags, Sliders: Logarithmic: WIP experiments with trying to make logarithmic sliders sensible (#3361, #1823, #1316, #642)
|
5 years ago |
ocornut
|
46d75202b8
|
Tab Bar: Allow calling SetTabItemClosed() after a tab has been submitted (will process next frame).
+ larger combo height on TabBarTabListPopupButton()
|
5 years ago |
omar
|
a5ba26806f
|
Make moving window prevent its active id from being stolen (#3392, #3243, #1738)
Amend 7b3d379 , 615e9ae3
|
5 years ago |
omar
|
2c13a74a9d
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# examples/example_glfw_vulkan/main.cpp
# examples/example_sdl_vulkan/main.cpp
# imgui.cpp
|
5 years ago |
omar
|
89ac87cd91
|
Internals: Added SetLastItemData, rename ImGuiItemHoveredDataBackup to ImGuiLastItemDataBackup.
|
5 years ago |
omar
|
b15b25bccd
|
TabBar: made a change to that declared ideal width (for auto-resize) won't lag by an extra frame.
Vaguely relate to underlying (uncommited) work for #3291
|
5 years ago |
omar
|
8074b49148
|
Selectable: Fixed highlight/hit extent when used with horizontal scrolling (in or outside columns). (#3187, #3386)
# Conflicts:
# imgui_widgets.cpp
|
5 years ago |
omar
|
963839373c
|
Demo tweaks + general removal of the word dummy were possible with no issues (kept the API call).
|
5 years ago |
omar
|
de1588928b
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
|
5 years ago |
omar
|
4929a8e4a5
|
InvisibleButton: Made public a small selection of ImGuiButtonFlags (previously in imgui_internal.h) and allowed to pass them to InvisibleButton().
|
5 years ago |
omar
|
a876ad877d
|
Window: Fixed clicking over an item which hovering has been disabled (e.g inhibited by a popup) from marking the window as moved.
+ comments
|
5 years ago |
omar
|
70fa37527d
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_draw.cpp
# imgui_internal.h
|
5 years ago |
omar
|
bbd061538c
|
Internals: Drag/Sliders: simplified some code.
|
5 years ago |
omar
|
b8c22bdb28
|
DragFloatRange2, DragIntRange2: Fixed an issue allowing to drag out of bounds when both min and max value are on the same value. (#1441)
|
5 years ago |
omar
|
fdc526e8f8
|
Stop advertisting for Drag v_min>v_max which was introduced in 1.73 likely for 0537ac00 then made unnecessary with 32c33c66 , added undocumented ImGuiItemFlags_ReadOnly as possible replacement (unused), (#211)
|
5 years ago |
omar
|
f79f0e42f7
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# examples/imgui_impl_opengl3.cpp
# imgui.h
|
5 years ago |
omar
|
ab4ef822f0
|
Version 1.78 WIP
|
5 years ago |
omar
|
90ea7e2f2f
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
|
5 years ago |
Rokas Kupstys
|
0738611559
|
Misc: Bunch of code formatting changes suggested by a pass running 'astyle'
|
5 years ago |
omar
|
ddabfc3477
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
|
5 years ago |
omar
|
9418dcb693
|
Version 1.77
+ fix minor clang-tidy warnings which seems reasonable
|
5 years ago |
omar
|
5628416bd3
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
|
5 years ago |
omar
|
fed80b9537
|
Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow().
|
5 years ago |
omar
|
5acf6d861a
|
Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen().
# Conflicts:
# docs/CHANGELOG.txt
|
5 years ago |
omar
|
e0ec69d84b
|
Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (#2464, #1390)
|
5 years ago |
omar
|
20d61f5f62
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
|
5 years ago |
omar
|
8ead38c100
|
Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version.
|
5 years ago |
omar
|
704723744e
|
Disabled latest overzealous warnings from Clang
|
5 years ago |
Louis Schnellbach
|
b1d8309abc
|
Added ImGuiTabItemFlags_NoTooltip for individual Tab Item.
|
5 years ago |
ocornut
|
99ab521024
|
Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point
|
5 years ago |
ocornut
|
c658cba22b
|
Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing.
|
5 years ago |
omar
|
90c0c0c163
|
Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49 )
Internals: Bits, comments, added ImRect::ToVec4()
|
5 years ago |
ocornut
|
16da8e6da6
|
Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125)"
This reverts commit 9b3ce494fd .
|
5 years ago |
ocornut
|
9b3ce494fd
|
Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125)
This change benefits Columns but was primarily made with Tables in mind.
|
5 years ago |
ocornut
|
8baa4ccff5
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
|
5 years ago |
ocornut
|
78d5ccfb90
|
ImDrawList: PushColumnsBackground(): Fixed incorrect assert. (#3163)
|
5 years ago |