Commit Graph

  • b335225caa Internals: Extract ImFontAtlasBuildRender1bppRectFromString() out of ImFontAtlasBuildRenderDefaultTexData() + minor renaming, comments omar 2020-07-22 17:24:52 +02:00
  • e223bd8177 ImDrawList: changed AddCircle(), AddCircleFilled() default num_segments from 12 to 0. omar 2020-07-16 22:25:23 +02:00
  • 4be8155002 Style Editor: Added preview of circle auto-tessellation when editing the corresponding value.. omar 2020-07-16 21:51:49 +02:00
  • 825f2ae455 Demo: Tweak "child windows" section. (#3318) omar 2020-07-16 17:20:24 +02:00
  • eefae08261 Nav: Fixed clicking on void from not clearing focused window. Amend d31fe97f7. (#3344, #2880) omar 2020-07-14 18:36:35 +02:00
  • 550f110354 InputText, ImDrawList: Fixed assert triggering when drawing single line of text with more than ~16 KB characters. (#3349) omar 2020-07-12 23:51:13 +02:00
  • fb7f6cab8c Backends: Amend, docs + extra comments. (#3330, #3245) omar 2020-07-10 14:36:00 +02:00
  • 06f7854b16 Backends: OpenGL3: Add glad 2 to OpenGL loaders. (#3330) Moritz Heinemannandomar 2020-07-01 23:13:59 +02:00
  • 89685b346c ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex. omar 2020-07-09 11:21:31 +02:00
  • 66336528c8 Merge branch 'features/tex_antialiased_lines' (#3245) omar 2020-07-08 20:19:57 +02:00
  • 3a6c9907cd Texture-based thick lines: Minor tweaks and rename toward merging in master. Changes to allow changing AA_SIZE (disable texture path). omar 2020-07-07 13:24:10 +02:00
  • b5bae9781d Texture-based thick lines: Only use textured lines for integer line widths Ben Carterandomar 2020-07-07 16:19:27 +09:00
  • 78d6bdf080 Texture-based thick lines: Remove unnecessary indirection in fetching UV data, removed lerp call, renames, tweaks. omar 2020-05-16 16:55:05 +02:00
  • a07c8b6999 Texture-based thick lines: Fixes for AddCustomRect api, add IMGUI_HAS_TEXLINES define (temporarily) to facilitate working with test cases, Demo allows growing FrameBorderSize for testing Omar 2020-02-17 11:58:22 +01:00
  • 21d9e8e1f4 Texture-based thick lines: Simplified line width calculation code and removed hack for thickness 1.0 lines Ben Carterandomar 2020-02-11 11:23:43 +09:00
  • 403bf45245 Texture-based thick lines: Allow interpolation between textures for non-integer line widths Ben Carterandomar 2020-02-06 14:30:29 +09:00
  • 222b7ddbfa Texture-based thick lines: Tweaks, fix for truetype builder. omar 2020-01-23 15:23:23 +01:00
  • 741ab74b55 Texture-based thick lines: Improvements to code for drawing anti-aliased lines using textures Ben Carterandomar 2020-01-15 16:33:09 +09:00
  • 1d3c3070d8 Texture-based thick lines: Initial version of AA line drawing using textures (press SHIFT to enable) Ben Carterandomar 2020-01-13 14:24:55 +09:00
  • 8e4046e13b Atlas build use GetCustomRectByIndex() + comments, rename, and shallow merge from tex_antialiasing_lines branch. Ben Carterandomar 2020-07-08 17:17:52 +02:00
  • 0d03e1fafa CI: Fix emscripten builds that broke due behavior change of emscripten SDK. Rokas Kupstysandomar 2020-07-07 12:49:25 +03:00
  • a1d2c6fad9 Fixed invalid comment (#3327) omar 2020-06-30 19:00:31 +02:00
  • ab4ef822f0 Version 1.78 WIP omar 2020-06-30 16:56:09 +02:00
  • 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle' Rokas Kupstysandomar 2020-06-30 15:31:54 +02:00
  • dca7c3c629 TestEngine: Added hook to notify test engine of a removed imgui context. omar 2020-06-29 20:10:59 +02:00
  • 9418dcb693 Version 1.77 omar 2020-06-29 15:09:55 +02:00
  • 122febcdbf IO: Added storage for PenPressure (unused by core library, to facilitate experiments) (#2372) omar 2020-06-29 15:03:11 +02:00
  • dd02a180b5 Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly. omar 2020-06-25 22:58:23 +02:00
  • 6b0cf2e6ae Windows: Fix unintended window size changes when resizing windows close to main viewport edges. Rokas Kupstysandomar 2020-06-24 14:00:35 +03:00
  • 45a7cf47ab FAQ update, removed redundant block in imgui.cpp omar 2020-06-25 16:44:06 +02:00
  • fed80b9537 Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow(). omar 2020-06-19 15:26:02 +02:00
  • 5acf6d861a Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen(). omar 2020-06-19 15:17:56 +02:00
  • 1c35750ee0 Added ImGuiCond_None for consistency and for generated bindings needing this for enums mapping. omar 2020-06-23 19:45:31 +02:00
  • 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 +02:00
  • 68389200c4 Internals: Comments about CalcWrapWidthForPos() (#778) omar 2020-06-23 16:12:19 +02:00
  • e0ec69d84b Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (#2464, #1390) omar 2020-06-23 15:47:07 +02:00
  • 1a1dcea1a0 Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. (#3311) omar 2020-06-20 22:03:50 +02:00
  • 99f68d7958 Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks. omar 2020-06-19 10:56:54 +02:00
  • 9c2a36f573 Internals: clarified the code for ClampWindowRect(). omar 2020-06-19 10:08:05 +02:00
  • 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 +02:00
  • 704723744e Disabled latest overzealous warnings from Clang omar 2020-06-18 16:19:51 +02:00
  • b1d8309abc Added ImGuiTabItemFlags_NoTooltip for individual Tab Item. Louis Schnellbachandomar 2020-06-18 15:18:14 +02:00
  • 078571b7a9 Popups: added comments, reorganized the functions in imgui.h ocornut 2020-06-16 23:05:01 +02:00
  • 6e138504c1 Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. (#1636) ocornut 2020-06-16 19:32:21 +02:00
  • 37eb89371b Popups: Internals: Added IsAnyPopupOpen(). ocornut 2020-06-16 18:46:14 +02:00
  • 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 +02:00
  • 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 +02:00
  • 99ab521024 Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point ocornut 2020-06-15 22:06:45 +02:00
  • c658cba22b Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing. ocornut 2020-06-15 16:18:30 +02:00
  • 90c0c0c163 Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49) omar 2020-06-13 15:48:05 +02:00
  • d3b37180a3 ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex. Ben Carterandomar 2020-06-13 14:14:07 +02:00
  • a933cc4f4d Documentation update ocornut 2020-06-11 09:52:46 +02:00
  • 64d8d302fb ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases. ocornut 2020-06-10 19:16:06 +02:00
  • 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 +02:00
  • 53f0f97273 Added FAQ entry about DPI. Added Japanese font loading example. ocornut 2020-06-09 17:29:26 +02:00
  • 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) Scottandocornut 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
  • 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) thedmdandocornut 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 Kupstysandocornut 2020-06-05 13:04:55 +03:00
  • dc49b14e29 Misc: Fix examples of using other OpenGL3 bindings in Makefiles. Rokas Kupstysandocornut 2020-06-05 14:47:49 +03:00
  • 6eb66fbef3 Backends: Win32: Cache the result of a windows version check. (#3283) Mark JansenandGitHub 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) omarandGitHub 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 Funchalandocornut 2020-05-21 12:49:06 +01: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
  • 6b688561aa CI: Test building without C++ runtime on GCC/Clang. Rokas Kupstysandocornut 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 Burrusandocornut 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 Burrusandocornut 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) EspyoandGitHub 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
  • 417ac68f82 Internals: AddPolyline: Add spaces for consistency, renaming. ocornut 2020-05-18 11:55:36 +02:00
  • 39c978f499 Fix typo/bug introduced by 0679e056 (#3231, #3209, #1829, #946, #413) Mr. MetricandGitHub 2020-05-15 01:51:51 -07: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
  • 6b80bd9cc3 Fix GetGlyphRangesKorean() end-range to end at 0xD7A3 (instead of 0xD79D). (#348, #3217) Maruandomar 2020-05-10 07:01:54 +09: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 Kupstysandomar 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 Vacaandomar 2020-05-08 17:29:14 +02:00
  • 4f33dd15c4 Internals: stand-in for large branches to facilitate merging. omar 2020-05-08 16:55:37 +02:00