Commit Graph

7243 Commits (2a5eaf239fc6cbfdf855fe6a6b06d0610c167e38)
 

Author SHA1 Message Date
ocornut cf312545e8 Docking: Fixed docking while hovering a child window. () broken by 85a661d27. Improve metrics debugging.
ocornut df89a16d26 Examples: Vulkan: Reworked buffer resize handling, fix for Linux/X11. (, )
ocornut d6f3a8848d Viewports: Backends: DirectX9: Allow D3DERR_DEVICELOST on secondary viewports. ()
ocornut 9d20a5f0a5 Docking: DockSpace() emits ItemSize() properly + dockspace demo (works now since 05a25e5f3)
ocornut ad8fdc917f Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui.cpp
ocornut 9b50e691ed TreeNode: Made clicking on arrow toggle toggle the open state on the Mouse Down event. Amend 05420ea2c.
ocornut 97dad66516 Metrics: Various tweaks, listing windows front-to-back, greying inactive items when possible.
ocornut 9262609eaf Version 1.79 WIP
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.
ocornut fc9ccad6b9 InputText: Add ImGuiInputTextFlags_CallbackEdit, selection helpers in ImGuiInputTextCallbackData(). Add simple InputText() callbacks demo.
ocornut 024993adf9 Revert leftovers from 4c201994d4
ocornut 4c201994d4 DragFloat, DragScalar: Fixed ImGuiSliderFlags_ClampOnInput not being honored in the special case where v_min == v_max. ()
ocornut 5dc5610ad5 Docs: TODO, FAQ
ocornut 05bc204dbd Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui.h
ocornut 95c99aaa4b Version 1.78
ocornut c6b01e8e1d Drag, Sliders: Merged ImGuiDragFlags back into ImGuiSliderFlags. (, , , , , )
Technically API breaking (but ImGuiDragFlags were pushed on master 16 hours ago)
omar b36d1d465d Docking: Untangle a little bit of the ActiveIdClickOffset mess.
omar 14539b3ed2
Update Emscripten readme about emrun ()
omar d3fcc37e9e
Update Emscripten readme about local XHR requests ()
ocornut 25a9209b75 Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
#	imgui_widgets.cpp
ocornut 3c65b650e8 Merge branch 'features/logarithmic_sliders'
omar f32663b33c Drags, Sliders: Removed locking behavior with min > max (added in 1.73)
omar 7f8f0096d8 Internals: Renamed SliderCalcRatioFromValueT() -> ScaleRatioFromValueT(), SliderCalcValueFromRatioT() -> ScaleValueFromRatioT().
Replaced drag/slider flags with a single bool is_logarithmic in those functions.
omar fb0f2ebd41 Drags, Sliders: Tweaks.
Ben Carter fa279a6aa0 Drags, Sliders: Added deadzone to make selecting 0.0 on linear sliders easier, slider navigation delta accumulation. (, , , )
omar f75b29e7be Drags, Sliders: Added ImGuiDragFlags_NoInput/ImGuiSliderFlags_NoInput to disable turning widget into a text input with CTRL+Click or Nav Enter.
omar 8018623c5b Drags, Sliders: Added ImGuiDragFlags_NoRoundToFormat / ImGuiSliderFlags_NoRoundToFormat flags ()
omar 170d02bd99 Drags, Sliders: Added ImGuiDragFlags_ClampOnInput/ImGuiSliderFlags_ClampOnInput flags to force clamping value when using CTRL+Click to type in a value manually. (, )
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 (, , , )
omar 43c099f31e Drags, Sliders: Logarithmic: Moved flags to internals, allowing 1.0f to pass by. (, , , )
omar 152dae9e2a Drags, Sliders: Logarithmic: Split back flags into drag/slider flags. Moved to an obsolete section. (, , , )
Ben Carter 9f98b4e7f2 Drags, Sliders: Logarithmic: Added logarithmic mode support to drag widgets, extended API to add flags to drag/sliders (, , , )
Ben Carter a252a287bf Drags, Sliders: Logarithmic: WIP experiments with trying to make logarithmic sliders sensible (, , , )
ocornut 46d75202b8 Tab Bar: Allow calling SetTabItemClosed() after a tab has been submitted (will process next frame).
+ larger combo height on TabBarTabListPopupButton()
Louis Schnellbach 0e5b1ea297
CI: imscripten fastcomp backend is now deprecated ()
Fastcomp backend was introduced here: 14b18697e6
Emscripten changelog: https://emscripten.org/docs/introducing_emscripten/release_notes.html?highlight=2.0.0:%2008/10/2020
Emscripten issue: https://github.com/emscripten-core/emsdk/pull/590

Updated CHANGELOG.txt
omar a9626e1162 Docking: Made DockBuilderAddNode() automatically call DockBuilderRemoveNode(). (, )
omar 214dd68ec1 Comments, clarifying ClosePopupsOverWindow().
omar a4dd4d60b4 CI: moved static analysis to a separate project + fix (uninitialized variable, was harmless in this case).
omar 8241cd6284 Make moving window prevent its active id from being stolen (, , )
Amend 7b3d379, 615e9ae3

# Conflicts:
#	imgui.cpp
#	imgui_widgets.cpp
omar a5ba26806f Make moving window prevent its active id from being stolen (, , )
Amend 7b3d379, 615e9ae3
omar dbc70f21a9 Docking: Fixed docking overlay bits appearing at (0,0), because of 43bd80a4. Most typically noticable when disabling multi-viewport.
omar 009276b6cb Backends: Allegro 5: Fixed horizontal scrolling direction with mouse wheel / touch pads (, , ) [@nobody-special666]
Amend 7dea158175
+ Fix vsproj GUID
omar 85a661d276 Docking: Storing HoveredDockNode in context which can be useful for easily detecting e.g. hovering an empty node. ()
omar acf043a675 Docking: Moved code unjustly in DockNodeTreeFindNodeByPos() out of it and into caller (should have no side-effect ideally). Removed dupe in Begin() from earlier merge.
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
omar 209a6a751c Revert "Examples: Switch most VS projects to enable Edit & Continue by default (may need to upgrade projects to latest toolchain)"
This reverts commit a24578ec09.
/ZI not supported on 64-bit on some toolchains, leaving to default is best?
omar 89ac87cd91 Internals: Added SetLastItemData, rename ImGuiItemHoveredDataBackup to ImGuiLastItemDataBackup.
ocornut 90b152f265 ImFontAtlas: Fixed multiple rebuild with same inputs erroneously increased ConfigDataCount. CI: Update Ubuntu 18.04 > 20.04 (motivated by )
Fix Freetype warning.
ocornut ede8825fb2 Examples: Vulkan: Fixed GLFW+Vulkan and SDL+Vulkan clear color not being set. Broken by a06eb833 ()
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