ocornut
718fa0eec6
Happy new year!
10 months ago
ocornut
f039e69b9c
Settings: Fixed an issue marking settings as dirty when merely clicking on a border or resize grip without moving it.
11 months ago
ocornut
8340a30d27
Debug: move debug assertion in post-clip code to reduce overhead. ( #4796 and more).
Amend c80179921
11 months ago
ocornut
1e1013085b
Debug Tools: Debug Log: Hide its own clipper log to reduce noise in the output.
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
0000739c08
Internals: Fixed function name typo.
11 months ago
ocornut
b4c5a83cfe
Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. ( #2625 , #7143 )
11 months ago
ocornut
70f2aaff43
Nav: tabbing happen within FocusScope. ImGuiWindowFlags_NavFlattened make window inherit focus scope from parent.
11 months ago
Kevin Coghlan
089ed30323
Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter. ( #7143 )
11 months ago
ocornut
e265610a0c
Fixes for MSVC code analyzer.
11 months ago
ocornut
f59b54c6f4
Nav: Activation can also be performed with Keypad Enter. ( #5606 )
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
f6836ff37f
Misc: Rework debug display of texture id in Metrics window (amend) ( #7090 )
Amend 96b5b17
11 months ago
ocornut
07dbd46ddd
Misc: Rework debug display of texture id in Metrics window to avoid compile-error when ImTextureID is defined to be larger than 64-bits. ( #7090 )
11 months ago
Nahor
86512eac06
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: improve multi-components width computation to better distribute the error. ( #7120 , #7121 )
11 months ago
ocornut
03298fe875
Windows: Fixed some auto-resizing path using style.WindowMinSize.x (instead of x/y). ( #7106 )
11 months ago
ocornut
69f524ba95
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: Added when component <= 0. ( #7095 )
11 months ago
ocornut
5366bd09bf
Scrolling: internal scrolling value is rounded instead of truncated. ( #6677 )
11 months ago
ocornut
1fade35159
DragScalarN, SliderScalarN, InputScalarN, PushMultiItemsWidths: Fixed incorrect pushes into ItemWidth stack when number of components is 1. [ #7095 ]
11 months ago
ocornut
58ca5f6424
Shortcut(): clearer early out in SetShortcutRouting() -> CalcRoutingScore() path.
11 months ago
ocornut
d72e1563d4
Removed CalcListClipping() marked obsolete in 1.86. ( #3841 ) + comments
Amend 64daeddf
11 months ago
ocornut
aaf157cfdd
Commented out ImGuiFreeType::BuildFontAtlas() obsoleted in 1.81. Commented out legacy ImGuiColumnsFlags_XXX symbols redirecting to ImGuiOldColumnsFlags_XXX, obsoleted in 1.80.
Amend 9499afdf
and 72de6f336
11 months ago
ocornut
d2b0167610
Fixed link error when using IMGUI_DISABLE_DEBUG_TOOLS
11 months ago
ocornut
7965494ff3
Debug Tools: Added DebugFlashStyleColor() to identify a style color. Added to Style Editor.
11 months ago
ocornut
6f171a066d
Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overrided back to true when navigation is enabled. ( #6997 )
11 months ago
ocornut
f37f6f67f6
Windows: BeginChild(): Fixed auto-resizing erroneously limiting size to host viewport minus padding. ( #7063 )
12 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
7bb0a525c3
Fixed text functions fast-path for handling "%s" and "%.*s" to handle null pointers gracefully. ( #7016 , #3466 , #6846 )
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
623bff23ce
Windows: WindowMinSize not applied on AlwaysAutoResize window. (amend e2035a5
)
See "window_size_min" test. Waiting for a fuller simplification of this, probably for a future version.
12 months ago
ocornut
f298491a8a
Docs: amend/tweak details about using io.WantCaptureMouse. ( #7012 )
12 months ago
ocornut
afadf74a53
BeginChild: undo child name simplification as it reveal an issue with handling of ### in child names.
When the later is fixed we can re-enable this. Essentially reverts 8ee8513
.
12 months ago
ocornut
fe6544622b
SetNextWindowSizeConstraints() clarified parameters, fixed comments. ( #1139 , #3186 , #3270 )
12 months ago
ocornut
ab522dd18c
Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. ( #4537 )
1 year ago
ocornut
0d3b468cb3
BeginChild(): added ImGuiChildFlags_AutoResizeX, ImGuiChildFlags_AutoResizeY, ImGuiChildFlags_AlwaysAutoResize + support for SetNextWindowSizeConstraints(). ( #1666 , #1395 , #1496 , #1710 ) + Demo
Note that child don't report ideal content size to parent so nesting may be difficult.
Note 4e4042b
simplified SkipItems logic.
Note e2035a5
standardizing WindowMinSize application on child
1 year 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
fa4c49b4a7
BeginChild(): resizing is only clamped on axis where there's no scrollbar. Added an extra ResizeX in Demo->Simple Layout.
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
561af15d67
Internal: Added owner aware variant of IsMouseDoubleClicked() for consistency.
Amend 4448d97
. Note that functions entry points will eventually be merged into one, so this is not a problem.
1 year ago
ocornut
376035fd01
Nav: fixed programmatic nav calls (e.g. SetKeyboardFocusHere() from storing io.KeyMods)
Note that the g.NavMoveKeyMods -> g.NavJustMovedToKeyMods chain is not used in this branch. Multi-select uses it.
1 year ago
ocornut
1ab63d925f
Undid some of the changes done by c95fbb4
because they are not compatible with docking code.
(Will cherry-pick this from docking to master)
# Conflicts:
# imgui.cpp
1 year ago
ocornut
f1d1a8d32b
Windows: use relative mouse movement for border resize when the border geometry has moved. ( #1710 )
(e.g. resizing a child window triggering parent scroll) to avoid resizing feedback loop.
1 year ago
ocornut
9235352400
BeginChild: Added ImGuiChildFlags_ResizeX and ImGuiChildFlags_ResizeY. ( #1710 )
1 year ago
ocornut
34a0bc456e
BeginChild: Added ImGuiChildFlags_AlwaysUseWindowPadding, obsoleted ImGuiWindowFlags_AlwaysUseWindowPadding. ( #462 , (toward #1666 , #1496 , #1395 , #1710 )
(bonus: will also eventually free a window flag)
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
313676d200
Settings: omit outputing Collapsed=0 in .ini file. Changelog + docs tweaks
1 year ago
ocornut
8ee85137d8
BeginChild(): Internal name used by child windows now omits the hash/id if the child window is submitted in root of id stack of parent window.
# Conflicts:
# docs/CHANGELOG.txt
# imgui.h
1 year ago
ocornut
4e4042bc33
Windows: tidying up skipitems logic at end of Begin(), normally should be no meaningful side-effect.
1 year ago
ocornut
bc3c6e74e6
Windows: fixed double-clicked border from showing highlighted at the new position.
Amend c95fbb4
+ misc tidying up, comments of grip/border resizing struct.
1 year ago