Commit Graph

  • 40b799023b Docs: Update fonts.md (#2861) + update all references to FONTS.txt ocornut 2020-06-09 16:29:00 +02:00
  • a72754886f Docs: Initial draft of fonts documentation (#2861) Scott 2020-06-09 16:10:37 +02:00
  • 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 +02:00
  • 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 +02:00
  • 3bef743df4 ImDrawList: Clarifying and guarateeing that CmdBuffer.back()->UserCallback should be always be NULL. ocornut 2020-06-08 19:06:55 +02:00
  • b1f2eacdf3 ImDrawList: Prefixed internal functions with underscore, renamed UpdateClipRect() to _OnChangedClipRect(), UpdateTextureID() -> _OnChangedTextureID() ocornut 2020-06-08 18:38:23 +02:00
  • e35a813d57 ImDrawList: Separating PrimXXX sections from more internals helper in the header file. ocornut 2020-06-08 18:35:13 +02:00
  • 117d57df5b ImDrawList: Additional comments and extracted bits into ImDrawList::PopUnusedDrawCmd() ocornut 2020-06-08 18:21:10 +02:00
  • a6bb047bab ImDrawList: Store header/current ImDrawCmd in instance to simplify merging code. Amend 0320e72, toward #3163, #3129 ocornut 2020-06-08 15:22:44 +02:00
  • 57191fe3d0 Comments about limiting WindowRounding to a reasonable size. ocornut 2020-06-08 14:17:49 +02:00
  • 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 +02:00
  • 41f47c853b ImDrawList: Amend 0320e72 removed an unnecessary test. ocornut 2020-06-06 20:35:29 +02:00
  • 8baa4ccff5 Merge branch 'master' into docking ocornut 2020-06-06 20:31:24 +02:00
  • 0320e7257b ImDrawList: Small refactor to create empty command when beginning the frame, allowing to simplify some functions. ocornut 2020-06-06 20:25:56 +02:00
  • 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 +02:00
  • 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 +02:00
  • 78d5ccfb90 ImDrawList: PushColumnsBackground(): Fixed incorrect assert. (#3163) ocornut 2020-06-06 16:44:31 +02:00
  • 5af8a8c7e8 CI: Extra warnings for builds with Clang. Backends: OpenGL3: Fix sign conversion warnings. Rokas Kupstys 2020-06-05 13:04:55 +03:00
  • dc49b14e29 Misc: Fix examples of using other OpenGL3 bindings in Makefiles. Rokas Kupstys 2020-06-05 14:47:49 +03:00
  • 6eb66fbef3 Backends: Win32: Cache the result of a windows version check. (#3283) Mark Jansen 2020-06-05 01:23:18 +02:00
  • 79fbab543d Minor fix to avoid undefined behavior sanitizer triggering (#3276) ocornut 2020-06-04 18:59:04 +02:00
  • 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 +02:00
  • 5e976e9b05 Title capitalization (#3280) omar 2020-06-03 22:04:14 +02:00
  • 41e8837f59 Comments, adding some spacing in ImVec2() constructors. ocornut 2020-06-02 18:13:54 +02:00
  • 3f26a07ee1 Backends: OpenGL: Fixed loader auto-detection to not interfere with ES2/ES3 defines. (#3246) Giovanni Funchal 2020-05-21 12:49:06 +01:00
  • 5d472c4895 Merge branch 'master' into docking + fixes for #3259 ocornut 2020-05-25 18:32:15 +02:00
  • 5ddf60d8ce Commit to facilitate branches merges ocornut 2020-05-25 18:28:25 +02:00
  • a06eb83359 Examples: GLFW+Vulkan, SDL+Vulkan: Fix for handling of minimized windows. (#3259) ocornut 2020-05-25 15:31:33 +02:00
  • 0fe5170bc4 Viewports: Report minimized viewports as zero DisplaySize to be consistent with main branch + comments (#1542) ocornut 2020-05-25 16:28:55 +02:00
  • 6b688561aa CI: Test building without C++ runtime on GCC/Clang. Rokas Kupstys 2020-05-25 13:25:22 +03:00
  • bb2529dd48 Backends: SDL: Report a zero display-size when window is minimized, consistent with other backends. ocornut 2020-05-25 12:23:49 +02:00
  • a056603d8b Backends: Vulkan: Rename internal helper ImGui_ImplVulkanH_CreateWindow to ImGui_ImplVulkanH_CreateOrResizeWindow ocornut 2020-05-25 12:05:11 +02:00
  • 9c209d5a90 Minor amend 9028088 (#3261) ocornut 2020-05-25 11:42:20 +02:00
  • 43f79aa210 Backends: OSX: import the glfw workaround to avoid missing mouse clicks. (#3261) Nicolas Burrus 2020-05-25 08:27:17 +02:00
  • 39d17ca07f Examples: Apple: catch events from the right and other mouse buttons when using Cocoa. (#3260) Nicolas Burrus 2020-05-25 07:34:12 +02:00
  • 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 +02:00
  • c8cde28cf3 IO: AddInputCharacters function ignore 0 input. (#3252) omar 2020-05-20 17:56:08 +02:00
  • f44962c01a Backends: Allegro: Don't call AddInputCharacter if the pressed key has no character. (#3252) Espyo 2020-05-20 16:48:21 +01:00
  • 75bbbda645 Examples: Update comments to get SDL2 package with msys2's pacman (#3251) omar 2020-05-20 11:44:00 +02:00
  • 615e9ae345 Docking: Fix undocking (#3243), amend 7b3d3798 (#1738) ocornut 2020-05-18 15:08:47 +02:00
  • 417ac68f82 Internals: AddPolyline: Add spaces for consistency, renaming. ocornut 2020-05-18 11:55:36 +02:00
  • 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 +02:00
  • e4d8267188 Merge branch 'master' into docking omar 2020-05-15 11:21:29 +02:00
  • 39c978f499 Fix typo/bug introduced by 0679e056 (#3231, #3209, #1829, #946, #413) Mr. Metric 2020-05-15 01:51:51 -07:00
  • 1cd32d3afe Docking: moving small docking context to imgui_internal.h, removed unnecessary indirection, renaming. omar 2020-05-14 00:15:14 +02:00
  • 476daf9aac Settings: Added ReadInitFn pre-load handler. omar 2020-05-13 20:28:34 +02:00
  • 5fdfa32cce Update README.md omar 2020-05-12 15:42:29 +02:00
  • 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 -07:00
  • 6b80bd9cc3 Fix GetGlyphRangesKorean() end-range to end at 0xD7A3 (instead of 0xD79D). (#348, #3217) Maru 2020-05-10 07:01:54 +09:00
  • c46b79846c Metrics: Fix metrics crash with viewports. Chris Savoie 2020-05-09 22:18:10 -07:00
  • 6636cb9f2f Viewports: Don't set ImGuiViewportFlags_NoRendererClear when ImGuiWindowFlags_NoBackground is set. (#3213) omar 2020-05-11 17:29:50 +02:00
  • 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 +03:00
  • 7b3d379819 FocusWindow(NULL) correctly steal active id from previous window. (#1738) amend b0a9bbf6 omar 2020-05-08 18:36:05 +02:00
  • 685ca27d84 Backends: OpenGL: On OSX, if unspecified by app, made default GLSL version 150. (#3199) Albert Vaca 2020-05-08 17:29:14 +02:00
  • 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 +03:00
  • 8596f2b0fc Merge branch 'master' into docking omar 2020-05-08 17:07:40 +02:00
  • 4f33dd15c4 Internals: stand-in for large branches to facilitate merging. omar 2020-05-08 16:55:37 +02:00
  • 5f752a5ba9 Internals: shuffling some sections (2) omar 2020-05-08 16:30:14 +02:00
  • f466cfc2ca Internals: shuffling some sections, added index. omar 2020-05-08 16:21:00 +02:00
  • 3aa1684129 Comments omar 2020-05-08 15:59:39 +02:00
  • 538d28e29e Merge branch 'master' into docking omar 2020-05-08 00:00:03 +02:00
  • c0d5b3f55a Fix to facilitate branch merges omar 2020-05-07 23:58:35 +02:00
  • 53ebd6a02f Metrics: Added Table settings block. omar 2020-05-07 23:51:47 +02:00
  • 574ff0a280 Docking, Settings: Allow reload of settings data at runtime. (#2573) omar 2020-05-07 23:28:29 +02:00
  • 51e568f9dc Docking: Fix to allow basic reload of non-docking .ini data (following d33021d8) + moved settings blocks omar 2020-05-07 22:46:06 +02:00
  • 582f4db59b Merge branch 'master' into docking omar 2020-05-07 22:13:47 +02:00
  • d33021d828 Settings: Made it possible to load window .ini data mid-frame. Added clear and post-read handlers. (#2573) omar 2020-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). omar 2020-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. omar 2020-05-07 18:00:11 +02:00
  • 510f301c9f Internals: Removed seemingly unnecessary size_on_first_use arg to CreateNewWindow(), extracted code into ApplyWindowSettings. omar 2020-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) omar 2020-05-07 12:14:49 +02:00
  • 673d6df85f Demo: Clamping font scale. Added helpers in demo. Comments. Update sponsors. (#3206) omar 2020-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) omar 2020-05-05 19:39:24 +02:00
  • 419f905f91 Demo: Extracted some code out of ShowStyleEditor() into NodeFont(). omar 2020-05-05 19:53:54 +02:00
  • 11a3e75f47 Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). (#3183) omar 2020-05-04 20:46:20 +02:00
  • 5116eee108 Merge branch 'master' into docking omar 2020-05-04 15:05:07 +02:00
  • b4dd28ffbb Style: Added style.TabMinWidthForUnselectedCloseButton settings. omar 2020-05-04 14:58:21 +02:00
  • 099091280f Backends: DX10/DX11: Minor tweaks. omar 2020-05-04 11:32:58 +02:00
  • 1e9abf60d1 Backends: Keep shader blobs as local variables. (#3176) Silent 2020-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 Kupstys 2020-04-29 13:32:16 +03:00
  • d5ce3b43ae Backends: Vulkan: Fixed error in if initial frame has no vertices. (#3177) omar 2020-05-04 11:03:05 +02:00
  • a2454f2a45 Use __NEWLIB__ instead of __SWITCH__ and __CYGWIN__ for alloca.h-detection (#3070) Clownacy 2020-04-28 15:15:00 +01:00
  • 8cbff5ccb2 Fix various typos. (#3161) Ryan Pavlik 2020-04-24 15:50:27 -05:00
  • 2593b6a1c8 Drag and Drop: Fix unintended fallback "..." tooltip during drag operation when drag source uses _SourceNoPreviewTooltip flags. (#3160) Rokas Kupstys 2020-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 Savoie 2019-07-04 18:28:34 -07:00
  • d3212482fe Fix multiple macro definitions of GLFW_INCLUDE_NONE (#3157) Matt Haynie 2020-04-23 13:58:45 -07:00
  • 5ac5d3674f Removed unncessary ID (first arg) of ImFontAtlas::AddCustomRectRegular() function. omar 2020-04-23 15:30:30 +02:00
  • 223297b075 Clarified comments about popups input blocking and ImGuiHoveredFlags_AllowWhenBlockedByPopup flag. (#3154) omar 2020-04-23 16:30:37 +02:00
  • 7ddc1adefb Internals: FIxed commented out IMGUI_DEBUG_LOG_xxx macros, added extra. Revert incorrect 103c5edaa. omar 2020-04-22 16:30:22 +02:00
  • fd6d3155c0 Fix wrong comment in ImGuiCond_ (#3139) Silent 2020-04-22 10:13:20 +02:00
  • 528b12eb7a Fix glClipControl(GL_UPPER_LEFT) handling in opengl3. u3shit 2020-04-21 02:13:06 +02:00
  • 266dff9bed Merge branch 'master' into docking ocornut 2020-04-20 11:33:56 +02:00
  • c0283c1289 TestEngine: Changed PushID hooks into GetID(), makes more sense and catches more information. ocornut 2020-04-20 11:31:30 +02:00
  • 37f665b619 Backends: Win32: Support for #define NOGDI, won't try to call GetDeviceCaps(). (#3137, #2327) omar 2020-04-19 17:52:09 +02:00
  • 7f8b076f2b Viewports, Backends: GLFW: Fix windows resizing incorrectly due to GLFW firing window positioning callbacks on next frame after window is resized manually. (#2117) Rokas Kupstys 2020-04-15 15:00:37 +03:00
  • 36ac557df0 Docking: Fix unused variable warning. (#3135) Patryk Czachurski 2020-04-18 11:09:44 +02:00
  • 388bf66247 Fix missing comma in FAQ.md (#3134) András Kucsma 2020-04-17 18:50:33 +02:00
  • 9f9ff84ba1 TestEngine: Added PushID() hooks. omar 2020-04-16 16:57:17 +02:00
  • b0e9092d6f TestEngine: Added extra storage and global enable flag. Added missing ItemInfo hooks. omar 2020-04-15 17:39:49 +02:00
  • 3233fbff0e Internals: Added SetNextWindowScroll() (#1526) omar 2020-04-16 14:07:40 +02:00