Commit Graph

  • 6ffee0e75e Backends: DX12: Added extra ID3D12DescriptorHeap parameter to ImGui_ImplDX12_Init() function. The value is unused in master branch but will be used by the multi-viewport features (docking branch). (#2851) + Using SafeRelease() in master. omar 2019-10-18 18:32:48 +0200
  • 6faad0c34f Backend: DX12: Amend 899e485. Fix memory leaks. Remove unused variable. (#2851) omar 2019-10-18 18:03:56 +0200
  • 05c1f2795a Add multi-viewports for DX12. (#2851) Ilya.Sevrikov 2019-10-17 16:53:43 +0300
  • eedc8f993f Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled. omar 2019-10-18 18:20:53 +0200
  • 7feccf9ab2 Merge branch 'master' into docking omar 2019-10-18 16:50:30 +0200
  • 4de32cc87e Backends: GLFW: Restore previously installed user callbacks in ImplGlfw when ImGui shuts down (#2836) malte-v 2019-10-18 16:25:18 +0200
  • 714fe29d1a Replace manual flooring with IM_FLOOR() macro. (#2850) Rokas Kupstys 2019-10-17 12:36:26 +0300
  • 53278be61f FAQ, Readme. Use = {} instead of = { 0 }, wasn't problematic because they were all static variables or one stack array not read. But hey. omar 2019-10-18 12:54:30 +0200
  • 9994f5bcbe Fixed more FAQ links, oops.. (#2848) omar 2019-10-16 11:28:45 +0200
  • 3bbc27ebd9 Fixed more FAQ links. (#2848) omar 2019-10-16 11:23:15 +0200
  • 5fc427a49e Improved and moved FAQ to docs/FAQ.md so it can be readable on the web. (#2848) omar 2019-10-16 11:03:41 +0200
  • 9d6b2b096b Ignore directories created by JetBrains IDEs. Rokas Kupstys 2019-10-15 15:48:46 +0300
  • 6892b81578 Remove trailing spaces from bunch of files. Rokas Kupstys 2019-10-15 16:20:27 +0300
  • c21fdabb43 Doc: Readme: moving contents to FAQ. omar 2019-10-15 13:00:04 +0200
  • a41f0b2df4 Inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function. IMPORTANT: Renamed internal CalcTypematicPressedRepeatAmount to CalcTypematicRepeatAmount and reordered the t1, t0 arguments to t0, t1 !! If you were using a non-default value for io.KeyRepeatRate (previous default was 0.250), you can add +io.KeyRepeatDelay to it to compensate for the fix. The function was triggering on: 0.0 and (delay+rate*N) where (N>=1). Fixed formula responds to (N>=0). Effectively it made io.KeyRepeatRate behave like it was set to (io.KeyRepeatRate + io.KeyRepeatDelay). Fixed the code and altered default io.KeyRepeatRate,Delay from 0.250,0.050 to 0.300,0.050 to compensate. If you never altered io.KeyRepeatRate nor used GetKeyPressedAmount() this won't affect you. omar 2019-10-14 23:07:06 +0200
  • c7bdec7e18 InputText, Nav: Fixed Left!Right keys broken when activating Keyboard Navigation. (#787) Amend 892dfb1 omar 2019-10-14 22:43:04 +0200
  • 67e4cd5cc6 Comments, some logging for NavInitRequest debugging Moved OpenPopupOnItemClick() next to BeginPopupContextItem() omar 2019-10-14 14:08:56 +0200
  • 8c4dcbfa45
    Diligent Engine omar 2019-10-12 17:56:32 +0200
  • 23eabd5991
    Emscripten omar 2019-10-12 17:41:56 +0200
  • 58411033e2
    Bindings omar 2019-10-12 17:21:11 +0200
  • 1c73a0c17e
    Bindings omar 2019-10-12 17:18:44 +0200
  • cba84df7b5
    Update README.md omar 2019-10-12 17:05:08 +0200
  • aeb6481499 InputText: Filter out Ascii 127 (DEL) emitted by low-level OSX layer, as we are using the Key value. (#2578) omar 2019-10-12 14:25:18 +0200
  • fc10ba8d24 Amend f0238ece9cba67ecabef438008fea53682bd6bc7 (#2817, #2818) omar 2019-10-11 14:20:04 +0200
  • 378035c6ff Fixed backspace handling on MacOS (fixed https://github.com/ocornut/imgui/issues/2817). Allow null view passing as parameter to ImGui_ImplOSX_NewFrame Egor Yusov 2019-09-30 21:16:30 -0700
  • bf746c4215 DragScalar, SliderScalar, InputScalar: Added p_ prefix to parameter that are pointers to the datato clarify how they are used, and more comments redirecting to the demo code. (#2844) omar 2019-10-11 12:03:43 +0200
  • bf4880f6a2 Merge branch 'master' into docking omar 2019-10-07 19:14:37 +0200
  • 927472f5ff Combo: Added _NoMove flag to prevent window from docking, which has an effect in Docking branch (in Master was not noticeable as the Combo code kept repositioning the window). (#2835) omar 2019-10-07 19:14:08 +0200
  • 3b271b1847 Demo: Added simple item reordering demo in Widgets -> Drag and Drop section. (#2823, #143) [@rokups] omar 2019-10-07 17:52:31 +0200
  • 8aad3482a4 ImVector: Fixed index_from_ptr() not asserting when passed end() element. omar 2019-10-07 17:22:55 +0200
  • 323412dd23 Examples: Allegro5: updated build instructions for macOS Harris Brakmic 2019-10-06 13:02:01 +0200
  • 73fa6509a5 Internal: InputTextEx: tweaked a bit of code (should be a no-op) omar 2019-10-05 16:53:28 +0200
  • f1f321d3f6
    Update README.md omar 2019-10-05 16:07:00 +0200
  • e0c0e53edf Merge branch 'master' into docking omar 2019-10-04 19:22:42 +0200
  • ee3373d067 TreeNode: Fixed combination of ImGuiTreeNodeFlags_SpanFullWidth and ImGuiTreeNodeFlags_OpenOnArrow incorrectly locating the arrow hit position to the left of the frame. (#2451, #2438, #1897) omar 2019-10-04 19:21:29 +0200
  • ccb2a947a2 Internal: SliderBehaviorT: Condition '!is_decimal' is always true (#2828) domgho 2019-10-04 11:57:20 +0200
  • 1425bec7a4 Demo: Text baseline demo tweaks. omar 2019-10-03 16:57:14 +0200
  • a6c3be4bda Internals: Tweaks to ItemSize() should be harmless. Added DebugDrawItemRect() helper. omar 2019-10-03 15:59:36 +0200
  • 892dfb1dea InputText, Nav: Fixed Home/End key broken when activating Keyboard Navigation. (#787) Small refactor of ActiveIdUsingXXX inputs flags toward a little more consistent system. (#2637) omar 2019-10-02 11:38:30 +0200
  • a2f3dcfc97 Added comment about SDL and SDL_INIT_GAMECONTROLLER. (#2809) omar 2019-10-02 11:38:30 +0200
  • 893056a209 Fix syntax typos in README (#2819) Denys Nahurnyi 2019-10-01 22:49:44 +0300
  • eb5223276c
    Update README.md omar 2019-09-30 20:54:37 +0200
  • 0dad3f436b Fix harmless float calculation overflow. (#2813) omar 2019-09-30 15:16:30 +0200
  • c262276988 Version 1.74 WIP omar 2019-09-30 14:27:56 +0200
  • f0f5301612 Backends: OpenGL3: Commented out extra tokens at end of #else directive (#2804) Konstantin Podsvirov 2019-09-25 01:06:14 +0300
  • 688cf868ea Merge branch 'master' of https://github.com/ocornut/imgui v1.73 omar 2019-09-24 17:15:48 +0200
  • 6994bf10bc Merge branch 'master' into docking + fix for RenderMouseCursor() omar 2019-09-24 17:14:51 +0200
  • d5efe16157 Version 1.73 omar 2019-09-24 16:33:47 +0200
  • 293f74e996
    Update README.md omar 2019-09-24 16:00:53 +0200
  • 664f9e76b9 Documentation: Various tweaks and improvements to the README page. [@ker0chan] omar 2019-09-24 15:46:08 +0200
  • e100523917 CollapsingHeader: Added support for ImGuiTreeNodeFlags_Bullet and ImGuiTreeNodeFlags_Leaf on framed nodes. (#2159, #2160) goran-w 2018-10-30 15:52:27 +0100
  • ca858c084b Demo tweaks. Comments. Compacting the rarely used AutoFitXXX fields in ImGuiWindowTempData. omar 2019-09-23 15:31:05 +0200
  • 52deb415e0 Internal: Refactored internal RenderMouseCursor so colors can be specified. (#2614) omar 2019-09-23 14:53:49 +0200
  • 25849234f6 Internal: Tree: tweaks (initially tried to implement auto-scrolling, stashed) omar 2019-09-23 12:45:52 +0200
  • 97691643b7 Backends: OpenGL3: Attempt to automatically detect default GL loader by using __has_include. Followup to 44cd8e3 (#2798) omar 2019-09-22 23:19:04 +0200
  • 44cd8e39da Automatically include the available gl loader header osheriff 2019-09-22 12:52:36 +0200
  • 3233d85d2f Merge branch 'master' into docking omar 2019-09-22 22:16:11 +0200
  • 80b3ab7d3e TabBar: Fixed single tab shrinking reducing the tab to 0.0f size. Broken by a856c670c1. omar 2019-09-22 22:16:05 +0200
  • f47a0a85cc ImVector: added find, find_erase, find_erase_unsorted helpers. omar 2019-09-21 17:04:10 +0200
  • eab03f4467 Selectable: Added ImGuiSelectableFlags_AllowItemOverlap flag in public api (was previously internal only). omar 2019-09-21 17:18:24 +0200
  • 13f00331da Docking: Added ImGuiDockNodeFlags_NoDocking flag. (#2109) omar 2019-09-21 14:50:02 +0200
  • a45e3b5bb3 Readme, Wiki: Image loading examples. omar 2019-09-20 19:04:19 +0200
  • f7468d05fe Fixed mouse event forwarding in macos example (#2710, #1961) omar 2019-09-20 15:46:18 +0200
  • 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
  • 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
  • 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
  • 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
  • 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
  • 561e7dd490 Fix signed types warning in pasteboard handler (#2786) Qix 2019-09-17 09:21:09 +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
  • 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
  • d049a7988c Docking: comments for DockBuilder API. omar 2019-08-31 16:51:12 +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
  • 09780b8b3d Viewport: Fix setting window size on macos (glfw). (#2767, #2117) Rokas Kupstys 2019-08-29 14:02:42 +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
  • 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