Commit Graph

  • 82711251b6 Internals: ImGuiListClipper using absolute coordinate (instead of relative one). Minor no-op tweaks + ImDrawListSplitter assert omar 2019-06-27 18:03:19 +0200
  • 79c44cb6ca premake Gogs 2019-06-29 15:42:13 +0200
  • aca8cee4a2 docking commit Max 2019-06-29 11:24:33 +0200
  • 1dd322c6fb Style: Attenuated default opacity of ImGuiCol_Separator in Classic and Light styles. omar 2019-06-27 12:20:18 +0200
  • 4b95e7c2f3 Doc: Tweak and extra mention of AddCustomRectFontGlyph + made the example register two rectangles. omar 2019-06-26 12:15:32 +0200
  • 50d421fa19 Docking: Fixed GetBackgroundDrawList(), GetForegroundDrawList() overwriting ImDrawList flags after clear, leading to the AllowVtxOffset flag not being cleared. (#2638) omar 2019-06-26 09:52:25 +0200
  • e81579cafb Add flag to ImGuiStyle to hide a collapse button. przemkovv 2019-06-24 22:59:41 +0200
  • eb3e271c24 Demo: Using ImVec2(-FLT_MIN,0.0f) instead of ImVec2(-1.0f,0.0f) where it makes sense. (#2449) omar 2019-06-21 19:38:33 +0200
  • 41e2d4b5ae ImDrawListSplitter: Fixed memory leak when using low-level split api (was not affecting ImDrawList api, also this type was added in 1.71 and not advertised as a public-facing feature). omar 2019-06-20 16:09:31 +0200
  • f563e1a504 Internals: Renamed GetFrontMostPopupModal() to GetTopMostPopupModal() to be consistent. Renamed other locals to follow that terminology. omar 2019-06-19 18:14:24 +0200
  • adbbd17cb6 Addendum to #2635. Add support for multi-viewports in SDL+DX!! example. making all Win32-centric back-ends handle PlatformHandleRaw. Using the field to use/store the HWND for internal purpose in SDL/GLFW back-ends. (#1542) omar 2019-06-18 23:35:48 +0200
  • 3e8eebfbec Viewport: Added PlatformHandleRaw. Update SDL+DX11 example. (#1542, #2635) Vincent Hamm 2019-06-17 21:03:00 -0700
  • 2cbc0f1287 Restore SLN which in Docking branch includes more projects. omar 2019-06-18 23:13:12 +0200
  • e2c1f0a7cd Merge branch 'master' into docking omar 2019-06-18 23:08:03 +0200
  • ee47740bc4 Docking/Viewport support for SDL+dx11 Vincent Hamm 2019-06-17 21:03:00 -0700
  • 65de74ecb7 Merge branch 'docking' of https://github.com/vincenthamm/imgui into docking Vincent Hamm 2019-06-18 10:21:50 -0700
  • 42df6abdfb Docking/Viewport support for SDL+dx11 Vincent Hamm 2019-06-17 21:03:00 -0700
  • ade6df6dec Implement SDL/dx11 sample Vincent Hamm 2019-06-16 16:11:32 -0700
  • ae176e46d4 Updated Ogre bindings (#2619) Pavel Rojtberg 2019-06-17 15:17:24 +0200
  • ad0548e21e Internals: Columns: Poke into WorkRect and use them in the GetContentRegionMax() functions. This should be a no-op, but preparing us to transition toward using WorkRect instead of ContentRegionRect. Removed one use of ContentsRegionRect. omar 2019-06-10 21:43:05 +0200
  • c1094b599a Disable -Wpragmas warning in GCC to avoid relying on version checks, as unusual/forks/mods don't appear to always have same warning<>version. (#2618) + Fix version number in imgui.h omar 2019-06-17 11:32:00 +0200
  • dd41df3e98 Word-wrapping: Fixed overzealous word-wrapping when glyph edge lands exactly on the limit. Because of this, auto-fitting exactly unwrapped text would make it wrap. (fixes initial 1.15 commit, 78645a7d). omar 2019-06-18 12:50:34 +0200
  • 516c3dee80 Examples: SDL+DX11: Changelog, readme, batch files, fixed vcxproj, minor stylistic fixes + minor sync of other main.cpp files. (#2632) omar 2019-06-18 11:28:26 +0200
  • cc4d76cc23 Implement SDL/dx11 sample Vincent Hamm 2019-06-16 16:11:32 -0700
  • 70fe409338 Window: Fixed InnerClipRect right-most coordinates using wrong padding setting (introduced in 1.71). omar 2019-06-17 17:03:54 +0200
  • 342751c89e Fiedx OpenGL ES 3.0 include for iOS and tvOS (#2631) Vincent Hamm 2019-06-18 01:55:33 -0700
  • e6779c138b Docking/Viewport support for SDL+dx11 Vincent Hamm 2019-06-17 21:03:00 -0700
  • 8c2ed2d45c Merge branch 'master' into docking Vincent Hamm 2019-06-17 20:57:13 -0700
  • 68608e1d3d Implement SDL/dx11 sample Vincent Hamm 2019-06-16 16:11:32 -0700
  • c0436b83de Fix OpenGL ES3.0 for iOS and tvOS Vincent Hamm 2019-06-17 17:30:27 -0700
  • 0e37eaff8a Updated Ogre bindings (#2619) Pavel Rojtberg 2019-06-17 15:17:24 +0200
  • ae2c9f7101 Internals: Columns: Poke into WorkRect and use them in the GetContentRegionMax() functions. This should be a no-op, but preparing us to transition toward using WorkRect instead of ContentRegionRect. Removed one use of ContentsRegionRect. omar 2019-06-10 21:43:05 +0200
  • e9b92d1cef Disable -Wpragmas warning in GCC to avoid relying on version checks, as unusual/forks/mods don't appear to always have same warning<>version. (#2618) + Fix version number in imgui.h omar 2019-06-17 11:32:00 +0200
  • ca43436cd3 Fix monitor dpi info not being copied to main viewport when multi-viewports are not enabled. (#2621, #1676) + Tweaks, short path in FindPlatformMonitorForRect(). omar 2019-06-17 11:19:34 +0200
  • b27fd87177 Merge branch 'master' into docking omar 2019-06-17 11:10:14 +0200
  • b82e99c032 ImDrawList: Fixed CloneOutput() helper crashing. Also removed unnecessary risk from ImDrawList::Clear(), draw lists are being clear before use each frame anyway. (#1860) omar 2019-06-17 11:06:36 +0200
  • 5775f2de1d Implement SDL/dx11 sample Add support for viewport when using SDL with dx11 Vincent Hamm 2019-06-16 16:11:32 -0700
  • 2645a2516f ImDrawList::ChannelsSplit(), ImDrawListSlitter: Fixed an issue with merging draw commands between channels 0 and 1. (#2624) Introduced by cef88f6aae. omar 2019-06-14 12:06:15 +0200
  • af3080b81b Removed redirecting functions/enums that were obsoleted in version 1.51 (June 2017): ImGuiCol_Column*, ImGuiSetCond_*, IsItemHoveredRect(), IsPosHoveringAnyWindow(), IsMouseHoveringAnyWindow(), IsMouseHoveringWindow(), IMGUI_ONCE_UPON_A_FRAME. omar 2019-06-14 11:57:33 +0200
  • 5286ecb8a7 Version 1.72 WIP omar 2019-06-14 11:58:45 +0200
  • 07d3083279 Docking: Fixed rendering of outer decoration happening on non-visible docked window (#2623, #2109). Revealed by 0770449. We are actually better than before now, as previously those would get unnecessarily get rendered into a hidden draw list. omar 2019-06-13 10:19:14 +0200
  • d3d998a885 Merge branch 'master' into docking omar 2019-06-12 18:40:50 +0200
  • 2da1c66d15 Version 1.71 + comments v1.71 omar 2019-06-12 16:15:08 +0200
  • 68cfe06358 README: OGRE bindings live now at OGRECave Pavel Rojtberg 2019-06-11 23:01:17 +0200
  • 5ae268c0a3 Internals: Reworked RenderTextEllipsis() to satisfy what we need for table headers. omar 2019-06-11 16:12:00 +0200
  • 4597632662 Readme, comments, dear imgui prefixes omar 2019-06-11 16:11:19 +0200
  • c3a348aa25 CollapsingHeader: Minor fix to align right side of frames (which is extruded past the Work/Contents rect) with clipping rectangle. omar 2019-06-11 15:52:36 +0200
  • a8eb64fc54 Log/Capture: Fixed BeginTabItem() label not being included in a text log/capture. Extracted tab rendering code into a RenderTextEllipsis() function. omar 2019-06-11 14:02:46 +0200
  • a9b5c834b6 ImDrawListSplitter: Don't merge draw commands when crossing a VtxOffset boundary + Renamed fields ImDrawChannels to consistently suggest those are internal structures. omar 2019-06-10 15:41:04 +0200
  • d8435c7710 ImDrawListSplitter: Fix idx offset when merging (cef88f6) (#2591) omar 2019-06-10 15:02:16 +0200
  • 7fd8a70a03 Added a cursor color changing Eduard 2019-06-08 03:25:16 +0300
  • 0770449630 Window: child windows outer decorations (e.g. scrollbar) are rendered as part of their parent window, avoiding the creation of an extraneous draw command. + Metrics: inverted color of clip rect vs vertices bounding box when hovering a draw command, so the color matches the per-vertex preview. omar 2019-05-10 17:24:22 +0200
  • afa3978ff6 Internals: Added drawlist and color arg to RenderArrow(), RenderBullet(). Reordered args for RenderPixelEllipsis. omar 2019-05-20 11:45:32 +0200
  • 32ab0a82d6 imgui-test: Added IMGUI_TEST_ENGINE_LOG macro to emit into test log from core or user land. omar 2019-06-06 17:54:25 +0200
  • 2b997141cf Made PushID() behave the same in 32-bit and 64-bit, by not padding the integer into a void*. (Also technically faster.) omar 2019-06-06 16:36:26 +0200
  • 5f409c6fcc Merge branch 'master' into docking omar 2019-06-06 16:20:12 +0200
  • 63310acd58 Synced/merged minor cruft from master branch to minimize drift. Only meaningful change AFAIK is removing ImGuiComboFlags_PopupAlignLeft flag from the tab list combo emitted by TabBar. omar 2019-06-06 16:16:18 +0200
  • 431aa4e456 Synced/merged minor cruft from docking branch to minimize drift. AFAIK the only meaningful no-op change is that the call UpdateHoveredWindowAndCaptureFlags() was moved above UpdateMouseMovingNewFrame() to match what docking branch has been doing for a while. omar 2019-06-06 16:13:30 +0200
  • fea5f70611 ImDrawCallback: Allow to override the signature of ImDrawCallback by #define-ing it. This is meant to facilitate custom rendering back-ends passing local render-specific data to the draw callback. omar 2019-06-06 00:20:29 +0200
  • 480d57e6a2 Revert "Changed syntax for (very rarely used) IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT mechanism, instead you only need to '#define ImDrawVert MyDrawVert' to use this feature, avoiding the need to declare the entire structure within an awkward macro. Using the old macro will now error with a message pointing you to the new method. (#38, #103, #1172, #1231, #2489)" omar 2019-06-06 00:59:07 +0200
  • 597c024904 Changed syntax for (very rarely used) IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT mechanism, instead you only need to '#define ImDrawVert MyDrawVert' to use this feature, avoiding the need to declare the entire structure within an awkward macro. Using the old macro will now error with a message pointing you to the new method. (#38, #103, #1172, #1231, #2489) omar 2019-06-06 00:42:27 +0200
  • e6850891cc Merge branch 'master' into docking omar 2019-06-05 16:09:06 +0200
  • c96f2c4057 Window: Fixed one case where auto-resize by double-clicking the resize grip would make either scrollbar appear for a single frame after the resize. Moved Scrollbar visibility block. omar 2019-06-05 15:33:41 +0200
  • 300d8dd656 Internals: Moved scrollbar visibility calculation block below the call to UpdateManualResize(). This commit is _intended_ to have no side-effect (next commit will). Also moved ItemWidthDefault calculation below rectangles. omar 2019-06-05 15:32:37 +0200
  • c1a61d25a7 Scrollbar overlap an extra WindowBorderSize amount on the left to make all distances consistent. Reverted to BorderSize not affecting work/contents rectangles. Scrollbar, Style: Changed default style.ScrollbarSize from 16 to 14. omar 2019-06-05 15:23:01 +0200
  • 15282261dd Internals: Minor no-op tidying up toward solving the WindowPadding / WindowBorderSize / ScrollbarSize overlapping mess. + Demo: Use SetScrollY(). omar 2019-06-04 16:22:47 +0200
  • 4149d22e85 Fixed newly created window (e.g. appearing child window) from having scrollbar active on the first frame. (fix 6e03b27) + reworded code a little. (+1 squashed commits) Fixed auto-resize with AlwaysVerticalScrollbar or AlwaysHorizontalScrollbar flags not taking account of the expect scrollbar sizes. omar 2019-06-03 19:25:03 +0200
  • 06f1d2c101 Internals: Storing ScrollMax into a member. Mostly to facilitate debugging. Also locking down window->Scroll slightly lower in the Begin function. omar 2019-06-03 18:51:12 +0200
  • d6df777ff2 TextWrapped, PushTextWrapPos(0.0f) within a window with horizontal scrolling from not covering the full horizontal area (previously only worked with an explicit contents size). omar 2019-06-03 17:07:43 +0200
  • fe32fde376 Internals: Renamed SizeContents to ContentSize, SizeContentsExplicit to ContentSizeExplicit. Tweaked Metrics->Show Rectangles functionality. omar 2019-06-03 16:55:48 +0200
  • f95c77eeea Window rectangles: Changed WorkRect to cover the whole region including scrolling (toward obsolete ContentsRegionRect) + using full WindowPadding*1 padding. Tweaked InnerClipRect. TreeNode, CollapsingHeader: Fixed highlight frame not covering horizontal area fully when using horizontal scrolling. (#2211, #2579) TabBar: Fixed BeginTabBar() within a window with horizontal scrolling from creating a feedback loop with the horizontal contents size. Columns: Fixed Columns() within a window with horizontal scrolling from not covering the full horizontal area (previously only worked with an explicit contents size). (#125) Demo: Added demo code to test contentsrect/workrect omar 2019-05-28 21:49:22 +0200
  • a0994d74c2 Clarified behavior of SetNextWindowContentSize(). Content size is defined as the size available after removal of WindowPadding on each sides. So SetNextWindowContentSize(ImVec2(100,100)) + auto-resize will always allow submitting a 100x100 item without creating a scrollbar, regarding of WindowPadding.The exact meaning of ContentSize for decorated windows was previously ill-defined. omar 2019-06-03 15:35:55 +0200
  • 09bcf9fbc5 Window rectangles: Made InnerRect not affected by window border sizes. its few users shouldn't be meaningfully affected. omar 2019-05-28 16:18:30 +0200
  • b9874a2423 Comments about obsoleted features version. Todo. Clarify tab bar initial offset (useful if we decide to remove the half-windowpadding clip margin). omar 2019-06-05 12:05:53 +0200
  • 440ad0b440 Merge branch 'master' into docking omar 2019-06-05 00:37:20 +0200
  • 5cdd788f30 Comments (#2599). Moved branch Changelog above 1.71 wip one. Added some missing changelog bits. omar 2019-05-31 23:54:15 +0200
  • 57d8ab62f4 Nav: Fixed rare crash when e.g. releasing Alt-key while focusing a window with a menu at the same frame as clearing the focus. This was in most noticeable in some back-ends with emits key release events when focusing another viewport. (#2609) omar 2019-06-05 00:25:21 +0200
  • 6614bab883 Combo: Fixed rounding not applying with the ImGuiComboFlags_NoArrowButton flag. (#2606, #2607) DucaRii 2019-06-04 16:37:45 +0200
  • 3debeb050a ok now its the correct changelog DucaRii 2019-06-04 17:27:23 +0200
  • 7259435f84 changelog + parantheses DucaRii 2019-06-04 17:19:57 +0200
  • f2ef303804 fixed the spacing DucaRii 2019-06-04 16:38:39 +0200
  • 3c4e1a3d77 fixed combo not having correct rounding with no arrow DucaRii 2019-06-04 16:37:45 +0200
  • d274435cd5 Added flowcharts for ImGui lifecycle on Vulkan Win32 Arzana 2019-06-02 11:14:29 +0200
  • eb7849b477 Nav: Fixed gamepad/keyboard moving of window affecting contents size incorrectly, sometimes leading to scrollbars appearing during the movement. + minor fix with the mostly dead Ctrl+wheel scaling. omar 2019-05-31 20:48:52 +0200
  • 596d81a973 Merge branch 'master' into docking omar 2019-05-31 12:09:40 +0200
  • cef88f6aae ImDrawListSplitter: Support merging consecutive draw commands straddling two channels. Support zero-init. omar 2019-05-10 18:50:59 +0200
  • f1f4b42d91 ImDrawListSplitter: extracted out of ImDrawList. Down the line we may obsolete the ImDrawList functions and encourage users to store the splitter aside, in the meanwhile ImDrawList holds a splitter. (This will allow columns/table to recurse.) omar 2019-05-31 12:00:00 +0200
  • 8abf1313aa ImDrawList: Fix broken channel splitting (another issue when the first channel is empty) (#2591) + fixed warnings with newer VS omar 2019-05-31 11:35:42 +0200
  • 6e8993ef45 Added IME support for OSX examples actboy168 2019-05-31 10:51:04 +0800
  • bff7202ff2 Include <alloca.h> also when __SWITCH__ is defined (#2595) Sebastian Krzyszkowiak 2019-05-31 01:52:22 +0200
  • 8fb03c15c7
    Include <alloca.h> also when __SWITCH__ is defined Sebastian Krzyszkowiak 2019-05-31 01:31:53 +0200
  • 84f3ecc231 Merge branch 'master' into docking omar 2019-05-30 18:52:24 +0200
  • 42c98c5eea ImDrawList: Fix broken channel splitting (broken by d1e8b69) (#2591) omar 2019-05-30 18:47:46 +0200
  • 546b728199 Internals: Window rectangles: Fixed ContentsRegion lag by moving back after Scrollbar, fixes b50c61c9. Shuffling setup order and added comments. omar 2019-05-28 16:00:34 +0200
  • 21ebdcafc9 Internals: Window rectangles: Renaming of all rectangles toward their final form. Should be a no-op. Renamed GetWorkRectMax() to GetContentRegionMaxAbs(). Metrics shows SizeContents. omar 2019-05-28 15:54:55 +0200
  • cc48f1e5dd Merge branch 'master' into docking omar 2019-05-30 16:47:11 +0200
  • c3d600abed Fixed imgui_impl_opengl3 broken in previous few commits. (#2591, #2593, #2594) omar 2019-05-30 16:45:59 +0200
  • f5243712ce
    Merge branch 'master' into unicode 云风 2019-05-30 14:58:36 +0800
  • ed79b4d22e Examples/Backends: Metal: Added support for large meshes (64k+ vertices) with 16-bits indices, enable 'ImGuiBackendFlags_HasVtxOffset' config flag in back-end. (#2591, #2592) Max Thrun 2019-05-29 10:35:41 -0700
  • 4328aef274 Examples/Backends: Metal: Added support for large meshes (64k+ vertices) with 16-bits indices, enable 'ImGuiBackendFlags_HasVtxOffset' config flag in back-end. (#2591) Max Thrun 2019-05-29 10:35:41 -0700