omar
|
357534e588
|
Made it possible to move a window by dragging from the Collapse button (past the drag threshold). Extracted some code out to a CollapseButton() function.
|
ago%!(EXTRA string=7 years) |
omar
|
3a522b2400
|
Internals: Renamed one of the arrow functions so their name don't collide.
|
ago%!(EXTRA string=7 years) |
omar
|
e07f5d4c78
|
Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time.
|
ago%!(EXTRA string=7 years) |
omar
|
5e73e969fb
|
Comments, exposed a few things in imgui_internal.h for consistency, added ImQsort wrapper.
|
ago%!(EXTRA string=7 years) |
omar
|
9007dff5eb
|
IsItemHovered(): Added ImGuiHoveredFlags_AllowWhenDisabled flag to query hovered status on disabled items. (#1940, #211)
+ shallow changelog tweaks
|
ago%!(EXTRA string=7 years) |
omar
|
4dfb9ef751
|
Internals: Extracted StartMouseMovingWindow so we can add code to turn an arbitrary widget into a window mover (will be useful to make the Collapse button a window mover past a mouse drag threshold) + added a couple of _None flags.
|
ago%!(EXTRA string=7 years) |
omar
|
7033b2043b
|
Internals: Move IMGUI_CDECL declaration to imgui_internal.h so everyone can profit.
|
ago%!(EXTRA string=7 years) |
omar
|
c7016c25e8
|
Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. (#787)
|
ago%!(EXTRA string=7 years) |
omar
|
0708f91617
|
Internals: Removed RootWindowForTabbing, won't be needed. Nav: Not starting NavWindowingTarget when a modal is active (was not noticeable).
|
ago%!(EXTRA string=7 years) |
omar
|
bd6097ac6f
|
Drag and Drop: Calling BeginTooltip() between a BeginDragSource()/EndDragSource() or BeginDropTarget()/EndDropTarget() uses adjusted tooltip settings matching the one created when calling BeginDragSource() without the ImGuiDragDropFlags_SourceNoPreviewTooltip flag. (#143) + additional safety checks.
|
ago%!(EXTRA string=7 years) |
omar
|
64938178b7
|
Internals: Moved selectable flags to avoid collision with public flags + rewrote some tests so we can consistently grep for (held && hovered)
|
ago%!(EXTRA string=7 years) |
omar
|
93950b8c32
|
Internals: Removed unused ShadeVertsLinearAlphaGradientForLeftToRightText code.
|
ago%!(EXTRA string=7 years) |
omar
|
004fe8916a
|
Internals: Settings: Simple optimization caching index into the settings buffer, to remove an unnecessary O(N*M) search during saving. (with N=active root windows during the session, M=stored settings which grows over time)
|
ago%!(EXTRA string=7 years) |
omar
|
7adae3299e
|
Double-click on resize grip doesn't need to test HoveredWindow (as button has the flattenchild flag anyway) + double-click on title bar verify that we don't have overlapping items to allow contents in title bar. + Comments
|
ago%!(EXTRA string=7 years) |
omar
|
79153cf19f
|
Internals: Various renaming. e.g. NewFrameUpdateHoveredWindowAndCaptureFlags() to UpdateHoveredWindowAndCaptureFlags() + exposed UpdateMovingWindow() in imgui_internal.h.
|
ago%!(EXTRA string=7 years) |
omar
|
14ceaaf460
|
ArrowButton: Fixed to honor PushButtonRepeat() setting (and internals' ImGuiItemFlags_ButtonRepeat). Setup current line text baseline so that ArrowButton() + SameLine() + Text() are aligned properly.
|
ago%!(EXTRA string=7 years) |
omar
|
c1d8dee6c5
|
Version 1.63 WIP
|
ago%!(EXTRA string=7 years) |
omar
|
1b74e3be02
|
Version 1.62
|
ago%!(EXTRA string=7 years) |
omar
|
d57fc7fb97
|
Added IsItemDeactivatedAfterChange() if the last item was active previously, isn't anymore, and during its active state modified a value. Note that you may still get false positive. (#820, #956, #1875)
|
ago%!(EXTRA string=7 years) |
omar
|
be4b8b5615
|
Internals: Added GetItemID(), GetFocusID() for consistency. Made GetActiveID() inline. Comments, fixed typos, demo tweaks.
|
ago%!(EXTRA string=7 years) |
omar
|
cd455a4600
|
Added IsItemDeactivated() to query if the last item was active previously but isn't anymore. Useful for Undo/Redo patterns. (#820, #956, #1875)
|
ago%!(EXTRA string=7 years) |
omar
|
c725710c6d
|
Comments
|
ago%!(EXTRA string=7 years) |
omar
|
6d98c0323b
|
Nav: Added support for PageUp/PageDown (explorer-style: first aim at bottom/top most item, when scroll a page worth of contents). (#787)
|
ago%!(EXTRA string=7 years) |
omar
|
5a7e98c7cf
|
Internals: Nav: Removed ParentID from move result (unused, would need to be full-filled for PageUp/PageDown code) + FAQ typo fix.
|
ago%!(EXTRA string=7 years) |
omar
|
08e20ae465
|
Internals: Reintroducing LastActiveIdTimer because it is useful and to reduce merge conflicts. (#1537)
|
ago%!(EXTRA string=7 years) |
omar
|
d4b151076c
|
Internals: Added BeginDragDropTooltip() internal function to convey semantic (drag and drop tooltip doesn't get clipped within display boundaries). Revert part of 3218666fb9 . (#1739, #143).
|
ago%!(EXTRA string=7 years) |
omar
|
92b7d6bc4f
|
Added ImGuiDragDropFlags_AcceptNoPreviewTooltip flag to disable drag source tooltip from the target site (#143)
|
ago%!(EXTRA string=7 years) |
omar
|
d5c8f404b2
|
Remove trailing white spaces.
|
ago%!(EXTRA string=7 years) |
omar
|
ede5059e69
|
Internals: Forward declaring and commenting internal structures. Renamed ImGuiDrawContext to ImGuiWindowTempData, but kept .DC member name for backward compatibility purpose
|
ago%!(EXTRA string=7 years) |
omar
|
86f8cdbd98
|
Comments + Internals: Selectable: decoupled internal flags and removed their menu / menu-item semantic as upcoming changes are requiring more flexibility.
|
ago%!(EXTRA string=7 years) |
omar
|
99ff6fc7e4
|
Nav: Draft internal api to forward move request with loop/wrap options. Will rework for parallel scoring of two paths (as a generalization of the NavFlattened concept). (#787)
|
ago%!(EXTRA string=7 years) |
omar
|
036dce634e
|
Version 1.62 WIP
|
ago%!(EXTRA string=7 years) |
omar
|
78b28d545f
|
Version 1.61 + todo additions
|
ago%!(EXTRA string=7 years) |
omar
|
725c13ca68
|
Fix for atof with glibc.
|
ago%!(EXTRA string=7 years) |
omar
|
2a2bb8970d
|
Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments.
|
ago%!(EXTRA string=7 years) |
omar
|
ff033f431b
|
Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it slightly easier to redefine wrappers to std maths functions such as fabsf(), fmodf(), etc. Comments.
|
ago%!(EXTRA string=7 years) |
omar
|
fc7fc83f9e
|
Data types: DragScalar, InputScalar: default parameters. Added IM_STATIC_ASSERT(). Comments.
|
ago%!(EXTRA string=7 years) |
omar
|
773d484009
|
Internals: Made ContentsRegionRect absolute to reduce confusion. Renamed InnerRect to InnerMainRect, renamed WindowRectClipper to OuterRectClipped.
|
ago%!(EXTRA string=7 years) |
omar
|
f83f566530
|
Internals: Nav: Extracted code into a NavClampToVisibleAreaForMoveDir() + fix debug code + inline some functions, removed obsolete EndChild() comment.
|
ago%!(EXTRA string=7 years) |
omar
|
5f464877ed
|
Internals: Declaring DragBehavior, SliderBehavior in there (no warantee given) as they may be useful to custom widgets.
|
ago%!(EXTRA string=7 years) |
omar
|
8da0d42ef2
|
Moved DragScalar, InputScalar, SliderScalar to imgui.h as well as ImGuiDataType (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |
omar
|
0bf43b3a1b
|
Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. (#923, #993)
|
ago%!(EXTRA string=7 years) |
omar
|
023cc25c7c
|
Internals: Removed unnecessary allocation indirection for g.LogClipboard (this only made sense when there was a global context instance)
|
ago%!(EXTRA string=7 years) |
omar
|
3e8087458d
|
SliderScalar, VSliderScalar(): Support for any data types. Tested with various ranges/limits. Note that Drag/Slider/Input currently fail if the format string doesn't preview the actual value. Will fix next. (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |
omar
|
944f414cc6
|
Internals: A few selected math helpers are now using template to handle all supported types. Added ImPow() to wrap float/double in a standard manner without calling pow(double) when not needed in Drag code.
|
ago%!(EXTRA string=7 years) |
omar
|
f4c16fbb99
|
Internals: Data types: Made format string optional. DragBehavior: Moved a bit of code outside of the template. Slider tidying up. Removed unnecessary call to fabsf().
|
ago%!(EXTRA string=7 years) |
omar
|
f47c756755
|
Internals: Missing const, some renaming. Tweak legacy fast path.
|
ago%!(EXTRA string=7 years) |
omar
|
069b284f17
|
Internals: Tidying up internal helpers. Fixed a case ImParseFormatTrimDecorations() can return an off by one (out of bound) pointer if the format string is invalid. Extracted ImParseFormatFindEnd() out of TrimDecorations so we can use it to find the format type and replace the %f in old Int apis.
|
ago%!(EXTRA string=7 years) |
omar
|
086c3925c4
|
Internals: Fixed DragInt* default format string. InputScalar(), InputScalarN(), removed InputFloatN(), InputInt(). Note that DragInt2/3/4 will %f format strings will currently be broken. (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |
omar
|
6c932479f2
|
Internal: DragScalar(), InputScalar() now support signed/unsigned, 32/64 bits, float/double data types. (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |