Commit Graph

  • 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle' Rokas Kupstys 2020-06-30 15:31:54 +0200
  • dca7c3c629 TestEngine: Added hook to notify test engine of a removed imgui context. omar 2020-06-29 20:10:59 +0200
  • ddabfc3477 Merge branch 'master' into docking omar 2020-06-29 17:15:40 +0200
  • 9418dcb693 Version 1.77 v1.77 omar 2020-06-29 15:09:55 +0200
  • 122febcdbf IO: Added storage for PenPressure (unused by core library, to facilitate experiments) (#2372) omar 2020-06-29 15:03:11 +0200
  • f4f04cb5ec Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly. omar 2020-06-25 22:58:23 +0200
  • dd02a180b5 Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly. omar 2020-06-25 22:58:23 +0200
  • d7ef56dca2 Windows: Fix unintended window size changes when resizing windows close to main viewport edges. Rokas Kupstys 2020-06-24 14:00:35 +0300
  • 6b0cf2e6ae Windows: Fix unintended window size changes when resizing windows close to main viewport edges. Rokas Kupstys 2020-06-24 14:00:35 +0300
  • 45a7cf47ab FAQ update, removed redundant block in imgui.cpp omar 2020-06-25 16:44:06 +0200
  • 5628416bd3 Merge branch 'master' into docking omar 2020-06-25 14:03:40 +0200
  • fed80b9537 Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow(). omar 2020-06-19 15:26:02 +0200
  • 5acf6d861a Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen(). omar 2020-06-19 15:17:56 +0200
  • 1c35750ee0 Added ImGuiCond_None for consistency and for generated bindings needing this for enums mapping. omar 2020-06-23 19:45:31 +0200
  • 7538bbabb6 Demo: Commented out ideas on another way to center a window. omar 2020-06-23 19:01:40 +0200
  • e1d7e14717 Viewports: used main viewport for centering (wip), clarified the meaning of how ImGuiPlatformMonitor WorkPos/WorkSize should be set if unknown, added asserts. omar 2020-06-23 18:31:44 +0200
  • a616ff5d4a BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091) omar 2020-06-23 17:52:13 +0200
  • b83a1f3b00 BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091) omar 2020-06-23 17:52:13 +0200
  • 68389200c4 Internals: Comments about CalcWrapWidthForPos() (#778) omar 2020-06-23 16:12:19 +0200
  • e0ec69d84b Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (#2464, #1390) omar 2020-06-23 15:47:07 +0200
  • 76e40fe5d1 Docking: Fix misuse of PushClipRect in UpdateWindowManualResize(). (#3311) omar 2020-06-20 22:06:44 +0200
  • 20d61f5f62 Merge branch 'master' into docking omar 2020-06-20 22:06:01 +0200
  • 1a1dcea1a0 Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. (#3311) omar 2020-06-20 22:03:50 +0200
  • 99f68d7958 Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks. omar 2020-06-19 10:56:54 +0200
  • 9c2a36f573 Internals: clarified the code for ClampWindowRect(). omar 2020-06-19 10:08:05 +0200
  • 8ead38c100 Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version. omar 2020-06-18 16:33:23 +0200
  • 704723744e Disabled latest overzealous warnings from Clang omar 2020-06-18 16:19:51 +0200
  • b1d8309abc Added ImGuiTabItemFlags_NoTooltip for individual Tab Item. Louis Schnellbach 2020-06-18 15:18:14 +0200
  • 078571b7a9 Popups: added comments, reorganized the functions in imgui.h ocornut 2020-06-16 23:05:01 +0200
  • 6e138504c1 Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. (#1636) ocornut 2020-06-16 19:32:21 +0200
  • 37eb89371b Popups: Internals: Added IsAnyPopupOpen(). ocornut 2020-06-16 18:46:14 +0200
  • 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) ocornut 2020-06-16 16:50:28 +0200
  • 1dfd0634cb Internals: Allow ItemHoverable() to be used with id==0 to facilitate high-level read-only hover test in widget code. ocornut 2020-06-15 19:06:20 +0200
  • 99ab521024 Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point ocornut 2020-06-15 22:06:45 +0200
  • c658cba22b Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing. ocornut 2020-06-15 16:18:30 +0200
  • 90c0c0c163 Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49) omar 2020-06-13 15:48:05 +0200
  • d3b37180a3 ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex. Ben Carter 2020-06-13 14:14:07 +0200
  • 2665288b30 Merge branch 'master' into docking ocornut 2020-06-11 11:36:38 +0200
  • a933cc4f4d Documentation update ocornut 2020-06-11 09:52:46 +0200
  • 64d8d302fb ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases. ocornut 2020-06-10 19:16:06 +0200
  • 16da8e6da6 Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125)" ocornut 2020-06-10 17:54:19 +0200
  • 53f0f97273 Added FAQ entry about DPI. Added Japanese font loading example. ocornut 2020-06-09 17:29:26 +0200
  • 40b799023b Docs: Update fonts.md (#2861) + update all references to FONTS.txt ocornut 2020-06-09 16:29:00 +0200
  • a72754886f Docs: Initial draft of fonts documentation (#2861) Scott 2020-06-09 16:10:37 +0200
  • 9b3ce494fd Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125) ocornut 2020-06-08 22:38:19 +0200
  • 84862ec78e ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where changing channels with different TextureId, VtxOffset would incorrectly apply new settings to draw channels. (#3129, #3163) ocornut 2020-06-08 20:53:11 +0200
  • 3bef743df4 ImDrawList: Clarifying and guarateeing that CmdBuffer.back()->UserCallback should be always be NULL. ocornut 2020-06-08 19:06:55 +0200
  • b1f2eacdf3 ImDrawList: Prefixed internal functions with underscore, renamed UpdateClipRect() to _OnChangedClipRect(), UpdateTextureID() -> _OnChangedTextureID() ocornut 2020-06-08 18:38:23 +0200
  • e35a813d57 ImDrawList: Separating PrimXXX sections from more internals helper in the header file. ocornut 2020-06-08 18:35:13 +0200
  • 117d57df5b ImDrawList: Additional comments and extracted bits into ImDrawList::PopUnusedDrawCmd() ocornut 2020-06-08 18:21:10 +0200
  • a6bb047bab ImDrawList: Store header/current ImDrawCmd in instance to simplify merging code. Amend 0320e72, toward #3163, #3129 ocornut 2020-06-08 15:22:44 +0200
  • 57191fe3d0 Comments about limiting WindowRounding to a reasonable size. ocornut 2020-06-08 14:17:49 +0200
  • f6120f8e16 ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where starting a split when current VtxOffset was not zero would lead to draw commands with wrong VtxOffset. (#259 ocornut 2020-06-06 21:31:31 +0200
  • 41f47c853b ImDrawList: Amend 0320e72 removed an unnecessary test. ocornut 2020-06-06 20:35:29 +0200
  • 8baa4ccff5 Merge branch 'master' into docking ocornut 2020-06-06 20:31:24 +0200
  • 0320e7257b ImDrawList: Small refactor to create empty command when beginning the frame, allowing to simplify some functions. ocornut 2020-06-06 20:25:56 +0200
  • 003153b3ac ImDrawList: Tweaks to make style consistent (using pointers, same local names). Added comments. Should be no-op. ocornut 2020-06-06 19:52:41 +0200
  • e22e3f300a ImDrawList: Fixed an issue when draw command merging or cancelling while crossing the VtxOffset boundary would lead to draw command being emitted with wrong VtxOffset value. (#3129, #3163, #3232) thedmd 2020-06-06 16:37:07 +0200
  • 78d5ccfb90 ImDrawList: PushColumnsBackground(): Fixed incorrect assert. (#3163) ocornut 2020-06-06 16:44:31 +0200
  • 5af8a8c7e8 CI: Extra warnings for builds with Clang. Backends: OpenGL3: Fix sign conversion warnings. Rokas Kupstys 2020-06-05 13:04:55 +0300
  • dc49b14e29 Misc: Fix examples of using other OpenGL3 bindings in Makefiles. Rokas Kupstys 2020-06-05 14:47:49 +0300
  • 6eb66fbef3
    Backends: Win32: Cache the result of a windows version check. (#3283) Mark Jansen 2020-06-05 01:23:18 +0200
  • 79fbab543d Minor fix to avoid undefined behavior sanitizer triggering (#3276) ocornut 2020-06-04 18:59:04 +0200
  • 53dfccbe4b imgui_freetype: Fix for rare case where FT_Get_Char_Index() succeed but FT_Load_Glyph() fails. (#618) ocornut 2020-06-04 17:53:41 +0200
  • 5e976e9b05
    Title capitalization (#3280) omar 2020-06-03 22:04:14 +0200
  • 41e8837f59 Comments, adding some spacing in ImVec2() constructors. ocornut 2020-06-02 18:13:54 +0200
  • 3f26a07ee1 Backends: OpenGL: Fixed loader auto-detection to not interfere with ES2/ES3 defines. (#3246) Giovanni Funchal 2020-05-21 12:49:06 +0100
  • 5d472c4895 Merge branch 'master' into docking + fixes for #3259 ocornut 2020-05-25 18:32:15 +0200
  • 5ddf60d8ce Commit to facilitate branches merges ocornut 2020-05-25 18:28:25 +0200
  • a06eb83359 Examples: GLFW+Vulkan, SDL+Vulkan: Fix for handling of minimized windows. (#3259) ocornut 2020-05-25 15:31:33 +0200
  • 0fe5170bc4 Viewports: Report minimized viewports as zero DisplaySize to be consistent with main branch + comments (#1542) ocornut 2020-05-25 16:28:55 +0200
  • 6b688561aa CI: Test building without C++ runtime on GCC/Clang. Rokas Kupstys 2020-05-25 13:25:22 +0300
  • bb2529dd48 Backends: SDL: Report a zero display-size when window is minimized, consistent with other backends. ocornut 2020-05-25 12:23:49 +0200
  • a056603d8b Backends: Vulkan: Rename internal helper ImGui_ImplVulkanH_CreateWindow to ImGui_ImplVulkanH_CreateOrResizeWindow ocornut 2020-05-25 12:05:11 +0200
  • 9c209d5a90 Minor amend 9028088 (#3261) ocornut 2020-05-25 11:42:20 +0200
  • 43f79aa210 Backends: OSX: import the glfw workaround to avoid missing mouse clicks. (#3261) Nicolas Burrus 2020-05-25 08:27:17 +0200
  • 39d17ca07f Examples: Apple: catch events from the right and other mouse buttons when using Cocoa. (#3260) Nicolas Burrus 2020-05-25 07:34:12 +0200
  • d29157ce58 Moved static array with non-trivial constructors outside of function seems to remove requirement of linking with libstdc++ on some compilers. omar 2020-05-24 12:32:31 +0200
  • c8cde28cf3 IO: AddInputCharacters function ignore 0 input. (#3252) omar 2020-05-20 17:56:08 +0200
  • f44962c01a
    Backends: Allegro: Don't call AddInputCharacter if the pressed key has no character. (#3252) Espyo 2020-05-20 16:48:21 +0100
  • 75bbbda645 Examples: Update comments to get SDL2 package with msys2's pacman (#3251) omar 2020-05-20 11:44:00 +0200
  • 615e9ae345 Docking: Fix undocking (#3243), amend 7b3d3798 (#1738) ocornut 2020-05-18 15:08:47 +0200
  • 417ac68f82 Internals: AddPolyline: Add spaces for consistency, renaming. ocornut 2020-05-18 11:55:36 +0200
  • 3b3af6b731 Docking: Fix extraneous function declaration (#3236) + moved some other declarations in imgui_internal to facilitate moving docking code. omar 2020-05-16 16:11:42 +0200
  • e4d8267188 Merge branch 'master' into docking omar 2020-05-15 11:21:29 +0200
  • 39c978f499
    Fix typo/bug introduced by 0679e056 (#3231, #3209, #1829, #946, #413) Mr. Metric 2020-05-15 01:51:51 -0700
  • 1cd32d3afe Docking: moving small docking context to imgui_internal.h, removed unnecessary indirection, renaming. omar 2020-05-14 00:15:14 +0200
  • 476daf9aac Settings: Added ReadInitFn pre-load handler. omar 2020-05-13 20:28:34 +0200
  • 5fdfa32cce Update README.md omar 2020-05-12 15:42:29 +0200
  • 03ea87ea28 Backends, Win32: Request monitor update when dpi awarness is enabled to make sure they have the correct dpi settings. Chris Savoie 2020-05-08 13:02:15 -0700
  • 6b80bd9cc3 Fix GetGlyphRangesKorean() end-range to end at 0xD7A3 (instead of 0xD79D). (#348, #3217) Maru 2020-05-10 07:01:54 +0900
  • c46b79846c Metrics: Fix metrics crash with viewports. Chris Savoie 2020-05-09 22:18:10 -0700
  • 6636cb9f2f Viewports: Don't set ImGuiViewportFlags_NoRendererClear when ImGuiWindowFlags_NoBackground is set. (#3213) omar 2020-05-11 17:29:50 +0200
  • a6f4b0fd70 Nav, Menus: Fix vertical wrap-around in menus or popups created with multiple appending calls to BeginMenu()/EndMenu() or BeginPopup/EndPopup(). (#3223, #1207) Rokas Kupstys 2020-05-11 13:58:40 +0300
  • 7b3d379819 FocusWindow(NULL) correctly steal active id from previous window. (#1738) amend b0a9bbf6 omar 2020-05-08 18:36:05 +0200
  • 685ca27d84 Backends: OpenGL: On OSX, if unspecified by app, made default GLSL version 150. (#3199) Albert Vaca 2020-05-08 17:29:14 +0200
  • 1e7672acf4 Backends: DX12: Fixed OBJECT_DELETED_WHILE_STILL_IN_USE on viewport resizing. (#3210) Tested with detaching/attaching a viewport and resizing it. DX12 debug layer is clean. Ivan Zinkevich 2020-05-07 23:50:51 +0300
  • 8596f2b0fc Merge branch 'master' into docking omar 2020-05-08 17:07:40 +0200
  • 4f33dd15c4 Internals: stand-in for large branches to facilitate merging. omar 2020-05-08 16:55:37 +0200
  • 5f752a5ba9 Internals: shuffling some sections (2) omar 2020-05-08 16:30:14 +0200