ocornut
81e0b18e38
Merge branch 'master' into docking
ago%!(EXTRA string=4 years)
ocornut
b202fa9063
Docking: undocking nodes/windows covering most of the monitor max their size down to 90% to ease further manipulations.
...
Kind of a welcome hack.
ago%!(EXTRA string=4 years)
ocornut
a1a39c632a
Version 1.83 WIP
ago%!(EXTRA string=4 years)
ocornut
2231e1a369
Docking: Dockspace() never draws a background. ( #3924 )
ago%!(EXTRA string=4 years)
ocornut
4bf646e4b0
Drags, Sliders, Inputs: Specifying a NULL format to Float functions default them to "%.3f" to be consistent with the compile-time default. ( #3922 )
ago%!(EXTRA string=4 years)
Elias Daler
64aab8480a
DragScalar: Add default value for v_speed argument in DragScalar(), DragScalarN(). ( #3922 )
ago%!(EXTRA string=4 years)
ANF-Studios
ebe6ac5fb5
Improvements to minor mistakes in documentation comments ( #3923 )
ago%!(EXTRA string=4 years)
ocornut
256594575d
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
ago%!(EXTRA string=4 years)
ocornut
35b1148efb
Version 1.82
ago%!(EXTRA string=4 years)
ocornut
352f64697c
Internals: rename legagy tab focus fields to TabFocusXXXX for clarity + removed one unnecessary FocusWindow() call.
ago%!(EXTRA string=4 years)
ocornut
d94644261d
Drags, Sliders: Support ImGuiSliderFlags_Logarithmic flag with integers. Because why not? ( #3786 )
...
Renamed is_decimal to is_floating_point.
ago%!(EXTRA string=4 years)
ocornut
287bd9b984
InputText: renamed ImGuiInputTextFlags_AlwaysInsertMode to ImGuiInputTextFlags_AlwaysOverwrite. ( #2863 )
ago%!(EXTRA string=4 years)
CheckmateAt7
cfe83c4b44
Removed deprecated flag stopping compilation ( #3902 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
1bc6f82091
Misc: added imgui.gdb and imgui.natstepfilter debugger helpers for gdb and msvc.
ago%!(EXTRA string=4 years)
ocornut
0157502eab
ImDrawFlags: rework/revert c2d6d26
+ 39432bf
in a way that is closer to old version and back to opt-in but with default 0 = all corners.
ago%!(EXTRA string=4 years)
ocornut
033dfd9d35
ImDrawFlags: rework/revert c2d6d26
+ 39432bf
in a way that is closer to old version and back to opt-in but with default 0 = all corners.
ago%!(EXTRA string=4 years)
ocornut
f1bf642e8f
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui.h
# misc/debuggers/imgui.natvis
ago%!(EXTRA string=4 years)
ocornut
fdc2324d9a
Moved 'misc/natvis/imgui.natvis' to 'misc/debuggers/imgui.natvis'
ago%!(EXTRA string=4 years)
ocornut
39432bfd9c
Amend 0c93238a ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags
ago%!(EXTRA string=4 years)
Rokas Kupstys
c2d6d26139
ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags
ago%!(EXTRA string=4 years)
ocornut
8b9fedba28
Moved Obsolete function block lower in the file + obsoleted old SetScrollHere (->SetScrollHereY)
ago%!(EXTRA string=4 years)
thedmd
e45847d99a
Add version of PathArcTo() and PathArcToFast() with adaptive rendering quality. ( #3491 )
ago%!(EXTRA string=4 years)
ocornut
8ed34af6f8
ImDrawList: clarified that PathArcTo()/PathArcToFast() cannot take radius < 0.0f. ( #3491 ) + changed poor-man ceiling in _CalcCircleAutoSegmentCount() to use 0.999999f to reduce gaps
...
Previously it sorts of accidentally worked but would lead to counter-clockwise paths which and have an effect on anti-aliasing.
ago%!(EXTRA string=4 years)
C.Even
a3ebd160cb
Fix unused variable warning in ImGui::EndListBox() ( #3897 )
ago%!(EXTRA string=4 years)
ocornut
4b9bc49020
Viewports, Internals: added GetViewportPlatformMonitor() will a safety net to keep code portable + simplified handling of disconnected monitor in Begin().
ago%!(EXTRA string=4 years)
ocornut
6ba1334903
Nav: internals: renaming ImGuiInputSource so it is not specific to nav. Comments.
ago%!(EXTRA string=4 years)
Rokas Kupstys
01a2bac7d5
DrawList: Replace "bool close" in drawing functions with flags.
ago%!(EXTRA string=4 years)
ocornut
a64e0eb3a4
Nav: merged SetNavID() and SetNavIDWithRectRel() to improve sanity, moved flags overwrite off them. ( #787 )
ago%!(EXTRA string=4 years)
ocornut
1c9cc7c117
Nav: tweaks so docking can use same code. NavRestoreLayer restore nav id but Menu key typicallys clears it for menu layer (+ less relying on _ChildWindow flag).
ago%!(EXTRA string=4 years)
ocornut
4bb5a36f90
Nav: do not clear per-window NavId when window reappears. Process NavInit regardless of current highllight state. Consistently set g.NavLayer in SetNavID(). ( #787 )
ago%!(EXTRA string=4 years)
ocornut
954b06afe2
Drag and Drop: can use BeginDragDropSource() for other than the left mouse button ( #1637 , #3885 )
...
As long as the item has an ID (for ID-less items will add new functionalities later.
Amend 2c3c5125
ago%!(EXTRA string=4 years)
ocornut
e842b196df
Amend sanitization of format strings. Support ' without stb_printf. Simpler loops, will also be used for ImStrv branch. ( 8ee77f1
) ( #3604 )
...
Widgets: Sliders: Fix a bug where numbers after format specifier (eg. %d123) would cause RoundScalarWithFormatT() return incorrect value.
ago%!(EXTRA string=4 years)
Rokas Kupstys
8ee77f1b65
Widgets: Sliders: Skip custom stb_sprintf.h format flags (', #, _) in RoundScalarWithFormatT() as they break ImAtof()/ImAtoi() and cause Drag*()/Slider*() widgets display incorrect values. ( #3604 )
...
Widgets: Sliders: Fix a bug where numbers after format specifier (eg. %d123) would cause RoundScalarWithFormatT() return incorrect value.
ago%!(EXTRA string=4 years)
ocornut
d5a4d53000
Viewports, Backend: SDL: Fix missing ImGuiBackendFlags_HasSetMousePos flag in docking branch (ok in master), GLFW: Fix application of WantSetMousePos. ( #1542 , #787 )
...
Shows how little this feature is used with nav (was designed for small devices and frankly may be dropped) - but the backend support itself we will make use of for other features.
ago%!(EXTRA string=4 years)
ocornut
705f082674
Internals: rename RootWindow->RootWindowDockTree, RootWindowDockStop->RootWindow.
...
Why? So by default RootWindow matches user expectation on both branches, and RootWindowDockTree is more intentful.
(Actually should reduce diff between master<>docking)
ago%!(EXTRA string=4 years)
ocornut
80533ea5e1
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_widgets.cpp
ago%!(EXTRA string=4 years)
ocornut
fdebb2e093
Internals: removed HoveredRootWindow, tweak IsWindowHovered().
ago%!(EXTRA string=4 years)
TAiGA
f5bc5e8630
Freetype: Enable FreeType bitmap glyphs. ( #3879 )
ago%!(EXTRA string=4 years)
ocornut
ee643b2ad9
IsItemHovered(): fixed return value false positive when used after EndChild(), EndGroup() or widgets using either... ( #3851 , #1370 )
...
...when the hovered location is located within a child window, e.g. InputTextMultiline().
This is intended to have no side effects, but brace yourself for the possible comeback..
This essentially makes IsItemHovered() not accept hover from child windows, but EndChild/EndGroup are forwarded.
More or less should fix/revert c76f014292
which was a revert of 344d48be3
ago%!(EXTRA string=4 years)
Rokas Kupstys
b53b8f58df
Demo: Use correct string formats on non-windows platforms.
...
(amended)
ago%!(EXTRA string=4 years)
ocornut
3e6dfd3c1a
ImDrawList: AddImageRounded() compare texid from cmdheader as with other functions. + Made the ImGuiMemAllocFunc / ImGuiMemFreeFunc consistent with our other typedefs ( #3836 )
ago%!(EXTRA string=4 years)
ocornut
8dd692c29c
Android: Amend backend and examples with minor consistency tweaks. ( #3446 )
ago%!(EXTRA string=4 years)
duddel
fb85c0341b
Add Android backend and example ( #3446 )
ago%!(EXTRA string=4 years)
ocornut
d8c88bd943
Tables: Fixed unaligned accesses when using TableSetBgColor(ImGuiTableBgTarget_CellBg). ( #3872 )
...
ImSpanAllocator: Support for alignment.
ago%!(EXTRA string=4 years)
ocornut
1ddaff83d8
Demo: Tweak inputs display.
ago%!(EXTRA string=4 years)
ocornut
662535f357
Backends: DX9: Fix handling of colored textures ( #3844 , #3868 )
ago%!(EXTRA string=4 years)
ocornut
6aee4bcdc5
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_win32.cpp
# docs/CHANGELOG.txt
# imgui.cpp
ago%!(EXTRA string=4 years)
ocornut
25679a411e
Window, Nav: Fixed crash when calling SetWindowFocus(NULL) as the time a new window appears. ( #3865 )
ago%!(EXTRA string=4 years)
ocornut
4537d98d46
Backends: DX9: Fix to support colored glyphs, using newly introduced 'TexPixelsUseColors' info. ( #3369 , #3844 )
ago%!(EXTRA string=4 years)
Xiliusha
eb57484935
Backends: DX9: add missing IMGUI_USE_BGRA_PACKED_COLOR support. Remove dinput.h headers. ( #3844 )
ago%!(EXTRA string=4 years)