ocornut
|
30f0900b1c
|
Docking: Fix honoring payload filter with overlapping nodes. (we incorrectly over-relied on g.HoveredDockNode when making change for #3398)
Essentially undo part of 85a661d (#3398) + ref cf31254 (#3420)
|
2020-08-25 19:17:46 +02:00 |
|
ocornut
|
ad8fdc917f
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
|
2020-08-20 22:42:14 +02:00 |
|
ocornut
|
9262609eaf
|
Version 1.79 WIP
|
2020-08-20 16:46:44 +02:00 |
|
ocornut
|
fc9ccad6b9
|
InputText: Add ImGuiInputTextFlags_CallbackEdit, selection helpers in ImGuiInputTextCallbackData(). Add simple InputText() callbacks demo.
|
2020-08-20 11:25:39 +02:00 |
|
ocornut
|
4c201994d4
|
DragFloat, DragScalar: Fixed ImGuiSliderFlags_ClampOnInput not being honored in the special case where v_min == v_max. (#3361)
|
2020-08-20 11:21:15 +02:00 |
|
ocornut
|
05bc204dbd
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.h
|
2020-08-18 17:51:43 +02:00 |
|
ocornut
|
95c99aaa4b
|
Version 1.78
|
2020-08-18 17:50:45 +02:00 |
|
ocornut
|
c6b01e8e1d
|
Drag, Sliders: Merged ImGuiDragFlags back into ImGuiSliderFlags. (#3361, #1823, #1316, #642, #1829, #3209)
Technically API breaking (but ImGuiDragFlags were pushed on master 16 hours ago)
|
2020-08-18 17:02:58 +02:00 |
|
ocornut
|
25a9209b75
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui.h
# imgui_internal.h
# imgui_widgets.cpp
|
2020-08-17 23:29:17 +02:00 |
|
omar
|
f32663b33c
|
Drags, Sliders: Removed locking behavior with min > max (added in 1.73)
|
2020-08-17 22:10:42 +02:00 |
|
omar
|
7f8f0096d8
|
Internals: Renamed SliderCalcRatioFromValueT() -> ScaleRatioFromValueT(), SliderCalcValueFromRatioT() -> ScaleValueFromRatioT().
Replaced drag/slider flags with a single bool is_logarithmic in those functions.
|
2020-08-17 22:10:42 +02:00 |
|
Ben Carter
|
fa279a6aa0
|
Drags, Sliders: Added deadzone to make selecting 0.0 on linear sliders easier, slider navigation delta accumulation. (#3361, #1823, #1316, #642)
|
2020-08-17 22:10:42 +02:00 |
|
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 (#3361, #1823, #1316, #642)
|
2020-08-17 22:10:41 +02:00 |
|
omar
|
43c099f31e
|
Drags, Sliders: Logarithmic: Moved flags to internals, allowing 1.0f to pass by. (#3361, #1823, #1316, #642)
|
2020-08-17 22:10:41 +02:00 |
|
omar
|
152dae9e2a
|
Drags, Sliders: Logarithmic: Split back flags into drag/slider flags. Moved to an obsolete section. (#3361, #1823, #1316, #642)
|
2020-08-17 22:10:40 +02:00 |
|
Ben Carter
|
9f98b4e7f2
|
Drags, Sliders: Logarithmic: Added logarithmic mode support to drag widgets, extended API to add flags to drag/sliders (#3361, #1823, #1316, #642)
|
2020-08-17 22:10:40 +02:00 |
|
Ben Carter
|
a252a287bf
|
Drags, Sliders: Logarithmic: WIP experiments with trying to make logarithmic sliders sensible (#3361, #1823, #1316, #642)
|
2020-08-17 22:10:40 +02:00 |
|
ocornut
|
46d75202b8
|
Tab Bar: Allow calling SetTabItemClosed() after a tab has been submitted (will process next frame).
+ larger combo height on TabBarTabListPopupButton()
|
2020-08-17 12:57:47 +02:00 |
|
omar
|
214dd68ec1
|
Comments, clarifying ClosePopupsOverWindow().
|
2020-08-11 10:55:53 +02:00 |
|
omar
|
a4dd4d60b4
|
CI: moved static analysis to a separate project + fix (uninitialized variable, was harmless in this case).
|
2020-08-10 17:46:02 +02:00 |
|
omar
|
8241cd6284
|
Make moving window prevent its active id from being stolen (#3392, #3243, #1738)
Amend 7b3d379 , 615e9ae3
# Conflicts:
# imgui.cpp
# imgui_widgets.cpp
|
2020-08-10 16:30:23 +02:00 |
|
omar
|
a5ba26806f
|
Make moving window prevent its active id from being stolen (#3392, #3243, #1738)
Amend 7b3d379 , 615e9ae3
|
2020-08-10 16:28:46 +02:00 |
|
omar
|
85a661d276
|
Docking: Storing HoveredDockNode in context which can be useful for easily detecting e.g. hovering an empty node. (#3398)
|
2020-08-10 12:55:37 +02:00 |
|
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.
|
2020-08-10 12:52:23 +02:00 |
|
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
|
2020-08-10 11:35:51 +02:00 |
|
omar
|
89ac87cd91
|
Internals: Added SetLastItemData, rename ImGuiItemHoveredDataBackup to ImGuiLastItemDataBackup.
|
2020-08-10 11:31:55 +02:00 |
|
omar
|
8074b49148
|
Selectable: Fixed highlight/hit extent when used with horizontal scrolling (in or outside columns). (#3187, #3386)
# Conflicts:
# imgui_widgets.cpp
|
2020-08-05 19:24:07 +02:00 |
|
omar
|
de1588928b
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
|
2020-08-03 19:54:31 +02:00 |
|
omar
|
4929a8e4a5
|
InvisibleButton: Made public a small selection of ImGuiButtonFlags (previously in imgui_internal.h) and allowed to pass them to InvisibleButton().
|
2020-08-03 18:45:30 +02:00 |
|
omar
|
a876ad877d
|
Window: Fixed clicking over an item which hovering has been disabled (e.g inhibited by a popup) from marking the window as moved.
+ comments
|
2020-08-03 18:05:20 +02:00 |
|
omar
|
76ddacd2a1
|
Internals: Backport HoveredWindowUnderMovingWindow code from Docking branch.
(effectively allowing a window to be a drag payload without have to make it _NoInputs)
|
2020-07-29 15:32:25 +02:00 |
|
omar
|
70fa37527d
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_draw.cpp
# imgui_internal.h
|
2020-07-29 15:15:14 +02:00 |
|
omar
|
218ff3a2a5
|
Internals: Backport one ->WasActive test in NavRestoreLastChildNavWindow() from 9bf6509c6 + minor/shallow bits from docking branch.
|
2020-07-29 15:11:24 +02:00 |
|
omar
|
c7f5876f8a
|
Internals: backport window HitTestHole code from docking branch + RenderRectFilledWithHole() helper. (#1512, #3368)
|
2020-07-29 15:03:52 +02:00 |
|
omar
|
fdc526e8f8
|
Stop advertisting for Drag v_min>v_max which was introduced in 1.73 likely for 0537ac00 then made unnecessary with 32c33c66 , added undocumented ImGuiItemFlags_ReadOnly as possible replacement (unused), (#211)
|
2020-07-23 18:19:11 +02:00 |
|
omar
|
b335225caa
|
Internals: Extract ImFontAtlasBuildRender1bppRectFromString() out of ImFontAtlasBuildRenderDefaultTexData() + minor renaming, comments
|
2020-07-22 17:31:59 +02:00 |
|
omar
|
f79f0e42f7
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# examples/imgui_impl_opengl3.cpp
# imgui.h
|
2020-07-14 18:38:47 +02:00 |
|
omar
|
3a6c9907cd
|
Texture-based thick lines: Minor tweaks and rename toward merging in master. Changes to allow changing AA_SIZE (disable texture path).
|
2020-07-08 20:18:41 +02:00 |
|
omar
|
78d6bdf080
|
Texture-based thick lines: Remove unnecessary indirection in fetching UV data, removed lerp call, renames, tweaks.
|
2020-07-08 17:38:02 +02:00 |
|
Ben Carter
|
403bf45245
|
Texture-based thick lines: Allow interpolation between textures for non-integer line widths
|
2020-07-08 17:38:01 +02:00 |
|
omar
|
222b7ddbfa
|
Texture-based thick lines: Tweaks, fix for truetype builder.
|
2020-07-08 17:38:01 +02:00 |
|
Ben Carter
|
741ab74b55
|
Texture-based thick lines: Improvements to code for drawing anti-aliased lines using textures
Moved line width into a constant
Removed test code (now in imgui-tests)
Improved matching between geometry and texture rendering at non-integer sizes
|
2020-07-08 17:38:01 +02:00 |
|
Ben Carter
|
1d3c3070d8
|
Texture-based thick lines: Initial version of AA line drawing using textures (press SHIFT to enable)
|
2020-07-08 17:38:01 +02:00 |
|
omar
|
fc9d6b6cb5
|
Docking: Added experimental flags to perform more docking filtering and disable resize per axis. Designed for toolbar patterns.
The local/shared flags specs, saving and inheriting rules are pretty inconsistent at the moment.
|
2020-06-30 19:55:59 +02:00 |
|
omar
|
ab4ef822f0
|
Version 1.78 WIP
|
2020-06-30 16:56:09 +02:00 |
|
omar
|
90ea7e2f2f
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
|
2020-06-30 16:43:16 +02:00 |
|
Rokas Kupstys
|
0738611559
|
Misc: Bunch of code formatting changes suggested by a pass running 'astyle'
|
2020-06-30 16:37:21 +02:00 |
|
omar
|
dca7c3c629
|
TestEngine: Added hook to notify test engine of a removed imgui context.
|
2020-06-29 20:16:55 +02:00 |
|
omar
|
ddabfc3477
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
|
2020-06-29 17:15:40 +02:00 |
|
omar
|
9418dcb693
|
Version 1.77
+ fix minor clang-tidy warnings which seems reasonable
|
2020-06-29 15:54:28 +02:00 |
|