Commit Graph

  • 38d22bc47d ColorPicker / ColorEdit: restore Hue when zeroing Saturation. (#2722, #2770) - changelog, fixed uninitialized variables, tweaks, renaming. omar 2019-09-20 15:31:39 +0200
  • accb0261b8 ColorPicker / ColorEdit: restore Hue when zeroing Saturation. (#2722, #2770) Issue is fixed by storing last active color picker color and last hue value when active color picker takes rgb as input. Then if current color picker color matches last active color - hue value will be restored. IDs are not used because ColorEdit4() and ColorWidget4() may call each other in hard-to-predict ways and they both push their own IDs on to the stack. We need hue restoration to happen in entire stack of these widgets if topmost widget used hue restoration. Since these widgets operate on exact same color value - color was chosen as a factor deciding which widgets should restore hue. Rokas Kupstys 2019-08-31 18:44:20 +0300
  • ee5ce4bcca
    Merge pull request #7 from Puddlestomper/docking Yan Chernikov 2019-09-20 17:41:19 +1000
  • af93c21cf9 Merge branch 'master' into docking omar 2019-09-18 17:27:14 +0200
  • 656c515bad Warning fix. omar 2019-09-18 17:21:04 +0200
  • 9d02ed51e3 TreeNode: Added ImGuiTreeNodeFlags_SpanAvailWidth and ImGuiTreeNodeFlags_SpanFullWidth flags (#2451, #2438, #1897) Added demo bits. omar 2019-09-18 17:13:41 +0200
  • 74e01e62ce Fixed unused static function warning for some compilers. (#2793) omar 2019-09-18 13:21:12 +0200
  • c2b3d039be ImDrawList: only define GetForegroundDrawList in debug mode Josh Junon 2019-09-18 06:04:02 +0200
  • 4a2394d7ce Move some code TAiGA 2019-09-18 03:48:50 +0800
  • 78ad75a2e1 Implement Multi-Viewport for Metal TAiGA 2019-09-18 03:38:52 +0800
  • 098591fe4c ImDrawListSplitter: fixed an issue merging channels if the last submitted draw command used a different texture. (#2506) omar 2019-09-17 20:27:15 +0200
  • 7567dd0fcf Fix NSWindow not found TAiGA 2019-09-18 02:23:04 +0800
  • d75bea290e Revert fix mouse position TAiGA 2019-09-18 01:41:17 +0800
  • d997eefc81 Rename window -> Window TAiGA 2019-09-18 01:40:31 +0800
  • cf98290873 Backends: DirectX9: Workaround for windows not refreshing when main viewport has no draw call. (#2560) omar 2019-09-17 18:32:26 +0200
  • 1ca6ff974c Viewport: fix to allow multiple shutdown / calls to DestroyPlatformWindows(). (#2769) omar 2019-09-17 18:02:58 +0200
  • 575df6f192 Merge branch 'master' into docking omar 2019-09-17 16:35:50 +0200
  • b48dc067ae Style: Allow style.WindowMenuButtonPosition to be set to ImGuiDir_None to hide the collapse button. (#2634, #2639) + Fix #2775 omar 2019-09-17 16:16:38 +0200
  • 15d7a13d89
    bugfix for PrimWriteVtx Sahin Serdar Kocdemir 2019-09-17 14:48:05 +0100
  • 3b014d0c31 Merge branch 'features/ellipsis_rendering' omar 2019-09-17 12:07:30 +0200
  • 3f986e72d9 Internal: Offset STB_TEXTURE_K_ defines to remove that change from #2541 + sponsors update. omar 2019-09-17 12:06:31 +0200
  • 7d5a17e5e4 Remove trailing spaces (grep for ' \r?$' in visual studio) omar 2019-09-17 11:33:18 +0200
  • 1c951dca97 Font: Narrow ellipsis: once we know an ellipsis is going to be drawn, we can claim the space between pos_max.x and ellipsis_max.x which gives us enough extra space to not requires the further (and otherwise valid) optimizations. Gets us vastly simplified code, yay. (#2775) omar 2019-09-17 11:11:14 +0200
  • 57623c15dd Font: Narrow ellipsis: various minor stylistic tweaks (#2775) omar 2019-09-17 10:00:28 +0200
  • 45405f0dc9 Font: implement a way to draw narrow ellipsis without relying on hardcoded 1 pixel dots. (#2775) Rokas Kupstys 2019-09-05 12:59:43 +0300
  • 404dc0367e BeginTabItem: Fixed case where right-most tab would create an extraneous draw calls (probably related to other tab fitting code in 1.73 wip) omar 2019-09-17 10:41:11 +0200
  • e7e88ed413 Examples: SDL/GLFW + OpenGL3: Fixes for Makefile (#2774) NeroBurner 2019-09-17 10:04:40 +0200
  • 39efd1befd example: glfw_opengl3: append flags instead of replacing them NeroBurner-tux 2019-09-07 11:20:12 +0200
  • b3c39d1eae example: sdl2+opengl3: fixes for Makefile NeroBurner-tux 2019-09-04 22:07:52 +0200
  • 561e7dd490 Fix signed types warning in pasteboard handler (#2786) Qix 2019-09-17 09:21:09 +0200
  • 4fb09ae833 [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 -0700
  • 8478cc6c5f [Vulkan] Add internal descriptor set management * Pool allocates linearly and resets each frame. * If pool limit is reached a new pool will be allocated at double the size up to 1024 then it increments in steps of 1024 * Add usage of SetTextureFn, otherwise assumes TextureId is a VkImageView * Users of SetTextureFn can set textures using ImGui_ImplVulkan_SetTexture Chris Savoie 2019-07-03 01:09:44 -0700
  • 1a7f9ff942 [Rendering] Add a callback for customizing how textures are set during rendering. DX12: Only generate the Font texture if it doesn't already exist. Only set texture if it actually changes. These changes can enable better integration to existing rendereres by ensuring that all ImTextureID objects are the same type as defined by the user. Chris Savoie 2019-03-31 21:14:57 -0700
  • ed1069cac3 Backends: Win32: Add a simple way for a program to initialize imgui with an HICON handle to use when making viewport windows. Chris Savoie 2019-09-16 21:30:20 -0700
  • 2b78b2f62d
    Internal: Fix signed types warning in pasteboard handler Qix 2019-09-16 22:26:18 +0200
  • 3dcf323c35 Columns: Separator: Fixed a bug where non-visible separators within columns would alter the next row position differently than visible ones. Fixed rounding issues also leading to change of ScrollMax depending on visible items (in particular negative coordinate would be rounded differently) omar 2019-09-16 19:03:20 +0200
  • b05f6f6f50 Nav, Scrolling: Added support for Home/End key. (#787) omar 2019-09-09 18:09:41 +0900
  • 3cf519c9cb Fix DragScalar for unsigned types (#2780) decreasing the value was broken on arm64 Bagrat Dabaghyan 2019-09-16 06:03:42 +0400
  • cc288e073c Backends: OpenGL3: Tweaked initialization code allow application calling ImGui_ImplOpenGL3_CreateFontsTexture() before ImGui_ImplOpenGL3_NewFrame() if for some reason they wanted. omar 2019-09-16 12:08:23 +0200
  • 4bf1bad857 Fix DragScalar for unsigned types decreasing the value was broken on arm64 Bagrat Dabaghyan 2019-09-16 06:03:42 +0400
  • bd865c9513 Fix compile error TAiGA 2019-09-07 02:20:39 +0800
  • cbe0446481 Fix wrong parameter TAiGA 2019-09-07 00:30:49 +0800
  • 6f2ea0def2 Implement Multi-Viewports on macOS TAiGA 2019-09-07 00:11:27 +0800
  • e80486e41e
    Merge pull request #11 from ocornut/docking mweilb 2019-09-05 15:57:34 -0700
  • 40a0ea3692 Merge branch 'docking' of https://github.com/ocornut/imgui into docking Updated to latest upstream commit Adri Wessels 2019-09-05 20:14:04 +0200
  • 351299f0fb Narrow ellipsis implementation. Rokas Kupstys 2019-09-05 12:59:43 +0300
  • 61a7803c61 Removed the need to pass in a GL Context. Also now when a new window is created it uses the main window's context and pixel format. Removed extra additions to the code that used a unique GL Context per viewport. Dane Caro 2019-09-04 12:00:53 -0500
  • 2f2a0b005c Created an example project that uses Win32 window creation using OpenGl3 via Glad. Dane Caro 2019-08-31 17:16:10 -0500
  • 6bb1152daa Move/rename things and add comments clarifying what is happening. Rokas Kupstys 2019-09-02 10:42:46 +0300
  • c077dd4872 Fixed missing IMGUI_API for IsMouseDragPastThreshold(). omar 2019-08-31 19:59:51 +0200
  • 0bdc145343 Merge branch 'master' into docking omar 2019-08-31 19:19:00 +0200
  • a806a3c1e2 Fix #2722 - ColorPicker / ColorEdit Widget Wrong Conversion from HSV to RGB Rokas Kupstys 2019-08-31 18:44:20 +0300
  • d049a7988c Docking: comments for DockBuilder API. omar 2019-08-31 16:51:12 +0200
  • 228bd74739 Merge branch 'docking' of https://github.com/ocornut/imgui into docking Updated to latest upstream commit Adri Wessels 2019-08-30 20:56:16 +0200
  • 0537ac005f ColorEdit: Disable Hue edit when Saturation==0 instead of letting Hue values jump around. omar 2019-08-30 20:33:35 +0200
  • b59ec7b9b7 DragInt, DragFloat, DragScalar: Using (v_min > v_max) allows locking any edit to the value. omar 2019-08-30 20:28:14 +0200
  • a4af3cc814 Viewport, GLFW: Fix for #2756 under Windows. omar 2019-08-29 15:53:33 +0200
  • a89a3cd2f1 Viewports, GLFW: Fix window having incorrect size after uncollapse. Issue manifests on Linux when window is in it's own viewport. (#2756, #2117) Rokas Kupstys 2019-08-23 16:12:06 +0300
  • 3f99890f40 TabBar: feed desired width (sum of unclipped tabs width) into layout system to allow for auto-resize. (#2768) Before 1.71 tab bars fed the sum of current width which created feedback loops in certain situations. Amend f95c77eeea. omar 2019-08-29 14:46:02 +0200
  • 7fdea92ba9 Move g_IgnoreSetWindowSizeEvent into ImGuiViewportDataGlfw struct. Rokas Kupstys 2019-08-29 14:10:00 +0300
  • 09780b8b3d Viewport: Fix setting window size on macos (glfw). (#2767, #2117) Rokas Kupstys 2019-08-29 14:02:42 +0300
  • 846cbd49ff Viewport: Fix setting window size on macos (glfw). Rokas Kupstys 2019-08-29 13:15:17 +0300
  • f8d3d8d7f5 TabBar: improved shrinking for large number of tabs to avoid leaving extraneous space on the right side. Individuals tabs are given integer-rounded width and remainder is spread between tabs left-to-right. omar 2019-08-29 12:13:29 +0200
  • 9e294be5c5 Docking: Fix for node created at the same time as windows that are still resizing (typically with io.ConfigDockingAlwaysTabBar) to not be zero/min sized. (#2109) The fix delay their visibility by one frame, which is not ideal but not very problematic as the .ini data gets populated after that omar 2019-08-21 15:07:28 +0200
  • f94336df21 Removes rotation arguments from ellipse methods Leonardo Serrano 2019-08-28 13:56:05 -0700
  • bfcdaeb610 Disable with ConfigWindowsMemoryCompactTimer < 0.0f (#2636) omar 2019-08-28 20:30:36 +0200
  • 62f75c7fb1 Added a mechanism to compact/free the larger allocations of unused windows (buffers are compacted when a window is unused for 60 seconds, as per io.ConfigWindowsMemoryCompactTimer = 60.0f). Note that memory usage has never been reported as a problem, so this is merely a touch of overzealous luxury. (#2636) omar 2019-06-30 12:48:19 +0200
  • 45a0db5979 Demo: PlotLine example displays the average value. (#2759) + extra comments Hanif Bin Ariffin 2019-08-26 19:52:08 -0400
  • c8418015c2 SliderScalar: Improved assert when using U32 or U64 types with a large v_max value. (#2765) + misc minor stuff. omar 2019-08-28 12:31:43 +0200
  • c458214d70 Added transparent backbuffer support to Vulkan Shawn M 2019-08-28 05:44:45 -0400
  • a01d149369 Fixed context popup windows from not having the NoDocking flag. (#2763) omar 2019-08-28 10:52:17 +0200
  • 49378fc5fd Add support for transparent backbuffers in GLFW and OpenGL3 Shawn M 2019-08-28 04:42:18 -0400
  • b1fd7d6d9b Update glfw to GLFW 3.3 Shawn M 2019-08-28 04:36:56 -0400
  • bcdb89ab07 Rebased imstb_rectpack on stb_rect_pack v1.00. Tommy Nguyen 2019-08-27 22:40:34 +0200
  • db83b364b4 Couple of changes to the code style Hanif Bin Ariffin 2019-08-27 19:37:33 -0400
  • e84c77ceaa Rebased imstb_rectpack on stb_rect_pack v1.00. Tommy Nguyen 2019-08-27 22:40:34 +0200
  • b26eb8636e Line graph now displays the average value. Hanif Bin Ariffin 2019-08-26 19:52:08 -0400
  • 254d6249cb Fix window having incorrect size after it is uncollapsed. Issue manifests on linux when window is in it's own viewport. Rokas Kupstys 2019-08-23 16:12:06 +0300
  • c510c112e0 glfw will incorrectly report mouse button as released when new window is created even if mouse button is kept pressed. Added a workaround that ignores mouse-release events for held-down buttons during window creation. This only happens on linux. Rokas Kupstys 2019-08-23 16:12:06 +0300
  • 0f28e874b9 Adds ellipse drawing methods to imgui_demo.cpp "Custom Rendering" demo Leonardo Serrano 2019-08-23 10:52:48 -0700
  • e7507749b0 Simplifies ImDrawList::PathEllipticalArcTo logic Leonardo Serrano 2019-08-23 10:41:17 -0700
  • 217cf53c82 Fixes spacing and naming Leonardo Serrano 2019-08-23 10:40:20 -0700
  • 483534b525 Internals: Using simpler ImVec2ih construct + fixed misnamed member. omar 2019-08-23 12:31:14 +0200
  • e1fca8d982 Merge branch 'master' into docking omar 2019-08-23 12:21:49 +0200
  • cb538fadfe Internals: Storing settings using ImVec2ih to match what we are doing with dock node. + removed ImMax from reading Size value (done in Begin) + removed seemingly unnecessary FLT_MAX compare in SettingsHandlerWindow_WriteAll. About: Added backquote to text copied into clipboard so it doesn't mess up with github formatting when pasted. omar 2019-08-23 11:08:30 +0200
  • ed8ae01075 Gives ImDrawList::PathEllipticalArcTo a default num_segments Leonardo Serrano 2019-08-22 21:56:23 -0700
  • 15b698044a Adds in 3 new ImDrawList methods that facilitate proper ellipse drawing Leonardo Serrano 2019-08-22 21:50:02 -0700
  • c4ff1b3578 ImDrawList: clarified the name of many parameters so reading the code is a little easier. (#2740) omar 2019-08-22 17:43:57 +0200
  • 3fb5cf3541 Using offsetof() when available in C++11. Avoids Clang sanitizer complaining about old-style macros. (#94) omar 2019-08-22 16:55:42 +0200
  • b5603476ac Add vcpkg install instructions grdowns 2019-08-22 06:44:23 -0700
  • 10a202422a Docking: Extracted some of BeginDocked() into a DockContextBindNodeToWindow() function. Moved one of the undocking blurb to favor fast path. (Commit intended to have no functional side effects) omar 2019-08-20 19:24:37 +0200
  • 27431dcc6b Docking: fix BeginDocked() path that creates node so that SetNextWindowDockID() doesn't immediately discard the node..(#2109) Amend 515ecbddc2, not sure at this point if the (auto_dock_node) flag was needed at all. Comments. Exposed DockContextGenNodeID() in imgui_internal.h omar 2019-08-20 19:24:23 +0200
  • d8f9f6ba2a Viewport: Fixed issue where resize grip would display hovered (before of extruded hit rectangle) while mouse is still off the OS bounds so click would miss it and focus the OS window behind expected one. (#1542) omar 2019-08-22 13:50:55 +0200
  • c4b0bf718a More typos in comments (#2738) omar 2019-08-22 11:40:37 +0200
  • a856c670c1 TabBar: fixed single-tab not shrinking their width down. + minor typo fixes (#2738) omar 2019-08-21 23:05:46 +0200
  • 72090b646f Fixed incorrect assignment of IsFallbackWindow which would tag dock node host windows created in NewFrame() as such, messing with popup viewport inheritance. omar 2019-08-22 11:34:17 +0200
  • aedcd2fb1a Merge branch 'master' into docking omar 2019-08-19 21:49:53 +0200
  • a33cedda14 Internals: Renaming window size calc functions. omar 2019-08-19 21:48:03 +0200
  • 7abd41bd5f TabBar: fixed ScrollToBar request creating bouncing loop when tab is larger than available space. omar 2019-08-19 20:38:17 +0200
  • 76ccbb899d Viewport: Fix modal/popup window being stuck in unowned hidden viewport associated to fallback window without stealing it back. (#1542) Viewport: Fix modal reference viewport when opened outside of another window. + Comments omar 2019-08-19 11:21:33 +0200