Rick Huang
a6857ede03
IO: fix writing to incorrect union section for MouseSource in AddMousePosEvent and AddMouseButtonEvent. ( #6727 , #2702 )
Technically may have had no side-effects unless non-standard alignment used.
1 year ago
ocornut
c06c796242
TreeNode: added note about ImGuiTreeNodeFlags_Bullet.
1 year ago
ocornut
1e17d59965
Backends: SDL2,SDL3: added ImGui_ImplSDL2_InitForOther() / ImGui_ImplSDL3_InitForOther().
e.g. WebGPU users use a similarly named functions from GLFW backend.
1 year ago
ocornut
983b95bc87
Demo: tweak explanation about static keyword. ( #6718 )
1 year ago
ocornut
d2c7cbcbf9
Misc: Made multiple calls to Render() during the same frame early out faster.
1 year ago
ocornut
ac64b65634
Render: draw dimmed background earlier to match docking code. ( #6716 )
Amend f422e78
1 year ago
ocornut
8f5ce73140
Tables: Made it possible to use SameLine(0,0) after TableNextColumn() or TableSetColumnIndex() in order to reuse line height from previous cell.
1 year ago
ocornut
1362fc0c56
Debug, Internals: Added DebugDrawCursorPos(), DebugDrawLineExtents() helpers.
1 year ago
ocornut
bc3c0ce772
Nav, TreeNode: Pressing Left with ImGuiTreeNodeFlags_NavLeftJumpsBackHere now goes through proper navigation logic: honor scrolling and selection. ( #1079 , #1131 )
Added a stack for this purpose which other features might build on (e.g. #2920 ). However this is currently gated by many tests and not a performance concern, but making stack happen all the time may be undesirable.
1 year ago
ocornut
edebb90a9a
Demo: amend/fix for MinGW
Amend 4d6fbaf
.
1 year ago
ocornut
4d6fbaff11
Demo: define standard PRI names we use (if missing) instead of defininig IM_PRId64, IM_PRIu64.
1 year ago
ocornut
226923fa7e
Metrics: Fixed "Drawlists" section and per-viewport equivalent appearing empty (regression from c649aca
).
(#6597 , #6475 , #6167 , #5776 , #5109 , #4763 , #3515 , #1860 )
1 year ago
ocornut
2b1fc6f765
Demo: Demonstrate out-of-order rendering using ImDrawListSplitter.
1 year ago
ocornut
cf3726bcbc
Internals: rename bg/fg drawlist holders in structs to reduce confusion.
1 year ago
EggsyCRO
52587c28d6
ImDrawList: Fixed OOB access in _CalcCircleAutoSegmentCount when passing excessively large radius to AddCircle(). ( #6657 , #5317 )
1 year ago
András Kucsma
f8c768760b
Typo fix: _NoHostExtenY -> _NoHostExtendY ( #6687 )
1 year ago
omar
c00e68102c
Docs: update CONTRIBUTING.md
1 year ago
Johannes Barthelmes
b7a7d673b9
Fixed an integer overflow and div-by-zero in SliderInt() when v_max is INT_MAX ( #6675 , #6679 )
1 year ago
ocornut
d6d94d90bf
Version 1.89.9 WIP
+ Minor typo fixes
1 year ago
ocornut
f7eea63872
Version v1.89.8
1 year ago
ocornut
ab490dc7b8
Fonts: Amends for support for OpenType SVG fonts using lunasvg ( #6591 , #6607 )
1 year ago
sakiodre
2ad8c60abc
Fonts: Added support for OpenType SVG fonts using lunasvg ( #6591 , #6607 )
1 year ago
ocornut
19ae142bdd
Mark alternative ImColor constructors as constexpr, second attempt ( #6656 )
Earlier 7c5b0e8
broke with VS2015 and some other MingGW/GCC setups.
1 year ago
ocornut
dc2b0a2823
Disable -Wreserved-identifier warning on Clang (applying to member fields seems excessively weird).
1 year ago
ocornut
88a330ebef
Revert "Mark alternative ImColor constructors as constexpr ( #6656 )"
This reverts commit 7c5b0e8292
.
1 year ago
Sascha Willems
fa2f1bfbb0
Examples: Vulkan: Fixed Vulkan descriptor pools. ( #6642 )
Only use required no. of types and sets
1 year ago
EggsyCRO
7c5b0e8292
Mark alternative ImColor constructors as constexpr ( #6656 )
1 year ago
ocornut
eefc9035f0
Fonts: ImFontConfig::OversampleH now defaults to 2 instead of 3.
1 year ago
ocornut
c87b9fdb15
Docs update. Improved Fonts troubleshooting section.
1 year ago
Johel Ernesto Guerrero Peña
556ce9f543
imgui_stdlib: Fix warning ( #6658 )
1 year ago
ocornut
79d6f4e211
Misc: Avoid stb_textedit.h reincluding string.h while in a namespace. ( #6653 , #4791 )
1 year ago
septag
f1781c20a3
Added IMGUI_DISABLE_STB_SPRINTF_IMPLEMENTATION config macro to disable stb_sprintf implementation ( #6626 )
1 year ago
ocornut
1109de3827
Tooltips: fixed ImGuiHoveredFlags_ForTooltip conflicting with ImGuiHoveredFlags_NoNavOverride since 10c7709f
. ( #6622 , #1485 )
1 year ago
ocornut
db66e33e9e
Tables: fixed GetContentRegionAvail().y report not taking account of lower cell padding or of using ImGuiTableFlags_NoHostExtendY. ( #6619 )
Made GetContentRegionMax() fully defer to WorkRect when inside a table container.
1 year ago
ocornut
2bc5d17ac3
Tables: fixed calculation of multi-instance shared decoration/scrollbar width of scrolling tables. ( #5920 , #6619 )
Avoid width variation when resizing down a table hosting a child window.
+ shallow tweak to GetContentRegionMax().
1 year ago
scorpion-26
e5977f05d8
Backends: GLFW: revert support for GLFW_CURSOR_DISABLED, let user use ImGuiConfigFlags_NoMouse. ( #5625 , #6609 )
1 year ago
ocornut
d342ec10cc
Overlap, IsItemHovered: clarification on using IsItemHovered() on a non-reactive item after a reactive overlappable one. ( #6610 )
1 year ago
ocornut
52125a54a5
Tables: added TableGetHoveredRow() in imgui_internal.h. ( #6250 , #6347 , #6588 , #3740 )
Works with one-frame delay inconsistent with other functions, may be too bug-prone.
2 years ago
ocornut
77eba4d0d1
CI: resume using latest Emscripten
Change for #6602 broke, supposedly because using old version of emsdk.
Initial reason for locking 3.1.37 was 3.1.38 had a bug, now fixed https://github.com/emscripten-core/emscripten/issues/19363
1 year ago
williamhCode
3dc3aef8a4
Backends: WebGPU: fix webgpu changes for Dawn. ( #6602 , #6188 )
1 year ago
ocornut
0e8eb8c48e
Removed _MSC_VER <= 1500 checks for Visual Studio 2008 or earlier.
Our codebase requires VS2012+ since a while.
1 year ago
ocornut
863ac31f01
Doc: various tweaks + tweak imconfig comments.
1 year ago
ocornut
33e13c85e1
Backends: Made all backends sources files support global IMGUI_DISABLE. ( #6601 )
1 year ago
ocornut
6888e6cdff
ImDrawData: call _PopUnusedDrawCmd() later. as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). ( #6406 , #4879 , #1878 )
Amend/fix dbeeeae
for docking.
+ Build fix when using IMGUI_DISABLE_DEBUG_TOOLS
1 year ago
ocornut
dbeeeae593
ImDrawData: Slight refactor so internal logic uses same logic as AddDrawList(). ( #6406 , #4879 , #1878 )
# Conflicts:
# imgui.cpp
# imgui_internal.h
1 year ago
ocornut
1a9ddd2396
ImDrawData: added AddDrawList() helper function. ( #6406 , #4879 , #1878 )
1 year ago
ocornut
c649aca20a
ImDrawData: changed CmdLists from raw array to ImVector<> owned by ImDrawData itself. Faclitate user-manipulation of the array ( #6406 , #4879 , #1878 ) + deep swap. ( #6597 , #6475 , #6167 , #5776 , #5109 , #4763 , #3515 , #1860 )
+ Metrics: avoid misleadingly iterating all layers of DrawDataBuilder as everything is flattened into Layers[0] at this point.
# Conflicts:
# imgui.cpp
# imgui_internal.h
1 year ago
ocornut
cc4c37dbac
Nav: PageUp/PageDown always set NavJustMovedTo even when landing on same spot (which can trigger a selection).
This is mostly expected for range-select.
+ Rename ImGuiNavMoveFlags_Tabbing -> ImGuiNavMoveFlags_IsTabbing
1 year ago
ocornut
b7cdb5a31e
Scrollbar: layout needs to take account of window border size, so a border size will slightly reduce scrollbar size. ( #2522 )
Rework/revert intent of c1a61d25a
.
1 year ago
ocornut
5ce636b0ba
Tweak to accomodate for build* directories anywhere.
1 year ago