ocornut
7938550d52
Comments and some extra line-wrapping in demo ( #3193 )
10 months ago
ocornut
4a2426449a
Drags, Sliders, Inputs: removed all attempts to filter non-numerical characters during text editing. ( #6810 , #7096 )
11 months ago
ocornut
036a6c875e
ColorEdit4: Further tweaks for very small sizes. ( #7120 , #7121 )
11 months ago
ocornut
0bd6489721
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: fixed multi-components width in tight space ( #7120 , #7121 )
+ extra tweak color ColorEdit4() label. Amend 86512ea
, 3464662
11 months ago
ocornut
e265610a0c
Fixes for MSVC code analyzer.
11 months ago
ocornut
0d582dabf3
Fixed warning (amend 54c1bde
)
11 months ago
ocornut
6cfe3ddf52
InputTextMultiline: Tabbing through a multi-line text editor using ImGuiInputTextFlags_AllowTabInput doesn't activate it. ( #3092 , #5759 , #787 )
11 months ago
ocornut
54c1bdeceb
Internals: removed unused ImGuiItemStatusFlags_FocusedByTabbing. ( #4449 )
Amend 1a7526d
11 months ago
ocornut
4afffa36e9
InputTextMultiline: Fixed Tab character input not repeating
(1.89.4 regression)
11 months ago
Nahor
34646627aa
ColorEdit4: improve components width computation to better distribute the error ( #7120 ) ( #7123 )
11 months ago
ocornut
9d8de45313
Image(): comment and minor refactor to resurface the fact that a border size may be added. ( #2118 )
Make more similar to ImageButton()
11 months ago
ocornut
c58d2c89c3
Tabs: Added ImGuiTabItemFlags_NoAssumedClosure to enable app to react on closure attempt. ( #7084 )
11 months ago
Johel Ernesto Guerrero Peña
1fd5ff7152
Avoid C++26 removed deprecated arithmetic conversion on enumerations. ( #7088 , #7089 . #2983 , #3040 )
11 months ago
ocornut
5768de79e2
InputText, ColorEdit, ColorPicker: better support for undocumented ImGuiItemFlags_ReadOnly flag. ( #7079 , #211 )
Amend fdc526e8f
11 months ago
ocornut
b112d73edb
Menus: amend to clarify/fix static analyzer warning. ( #6671 , #6926 )
11 months ago
ocornut
2ee40d3cf9
Menus: Tweaked hover slack logic, adding a timer to avoid situations where a slow vertical movements toward another parent BeginMenu() can keep the wrong child menu open. ( #6671 , #6926 )
11 months ago
ocornut
bce4db00bc
Drag and Drop: Fixed drop target highlight on items temporarily pushing a widened clip rect. ( #7049 , #4281 , #3272 )
12 months ago
ocornut
61b8197942
Misc: Renamed some defines in imstb_textedit.h to avoid conflicts when using unity/jumbo builds.
Bitting the bullet, as we rarely update this (and it is rarely updated) and it we may replace it anyhow.
12 months ago
ocornut
3d083dbe1a
Version 1.90.1 WIP
12 months ago
ocornut
b81bd7ed98
Version 1.90.0
w/ Changelog tweaks.
12 months ago
ocornut
5de1312e1c
SplitterBehavior: tweak to not assert due to floating point precision.
Not guaranting behavior: clamping makes output lossy, size_1+size_2 in theory may be instable but couldn't repro.
API probably needs rework anyhow (should redistribute from provided available space).
12 months ago
ocornut
44345c2108
Better documented the difference between BeginListBox() and BeginChild() w/ ImGuiChildFlags_FrameStyle.
BeginListBox() can't yet expose child flags because coarse clipping require query of stored size (same issue as with adding resize support to Tables).
1 year ago
ocornut
cdbc21a191
BeginChild(): Added ImGuiChildFlags_FrameStyle as a replacement for BeginChildFrame(). ( #1666 , #1496 , #1395 , #1710 , #462 , #503 , #263 )
Effectively allows us to avoid extending BeginChildFrame() api to mimic BeginChild() new parameters.
1 year ago
ocornut
7713c29258
BeginChild: Upgraded 'bool border = true' parameter to use a ImGuiChildFlags type and the ImGuiChildFlags_Border value. (toward #1666 , #1496 , #1395 , #1710 )
1 year ago
ocornut
88fec09715
ColorPicker4(): Fixed ImGuiColorEditFlags_NoTooltip when ImGuiColorEditFlags_NoSidePreview is also set. ( #6957 )
1 year ago
ocornut
feddcf3030
Combo: amends for ImGuiComboFlags_WidthFitPreview. ( #6881 )
Amend 112d8fc
1 year ago
mpv-enjoyer
112d8fc41d
Combo: added ImGuiComboFlags_WidthFitPreview. ( #6881 )
1 year ago
ocornut
0312a29e4c
ImageButton(): clarify purpose of size. ( #6901 , #5533 , #4471 , #2464 , #1390 ).
Amend 4a2ae06ca
1 year ago
ocornut
2c07d581de
TreeNode: Added ImGuiTreeNodeFlags_SpanAllColumns for use in tables. ( #3151 , #3565 , #2451 , #2438 )
1 year ago
ocornut
28b237f94d
Separator(): Altered end-points to use more standard boundaries. ( #205 , #4787 , #1643 , #759 )
1 year ago
ocornut
330d763477
Separator: clarified setting the ImGuiSeparatorFlags_SpanAllColumns flag. ( #759 )
Technically a no-op.
1 year ago
ocornut
456aa3bc0a
Menus: Fixed a bug where activating an item in a child-menu and dragging mouse over the parent-menu would erroneously close the child-menu. ( #6869 )
Regression from 0dec430
1 year ago
ocornut
94da5842ef
Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). ( #6861 )
1 year ago
ocornut
e5ca5351d5
TabBar: Fixed position of unsaved document marker (ImGuiTabItemFlags_UnsavedDocument) which was accidentally offset in 1.89.9. ( #6862 )
Amend 4a814244
1 year ago
ocornut
ef8ff1b5d8
TabBar, Style: added style.TabBarBorderSize and associated ImGuiStyleVar_TabBarBorderSize. ( #6820 , #4859 , #5022 , #5239 )
Cherry-picked from docking's 64b1e44
1 year ago
ocornut
b101cf46b6
ListBox, Combo: Changed signature of "name getter" callback in old one-liner ListBox()/Combo() apis.
1 year ago
ocornut
8a2cd81091
TypingSelect: always enable nav highlight.
Otherwise in non multi-select contexts as nav dosn't automatically select result would not always be visible.
1 year ago
ocornut
223b19f116
Fixed warning when builidng with IMGUI_DISABLE_DEBUG_TOOLS.
1 year ago
ocornut
779568bb38
TypingSelect: tidy up some more + split ino functions to make reuse simpler.
1 year ago
ocornut
661a70fc79
TypingSelect: fast switch between characters in + debug, internal renames.
# Conflicts:
# imgui.cpp
# imgui_internal.h
1 year ago
ocornut
c86ce70968
Internal: Nav,MultiSelect: import ImGuiSelectionUserData, SetNextItemSelectionUserData() from MultiSelect. Track NavLastValidSelectionUserData as a convenience.
1 year ago
ocornut
f336e639e9
TypingSelect: rework GetTypingSelectRequest(), provide TypingSelectFindResult().
Amend 9714594
1 year ago
ocornut
0e1ce76ea8
InputTextMultiline: Fixed Tabbing cycle leading to a situation where Enter key wouldn't be accepted by the widget when navigation highlight is visible. ( #6802 , #3092 , #5759 , #787 )
+ Added test in ImGuiTestSuite: "widgets_inputtext_multiline_enter"
1 year ago
ocornut
0962c9fb72
TypingSelect: Added first version of GetTypingSelectRequest() API.
# Conflicts:
# imgui_internal.h
# imgui_widgets.cpp
1 year ago
ocornut
fa2e5710ac
MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously egister contents size. ( #6789 )
In dire need of removing BeginGroup()/EndGroup() from menu-bar code, fo r sanity.
1 year ago
ocornut
d8ef864b02
InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer. ( #6783 , #6000 )
Amend 57a5b73a4c
1 year ago
ocornut
cf1c4a0cb1
BeginListBox(): fixed not consuming SetNextWindowXXX data when returning false.
1 year ago
ocornut
fef3389157
Version 1.89.9
1 year ago
ocornut
3816d478df
ImDrawList: small debug-mode optimization when calling AddRect() without rounding + Selectable: small debug-mode optimization.
# Conflicts:
# imgui_widgets.cpp
1 year ago
ocornut
f93d0befaf
Slider: fixed support for ImGuiItemFlags_ReadOnly/ImGuiSliderFlags_ReadOnly although it is technically unused/undocumented. ( #6758 )
Amend fdc526e8f
1 year ago