ocornut
|
093afd4f7f
|
Internals: Added Name to ImGuiDataTypeInfo + minor misc comments in BeginGroup().
|
2020-08-26 21:00:43 +02:00 |
|
ocornut
|
45499b8f2f
|
Window: Fixed using non-zero pivot in SetNextWindowPos() when the window is collapsed. (#3433)
|
2020-08-26 20:18:54 +02:00 |
|
ocornut
|
b30d33378d
|
Nav: Activate InputSource as Gamepad when pressing any of the digital d-pad button.
|
2020-08-26 12:41:05 +02:00 |
|
ocornut
|
8d71bc2132
|
Internals: Nav: shallow refactor.
|
2020-08-26 12:39:34 +02:00 |
|
ocornut
|
1e8b9f84da
|
Nav: Removed stateful NavMoveFromClampedRefRect and made it more explicit that nav move request from gamepad start from a clipped location.
|
2020-08-26 11:28:35 +02:00 |
|
ocornut
|
4448734041
|
ImVector: added max_size() to facilitate usage with sol2 binding generator (#3429)
|
2020-08-26 11:03:55 +02:00 |
|
ocornut
|
32be6c064b
|
InputText: Fixed using ImGuiInputTextFlags_Password with InputTextMultiline(). (#3427, #3428)
|
2020-08-25 20:08:24 +02:00 |
|
ocornut
|
5919a6fa89
|
Tab Bar: Keep tab item close button visible while dragging a tab (independent of hovering state).
Improve 08108cf
|
2020-08-25 19:28:29 +02:00 |
|
ocornut
|
08108cf9ee
|
Tab Bar: Hide tab item close button while dragging a tab.
|
2020-08-25 16:48:31 +02:00 |
|
omar
|
2e50d0706b
|
Selectable: Tweaks. Added internal ImGuiSelectableFlags_NoPadWithHalfSpacing.
|
2020-08-24 16:31:00 +02:00 |
|
omar
|
d451f6cc30
|
Nav tweaks. Demo: Fixed drag and drop demo state (broken by f152fac4f1). Fixed incorrect format string (which would work without IMGUI_DISABLE_OBSOLETE_FUNCTIONS).
|
2020-08-24 14:56:50 +02:00 |
|
ocornut
|
7b0570d6ba
|
Revert "Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText()."
This reverts commit 640d1f60ce140e4c2bf858ac2f2e8a96d432e6a4.
|
2020-08-21 20:15:07 +02:00 |
|
ocornut
|
fdf952108d
|
Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText().
|
2020-08-21 19:17:44 +02:00 |
|
ocornut
|
df89a16d26
|
Examples: Vulkan: Reworked buffer resize handling, fix for Linux/X11. (#3390, #2626)
|
2020-08-21 15:29:57 +02:00 |
|
ocornut
|
9b50e691ed
|
TreeNode: Made clicking on arrow toggle toggle the open state on the Mouse Down event. Amend 05420ea2c.
|
2020-08-20 22:38:00 +02:00 |
|
ocornut
|
97dad66516
|
Metrics: Various tweaks, listing windows front-to-back, greying inactive items when possible.
|
2020-08-20 16:49:11 +02:00 |
|
ocornut
|
9262609eaf
|
Version 1.79 WIP
|
2020-08-20 16:46:44 +02:00 |
|
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.
|
2020-08-20 16:24:54 +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
|
024993adf9
|
Revert leftovers from 4c201994d4
|
2020-08-20 11:25:05 +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
|
5dc5610ad5
|
Docs: TODO, FAQ
|
2020-08-20 11:20:17 +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
|
3c65b650e8
|
Merge branch 'features/logarithmic_sliders'
|
2020-08-17 22:11:09 +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 |
|
omar
|
fb0f2ebd41
|
Drags, Sliders: Tweaks.
|
2020-08-17 22:10:42 +02:00 |
|
omar
|
f75b29e7be
|
Drags, Sliders: Added ImGuiDragFlags_NoInput/ImGuiSliderFlags_NoInput to disable turning widget into a text input with CTRL+Click or Nav Enter.
|
2020-08-17 22:10:42 +02:00 |
|
omar
|
8018623c5b
|
Drags, Sliders: Added ImGuiDragFlags_NoRoundToFormat / ImGuiSliderFlags_NoRoundToFormat flags (#642)
|
2020-08-17 22:10:41 +02:00 |
|
omar
|
170d02bd99
|
Drags, Sliders: Added ImGuiDragFlags_ClampOnInput/ImGuiSliderFlags_ClampOnInput flags to force clamping value when using CTRL+Click to type in a value manually. (#1829, #3209)
|
2020-08-17 22:10:41 +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 |
|
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
|
009276b6cb
|
Backends: Allegro 5: Fixed horizontal scrolling direction with mouse wheel / touch pads (#3394, #2424, #1463) [@nobody-special666]
Amend 7dea158175
+ Fix vsproj GUID
|
2020-08-10 15:31:48 +02:00 |
|
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?
|
2020-08-10 11:33:59 +02:00 |
|
omar
|
89ac87cd91
|
Internals: Added SetLastItemData, rename ImGuiItemHoveredDataBackup to ImGuiLastItemDataBackup.
|
2020-08-10 11:31:55 +02:00 |
|
ocornut
|
90b152f265
|
ImFontAtlas: Fixed multiple rebuild with same inputs erroneously increased ConfigDataCount. CI: Update Ubuntu 18.04 > 20.04 (motivated by #3369)
Fix Freetype warning.
|
2020-08-07 16:27:55 +02:00 |
|
ocornut
|
ede8825fb2
|
Examples: Vulkan: Fixed GLFW+Vulkan and SDL+Vulkan clear color not being set. Broken by a06eb833 (#3390)
|
2020-08-07 15:24:00 +02:00 |
|
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 #3291
|
2020-08-06 16:35:29 +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
|
fc61018b1c
|
Demo: Renamed "Layout" -> "Layout & Scrolling". Fixed usage of local struct as template class (c++11).
|
2020-08-05 17:10:06 +02:00 |
|
omar
|
473a01adb0
|
Scrolling: Avoid SetScroll, SetScrollFromPos functions from snapping on the edge of scroll limits. (#3379) + Demo: Rename "Layout" to "Layout & Scrolling".
|
2020-08-05 17:09:40 +02:00 |
|
omar
|
a24578ec09
|
Examples: Switch most VS projects to enable Edit & Continue by default (may need to upgrade projects to latest toolchain)
|
2020-08-05 15:02:30 +02:00 |
|
omar
|
db886f3953
|
Demo: Rework Clipping section. Fix for static analysis. Added bindings in Readme.
|
2020-08-05 10:43:42 +02:00 |
|
omar
|
963839373c
|
Demo tweaks + general removal of the word dummy were possible with no issues (kept the API call).
|
2020-08-03 21:31:42 +02:00 |
|
omar
|
55041ac3be
|
Demo: Removed thin triangle and aligned code.
|
2020-08-03 19:46:26 +02:00 |
|
omar
|
912c45ab23
|
Demo: Improve "Custom Rendering"->"Canvas" demo with a grid, scrolling and context menu.
|
2020-08-03 19:46:25 +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
|
5d87941451
|
Fixed ImFontConfig::GlyphExtraSpacing and ImFontConfig::PixelSnapH settings being pulled from the merged/target font settings when merging fonts, instead of being pulled from the source font settings.
|
2020-08-02 12:20:13 +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
|
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
|
bbd061538c
|
Internals: Drag/Sliders: simplified some code.
|
2020-07-24 13:00:56 +02:00 |
|
omar
|
b8c22bdb28
|
DragFloatRange2, DragIntRange2: Fixed an issue allowing to drag out of bounds when both min and max value are on the same value. (#1441)
|
2020-07-23 19:05:18 +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
|
e223bd8177
|
ImDrawList: changed AddCircle(), AddCircleFilled() default num_segments from 12 to 0.
|
2020-07-16 22:25:56 +02:00 |
|
omar
|
4be8155002
|
Style Editor: Added preview of circle auto-tessellation when editing the corresponding value..
|
2020-07-16 21:51:49 +02:00 |
|
omar
|
825f2ae455
|
Demo: Tweak "child windows" section. (#3318)
|
2020-07-16 17:20:24 +02:00 |
|
omar
|
eefae08261
|
Nav: Fixed clicking on void from not clearing focused window. Amend d31fe97f7. (#3344, #2880)
This would be problematic e.g. in situation where the application relies on io.WantCaptureKeyboard flag being cleared accordingly.
|
2020-07-14 18:36:35 +02:00 |
|
omar
|
550f110354
|
InputText, ImDrawList: Fixed assert triggering when drawing single line of text with more than ~16 KB characters. (#3349)
|
2020-07-12 23:51:13 +02:00 |
|
omar
|
fb7f6cab8c
|
Backends: Amend, docs + extra comments. (#3330, #3245)
|
2020-07-10 14:36:00 +02:00 |
|
omar
|
89685b346c
|
ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex.
Actual missing code for d3b37180a3, thanks @domgho!
|
2020-07-09 11:21:31 +02:00 |
|
omar
|
66336528c8
|
Merge branch 'features/tex_antialiased_lines' (#3245)
|
2020-07-08 20:20:07 +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 |
|
Omar
|
a07c8b6999
|
Texture-based thick lines: Fixes for AddCustomRect api, add IMGUI_HAS_TEXLINES define (temporarily) to facilitate working with test cases, Demo allows growing FrameBorderSize for testing
|
2020-07-08 17:38:02 +02:00 |
|
omar
|
222b7ddbfa
|
Texture-based thick lines: Tweaks, fix for truetype builder.
|
2020-07-08 17:38:01 +02:00 |
|
omar
|
a1d2c6fad9
|
Fixed invalid comment (#3327)
|
2020-06-30 19:00:31 +02:00 |
|
omar
|
ab4ef822f0
|
Version 1.78 WIP
|
2020-06-30 16:56:09 +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
|
9418dcb693
|
Version 1.77
+ fix minor clang-tidy warnings which seems reasonable
|
2020-06-29 15:54:28 +02:00 |
|
omar
|
122febcdbf
|
IO: Added storage for PenPressure (unused by core library, to facilitate experiments) (#2372)
|
2020-06-29 15:03:11 +02:00 |
|
omar
|
dd02a180b5
|
Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly.
|
2020-06-25 23:04:55 +02:00 |
|
omar
|
45a7cf47ab
|
FAQ update, removed redundant block in imgui.cpp
|
2020-06-25 16:44:06 +02:00 |
|
omar
|
fed80b9537
|
Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow().
|
2020-06-23 20:05:15 +02:00 |
|
omar
|
5acf6d861a
|
Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen().
# Conflicts:
# docs/CHANGELOG.txt
|
2020-06-23 20:00:32 +02:00 |
|
omar
|
1c35750ee0
|
Added ImGuiCond_None for consistency and for generated bindings needing this for enums mapping.
|
2020-06-23 19:45:31 +02:00 |
|
omar
|
b83a1f3b00
|
BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091)
|
2020-06-23 17:52:13 +02:00 |
|
omar
|
68389200c4
|
Internals: Comments about CalcWrapWidthForPos() (#778)
|
2020-06-23 16:29:48 +02:00 |
|
omar
|
e0ec69d84b
|
Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (#2464, #1390)
|
2020-06-23 15:47:07 +02:00 |
|
omar
|
1a1dcea1a0
|
Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. (#3311)
|
2020-06-20 22:04:04 +02:00 |
|
omar
|
99f68d7958
|
Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks.
|
2020-06-19 11:34:04 +02:00 |
|
omar
|
9c2a36f573
|
Internals: clarified the code for ClampWindowRect().
As a side-effect, some rounding error may be neutralized however this isn't the intent. (#3309)
|
2020-06-19 10:08:05 +02:00 |
|
omar
|
8ead38c100
|
Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version.
|
2020-06-18 17:02:24 +02:00 |
|
omar
|
704723744e
|
Disabled latest overzealous warnings from Clang
|
2020-06-18 16:19:51 +02:00 |
|
ocornut
|
078571b7a9
|
Popups: added comments, reorganized the functions in imgui.h
|
2020-06-16 23:39:00 +02:00 |
|
ocornut
|
6e138504c1
|
Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. (#1636)
|
2020-06-16 19:32:59 +02:00 |
|
ocornut
|
37eb89371b
|
Popups: Internals: Added IsAnyPopupOpen().
|
2020-06-16 18:46:25 +02:00 |
|
ocornut
|
d31fe97f74
|
Popups: Fix an edge case where programatically closing a popup while clicking on its empty space would attempt to focus it and close other popups. (#2880)
|
2020-06-16 17:10:47 +02:00 |
|
ocornut
|
1dfd0634cb
|
Internals: Allow ItemHoverable() to be used with id==0 to facilitate high-level read-only hover test in widget code.
|
2020-06-15 22:13:06 +02:00 |
|
ocornut
|
99ab521024
|
Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point
|
2020-06-15 22:12:38 +02:00 |
|
ocornut
|
c658cba22b
|
Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing.
|
2020-06-15 18:06:48 +02:00 |
|
omar
|
90c0c0c163
|
Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49)
Internals: Bits, comments, added ImRect::ToVec4()
|
2020-06-13 18:04:50 +02:00 |
|