ocornut
6f171a066d
Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overrided back to true when navigation is enabled. ( #6997 )
11 months ago
Chris Gregory
1f3090a48d
Backends: SDL3: Fix indent ( #7062 )
11 months ago
ocornut
86891b0986
Backends: Android: ImGui_ImplAndroid_HandleInputEvent() takes a const AInputEvent* ( #7060 )
11 months ago
ocornut
f37f6f67f6
Windows: BeginChild(): Fixed auto-resizing erroneously limiting size to host viewport minus padding. ( #7063 )
12 months ago
ocornut
bce4db00bc
Drag and Drop: Fixed drop target highlight on items temporarily pushing a widened clip rect. ( #7049 , #4281 , #3272 )
12 months ago
sakiodre
65a10410e3
Docs: Add suggestion to turn of char8_t behavior for C++20 ( #7025 )
12 months ago
ocornut
61b8197942
Misc: Renamed some defines in imstb_textedit.h to avoid conflicts when using unity/jumbo builds.
Bitting the bullet, as we rarely update this (and it is rarely updated) and it we may replace it anyhow.
12 months ago
ocornut
3733b5064e
Backends: SDL3: Fixed unused variable warning on master on some targets. ( #7000 )
12 months ago
codefrog2002
c5c1c4134b
Backends: OpenGL3: imgui_impl_opengl3_loader.h: change #define ARRAY_SIZE to GL3W_ARRAY_SIZE to avoid external conflicts ( #7017 , #7018 )
12 months ago
ocornut
7bb0a525c3
Fixed text functions fast-path for handling "%s" and "%.*s" to handle null pointers gracefully. ( #7016 , #3466 , #6846 )
12 months ago
ocornut
3d083dbe1a
Version 1.90.1 WIP
12 months ago
ocornut
b81bd7ed98
Version 1.90.0
w/ Changelog tweaks.
12 months ago
ocornut
623bff23ce
Windows: WindowMinSize not applied on AlwaysAutoResize window. (amend e2035a5
)
See "window_size_min" test. Waiting for a fuller simplification of this, probably for a future version.
12 months ago
ocornut
f298491a8a
Docs: amend/tweak details about using io.WantCaptureMouse. ( #7012 )
12 months ago
ocornut
5de1312e1c
SplitterBehavior: tweak to not assert due to floating point precision.
Not guaranting behavior: clamping makes output lossy, size_1+size_2 in theory may be instable but couldn't repro.
API probably needs rework anyhow (should redistribute from provided available space).
12 months ago
ocornut
afadf74a53
BeginChild: undo child name simplification as it reveal an issue with handling of ### in child names.
When the later is fixed we can re-enable this. Essentially reverts 8ee8513
.
12 months ago
ocornut
46843b683b
Fonts: minor/shallow amends ( #6925 )
12 months ago
thedmd
ade4d0e08a
Fonts: added support for RasterizerDensity to FreeType based atlas generator. ( #6925 )
1 year ago
thedmd
ed29ff08ba
Fonts: added support for RasterizerDensity in built-in atlas generator. ( #6925 )
1 year ago
thedmd
abfb9269b5
Fonts: added RasterizerDensity to ImFontConfig. ( #6925 )
1 year ago
ocornut
add915bdc4
Backends: SDL3: Updates for recent API changes. ( #7000 )
12 months ago
omar
4ad5817aac
Update backends/language lists
e.g. for #6579
12 months ago
ocornut
75c46a3930
Demo: Partly fix resizing constraint demo. ( #6210 , #5627 )
Broken by 2569c6474
12 months ago
ocornut
fe6544622b
SetNextWindowSizeConstraints() clarified parameters, fixed comments. ( #1139 , #3186 , #3270 )
12 months ago
ocornut
454f36d2af
Removed 'bool border' legacy versions of BeginChild() as they seemingly have no value other than confusing user and IDE.
Amend 7713c29
(was for #1666 , #1496 , #1395 , #1710 )
1 year ago
ocornut
44dbad64d7
Backends: Vulkan: Fixes for VK_NO_PROTOTYPES.
Amend for 6e7b43b,79a9e2f
1 year ago
ocornut
79a9e2fdfb
Backends: Vulkan: (Breaking) full font upload is performed by ImGui_ImplVulkan_CreateFontsTexture(), no need for user code to create or provide a command-buffer. Removed ImGui_ImplVulkan_DestroyFontUploadObjects(). ( #6943 , #6715 , #6327 , #3743 , #4618 )
See changes in example_glfw_vulkan/main.cpp and example_sdl2_vulkan/main.cpp for reference.
1 year ago
ocornut
6e7b43b6c7
Backends: Vulkan: Added ImGui_ImplVulkan_DestroyFontsTexture(), made ImGui_ImplVulkan_CreateFontsTexture() destroy previous one. ( #6943 , #6715 , #6327 , #3743 , #4618 )
1 year ago
ocornut
d0da79c572
Defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS now automaticaly define IMGUI_DISABLE_OBSOLETE_KEYIO. ( #4921 )
1 year ago
ocornut
ab522dd18c
Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. ( #4537 )
1 year ago
ocornut
0f50b52da4
Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" instead of "libGL.so.1". ( #6983 )
1 year ago
ocornut
5170a9d6dc
Tables: Internals: renamed TableDrawContextMenu() to TableDrawDefaultContextMenu() for clarify.
Followup to fea52e2
1 year ago
ocornut
fea52e29aa
Tables: added flags to TableDrawContextMenu() in order to display selected sections + added internal table->DisableDefaultContextMenu = true way to submit your own contents.
Amend 088ddef
1 year ago
ocornut
0d3b468cb3
BeginChild(): added ImGuiChildFlags_AutoResizeX, ImGuiChildFlags_AutoResizeY, ImGuiChildFlags_AlwaysAutoResize + support for SetNextWindowSizeConstraints(). ( #1666 , #1395 , #1496 , #1710 ) + Demo
Note that child don't report ideal content size to parent so nesting may be difficult.
Note 4e4042b
simplified SkipItems logic.
Note e2035a5
standardizing WindowMinSize application on child
1 year ago
ocornut
44345c2108
Better documented the difference between BeginListBox() and BeginChild() w/ ImGuiChildFlags_FrameStyle.
BeginListBox() can't yet expose child flags because coarse clipping require query of stored size (same issue as with adding resize support to Tables).
1 year ago
ocornut
fa4c49b4a7
BeginChild(): resizing is only clamped on axis where there's no scrollbar. Added an extra ResizeX in Demo->Simple Layout.
1 year ago
ocornut
cdbc21a191
BeginChild(): Added ImGuiChildFlags_FrameStyle as a replacement for BeginChildFrame(). ( #1666 , #1496 , #1395 , #1710 , #462 , #503 , #263 )
Effectively allows us to avoid extending BeginChildFrame() api to mimic BeginChild() new parameters.
1 year ago
ocornut
ab47efd9a0
Bits / comments
1 year ago
ocornut
561af15d67
Internal: Added owner aware variant of IsMouseDoubleClicked() for consistency.
Amend 4448d97
. Note that functions entry points will eventually be merged into one, so this is not a problem.
1 year ago
ocornut
376035fd01
Nav: fixed programmatic nav calls (e.g. SetKeyboardFocusHere() from storing io.KeyMods)
Note that the g.NavMoveKeyMods -> g.NavJustMovedToKeyMods chain is not used in this branch. Multi-select uses it.
1 year ago
ocornut
cfc71ab7c5
Made ImDrawCallback_ResetRenderState special value -8 instead of -1 so it is pointer aligned ( #6969 )
note https://github.com/dearimgui/dear_bindings/issues/56 may not be of direct use as-i.
1 year ago
ocornut
1ab63d925f
Undid some of the changes done by c95fbb4
because they are not compatible with docking code.
(Will cherry-pick this from docking to master)
# Conflicts:
# imgui.cpp
1 year ago
ocornut
c0bc43ccff
Offset values for ImGuiWindowFlags_NoNavInputs, ImGuiWindowFlags_NoNavFocus, ImGuiWindowFlags_UnsavedDocument.
(ABI breaking but we technically never supported ABI backward/forward compat, thought it is possible that some generated backends be affected)
1 year ago
ocornut
f1d1a8d32b
Windows: use relative mouse movement for border resize when the border geometry has moved. ( #1710 )
(e.g. resizing a child window triggering parent scroll) to avoid resizing feedback loop.
1 year ago
ocornut
9235352400
BeginChild: Added ImGuiChildFlags_ResizeX and ImGuiChildFlags_ResizeY. ( #1710 )
1 year ago
ocornut
34a0bc456e
BeginChild: Added ImGuiChildFlags_AlwaysUseWindowPadding, obsoleted ImGuiWindowFlags_AlwaysUseWindowPadding. ( #462 , (toward #1666 , #1496 , #1395 , #1710 )
(bonus: will also eventually free a window flag)
1 year ago
ocornut
7713c29258
BeginChild: Upgraded 'bool border = true' parameter to use a ImGuiChildFlags type and the ImGuiChildFlags_Border value. (toward #1666 , #1496 , #1395 , #1710 )
1 year ago
ocornut
88fec09715
ColorPicker4(): Fixed ImGuiColorEditFlags_NoTooltip when ImGuiColorEditFlags_NoSidePreview is also set. ( #6957 )
1 year ago
ocornut
313676d200
Settings: omit outputing Collapsed=0 in .ini file. Changelog + docs tweaks
1 year ago
ocornut
8ee85137d8
BeginChild(): Internal name used by child windows now omits the hash/id if the child window is submitted in root of id stack of parent window.
# Conflicts:
# docs/CHANGELOG.txt
# imgui.h
1 year ago