d33021d828
Settings: Made it possible to load window .ini data mid-frame. Added clear and post-read handlers. (#2573)
omar2020-05-07 21:28:17 +02:00
b6a04d7750
Settings: Added Clear Settings in Metrics. (#2188) + Preserve last loaded copy in internal buffer used for save (so it can be browsed easily).
omar2020-05-07 21:10:10 +02:00
9ee442d3f0
Metrics: Added a "Settings" section with some details about persistent ini settings. InputText: Assert early on null buffer.
omar2020-05-07 18:00:11 +02:00
510f301c9f
Internals: Removed seemingly unnecessary size_on_first_use arg to CreateNewWindow(), extracted code into ApplyWindowSettings.
omar2020-05-07 18:58:29 +02:00
0679e05677
Internals: Added code in TempInputScalar() to clamp values, NOT used by stock Drag/Float (#3209, #1829, #946, #413)
omar2020-05-07 12:14:49 +02:00
673d6df85f
Demo: Clamping font scale. Added helpers in demo. Comments. Update sponsors. (#3206)
omar2020-05-07 11:38:45 +02:00
f152fac4f1
Demo: Wrapped many (not all) code and comments lines to 120 characters to fit below GitHub viewer limit. (#3193)
omar2020-05-05 19:39:24 +02:00
419f905f91
Demo: Extracted some code out of ShowStyleEditor() into NodeFont().
omar2020-05-05 19:53:54 +02:00
11a3e75f47
Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). (#3183)
omar2020-05-04 20:46:20 +02:00
099091280f
Backends: DX10/DX11: Minor tweaks.
omar2020-05-04 11:32:58 +02:00
1e9abf60d1
Backends: Keep shader blobs as local variables. (#3176)
Silentandomar2020-04-28 21:53:46 +02:00
794bf7a28d
CI: Implement builds with IMGUI_DISABLE_WIN32_FUNCTIONS, IMGUI_DISABLE_FILE_FUNCTIONS, IMGUI_USE_BGRA_PACKED_COLOR IM_VEC2_CLASS_EXTRA, IM_VEC4_CLASS_EXTRA and building library as a DLL.
Rokas Kupstysandomar2020-04-29 13:32:16 +03:00
d5ce3b43ae
Backends: Vulkan: Fixed error in if initial frame has no vertices. (#3177)
omar2020-05-04 11:03:05 +02:00
a2454f2a45
Use __NEWLIB__ instead of __SWITCH__ and __CYGWIN__ for alloca.h-detection (#3070)
ClownacyandGitHub2020-04-28 15:15:00 +01:00
2593b6a1c8
Drag and Drop: Fix unintended fallback "..." tooltip during drag operation when drag source uses _SourceNoPreviewTooltip flags. (#3160)
Rokas Kupstysandomar2020-04-27 12:01:59 +03:00
73c30aa085
Backends: Vulkan: Don't skip drawing when there's no vertexes to ensure that user callbacks are still processed.
Chris Savoieandomar2019-07-04 18:28:34 -07:00
1fd9e131e4
TreeNode: Fixed bug where dragging a payload over a TreeNode() with either _OpenOnDoubleClick or _OpenOnArrow would open the node. (#143)
omar2020-04-15 13:06:05 +02:00
54b38d88f7
TreeNode: Fixed bug where BeginDragDropSource() failed when the _OpenOnDoubleClick flag is set. Added basic demo code. (Amend 05420ea)
omar2020-04-15 12:31:51 +02:00
e8c986b34e
Version 1.77 WIP
omar2020-04-14 14:55:50 +02:00
7ee623d9b1
Internals: FocusScope not inherited by popups, modals. Amend a5041c882ebe08be)
omar2020-04-12 18:58:06 +02:00
ec7294d890
Backends: OpenGL3: Fixed version check mistakenly testing for GL 4.0+ instead of 3.2+ to enable ImGuiBackendFlags_RendererHasVtxOffset, leaving 3.2 contexts without it. (#3119, #2866, #2852)
omar2020-04-12 18:01:10 +02:00
f7852fa8e8
Internals: Extracted GetWindowScrollbarRect() out of Scrollbar() and tidying up code to make it more obvious how to draw over scrollbars. (#3114)
omar2020-04-10 11:03:22 +02:00
fb70d90fef
Made default clipboard handlers for Win32 and OSX use a buffer inside the main context instead of a static buffer, so it can be freed properly on Shutdown. (#3110)
omar2020-04-09 13:34:39 +02:00
832fda8488
Fixed stray end of line blanks, added comments in .editorconfig, tweaked some headers.
omar2020-04-07 14:46:46 +02:00
4e7ceb5f90
Plot: Internals: Added hovered index to PlotEx() function. (#2670)
omar2020-04-07 12:11:06 +02:00
e9366b4c73
Regretfully moved .gitignore file from examples/ into root directory because OSX keeps pooping its DS_Store/ artifacts everywhere. (#3088)
omar2020-04-07 11:40:29 +02:00
cc0e43e631
Backends: Comments next to include, misc minor comments/tweaks, fix imgui_impl_osx.h using IMGUI_API instead of IMGUI_IMPL_API. (#3105)
omar2020-04-07 11:02:29 +02:00
752436219d
Metrics: Made Tools section more prominent, added options, made mesh viewer more accessible.
omar2020-04-06 18:07:42 +02:00
cc0d4e346a
Misc: Added an explicit compile-time test for non-scoped IM_ASSERT() macros to redirect users to a solution + fixed our stb wrappers.
omar2020-04-03 12:14:03 +02:00
b7e1b13ca7
Update docs, FAQ, comments (mainly related to io.WantCaptureMouse / WantCaptureKeyboard flags).
omar2020-04-02 21:53:10 +02:00
11116eee80
Columns: undid the change in 1.75 were Columns()/BeginColumns() were preemptively limited to 64 columns with an assert. (#3037, #125)
omar2020-04-02 20:01:48 +02:00
3490046c97
Nav: Disabled clipping g.NavId and fixed interactions with ImGuiListClipper. (#787)
omar2020-04-02 17:36:23 +02:00
fd56de1144
Nav: Store key mods associated to a nav request (for range_select) + use io.KeyMods.
omar2020-04-02 16:45:57 +02:00
05420ea2cf
TreeNode: Made clicking on arrow with _OpenOnArrow toggle the open state on the Mouse Down event rather than the Mouse Down+Up sequence (this is rather standard behavior).
omar2020-03-31 19:29:46 +02:00
ec2a24a5f1
Selectable: Allow using ImGuiSelectableFlags_SpanAllColumns in other columns than first. Comments. (#125)
omar2020-03-26 20:15:44 +01:00
5be5add1ad
Selectable: Removed extraneous WindowPadding.x worth of width when auto-sized selectable label goes off available width (would not be noticeable) + Renamed ImGuiSelectableFlags_DrawFillAvailWidth to ImGuiSelectableFlags_SpanAvailWidth.
omar2020-03-26 18:03:43 +01:00
b4d1287011
Selectable: Clarifying the code around use of ImGuiSelectableFlags_DrawFillAvailWidth (with intent of trying to remove it).
omar2020-03-26 16:58:24 +01:00
ac4262ad01
Backends: OpenGL3: Support older 2.x series of glbinding as loader for OpenGL3 (#3061)
David Kalnischkiesandomar2020-02-20 15:49:15 +01:00
4986dba270
Scrolling: Fixed scrolling centering API leading to non-integer scrolling values and initial cursor position. (#3073)
omar2020-03-24 11:56:21 +01:00
110f506ec0
Comments in imgui.h
omar2020-03-19 18:35:08 +01:00
fbc93debf9
Internal: Refactor: Moved NewFrameSanityChecks as ErrorCheckNewFrameSanityChecks()
omar2020-03-19 12:27:16 +01:00
ccf0cc8584
Added ImGuiKeyModFlags. Added additional checks in EndFrame() to verify that io.KeyXXX values have not been tampered with between NewFrame() and EndFrame().
omar2020-03-19 12:24:32 +01:00
d8824f9a9a
CI: Clarify purpose of example_null, Changelog
omar2020-03-19 11:10:58 +01:00
bdd31ec4db
Internal: Refactor: Moved RenderColorRectWithAlphaCheckerboard() to imgui_draw.cpp, tweaked signature.
omar2020-03-18 22:46:12 +01:00
0bbbbe0f68
Internal: Refactor: Moved RenderArrow, RenderBullet, RenderCheckMark to imgui_draw.cpp, changed RenderCheckMark to avoid using ImGui context
omar2020-03-18 22:36:51 +01:00
75a65f6fb0
CI: Test build with large indices, obsolete functions disabled and demo/metrics windows disabled.
Rokas Kupstysandomar2020-03-16 10:04:36 +02:00
339ffd25a9
Internals: Renamed ImBoolVector to ImBitVector, added low-level loose function to replicate the behavior include a help SetBitRange() function.
ocornut2020-03-13 18:42:10 +01:00
1d5612a05e
Internal: Added two missing ImVec2 operators for consistency. Split up DragDropWithinSourceOrTarget
ocornut2020-03-12 17:05:35 +01:00
2dcf8df9f4
Internals: Shuffled some of the windows-specific includes to avoid duplication. Might have undesirable side-effects on some compilers, please report!
ocornut2020-03-07 15:51:50 +01:00
de37a0bfab
Internals: fix potential warning. Comments around include sections. Moved a few bits.
ocornut2020-03-07 15:35:44 +01:00
1b5b87a40e
Internals: Added #define NOMINMAX before windows.h include for single-compile-unit builds.
ocornut2020-03-07 15:19:51 +01:00
897704cb49
Menus: Tweak for first-level menu windows to be positioned regardless of MenuBarHeight() which is not stored in window, allowing undocumented modification of the menu bar height).
omar2020-03-02 20:18:43 +01:00
0283a6e566
ImFont: Demo, Store Used4kPagesMap[] map in ImFont to facilitate iteration on all codepoints with a large value of IM_UNICODE_CODEPOINT_MAX. (#2815)
omar2019-10-29 23:48:59 +01:00
8c683de33f
Internals: Refactor: Moved get height and contents regions functions, to Layout section. IF YOU GREAT CONFLICTS WHILE MERGING (NOT REBASING) THOSE 6 PREV COMMITS, TRY MERGING THEM INDIVIDUALLY 1 by 1 or 2 by 2 etc.
ocornut2020-03-03 16:25:42 +01:00
602df11f19
Internals: Refactor: Moved item width/size functions to Layout section.
ocornut2020-03-03 16:21:04 +01:00
6c1810e503
Internals: Refactor: Moved cursor position functions to Layout section.
ocornut2020-03-03 16:18:59 +01:00
3ce26f65d4
Internals: Refactor: Moved ItemAdd(), ItemSize(), BeginGroup(), EndGroup(), SameLine(), Indent(), Unindent() to Layout section.
ocornut2020-03-03 16:03:07 +01:00
caca55c642
Internals: Refactor: Moved code into a Styling section and some code into the Error Handling section.
ocornut2020-03-03 15:46:00 +01:00
2679bee28d
Internals: Refactor: Moved code out of NewFrame() into UpdateTabFocus() and UpdateSettings()
ocornut2020-03-03 15:23:51 +01:00