Commit Graph

  • 1c7be88a1a Viewport: Fixed a bug where tooltips on their first frame didn't find a monitor leading to the "recovery" code to revert it to the main viewport for a frame. (#1542) omar 2018-11-30 14:13:51 +0100
  • baf67d393f When the focused window become inactive don't restore focus to a window with the ImGuiWindowFlags_NoInputs flag. (#2213) omar 2018-11-29 23:24:22 +0100
  • 4a94b251fd Comments omar 2018-11-29 22:00:17 +0100
  • 3c114b280a Merge branch 'viewport' into docking omar 2018-11-29 21:30:26 +0100
  • 2fbbcaa339 Viewport: Avoid calling platform functions when window is not created (apart from Platform_GetWindowDpiScale, documented as such). Main viewport situation is still ambiguous. (#1542) omar 2018-11-29 21:28:47 +0100
  • 36cbe1e521 Viewport: Misc renaming. omar 2018-11-29 21:16:45 +0100
  • 19d17ed274 Docking: Added io.ConfigDockingTransparentPayload option (to use with ImGuiConfigFlags_ViewportsNoMerge) omar 2018-11-29 15:56:51 +0100
  • 01f940dc9a Viewport: imgui_impl_sdl2: Added support for PlatformIO Platform_SetWindowAlpha. omar 2018-11-28 22:50:37 +0100
  • 19c4fa8dd5 Examples: DX12: Fixed compilation of imgui_impl_dx12.cpp in viewport branch. Multi-viewport is still not functional. omar 2018-11-28 15:41:17 +0100
  • 3bcc25f588 Merge branch 'viewport' into docking omar 2018-11-27 19:56:23 +0100
  • 4cadb57c46 Viewport: Comments. omar 2018-11-27 19:53:33 +0100
  • 99c32ed4a5 Merge branch 'master' into viewport omar 2018-11-27 19:46:40 +0100
  • c08b4b46f4 Viewport: Better support for toggling ImGuiConfigFlags_ViewportsEnable. (#2196) omar 2018-11-27 19:45:37 +0100
  • 4105cc7e97 Added ImGuiConfigFlags_None, ImGuiBackendFlags_None for good measure. omar 2018-11-27 19:32:47 +0100
  • e138a5fcb5 Docking: Fixed debug Rebuild operation. omar 2018-11-27 17:40:25 +0100
  • 1fa2cb8748 imgui.h: Comments omar 2018-11-27 14:10:40 +0100
  • ce07d55d1b imgui.h: Moved ImGuiListClipper omar 2018-11-27 13:58:52 +0100
  • 8495c931c0 mgui.h: Moved ImGuiInputTextCallbackData,, ImGuiSizeCallbackData, ImGuiPayload structures so they are not in the "Helpers" section. omar 2018-11-27 13:57:20 +0100
  • fc16e54612 Docking: Maintain CentralNode. When SetNextWindowDockID() on a now split node id, we dig to find the central node or the last focused node. (#2109) omar 2018-11-27 13:35:05 +0100
  • 4575354bc0 Docking: Comments + maiintain LastFrameFocused per node + using bitfiield for docking bools. omar 2018-11-27 12:05:30 +0100
  • 3f51c831de Docking: Added internal DockBuilderGetCentralNode(). Fixed being unable to undock whole node from dock button in DockSpace with a central node. (#2109) omar 2018-11-26 22:18:55 +0100
  • 962dcb466d Docking: Added ImGuiDockNodeFlags_NoResize. (#2109) omar 2018-11-26 21:52:40 +0100
  • b8d9c5c130 Merge branch 'viewport' into docking omar 2018-11-26 21:36:48 +0100
  • 1a0d2578a1 Viewport: Merging fixes + relying on multiple viewport overlaps. Follow-up to previous attempts are reworking the split/merge mechanisms. (#1542) omar 2018-11-26 21:35:44 +0100
  • 12a1e7d04e Viewport: Comment to suggest making WindowBg opaque when viewports are enabled. omar 2018-11-26 19:20:37 +0100
  • 4a8efd7e68 Docking: Hidden tab-bar triangle reflects focus but using Button colors. (#2109) omar 2018-11-26 17:57:01 +0100
  • 66cfbbff5e Docking: Fixed double-overlay when dragging window over one of the (four cardinal) outer drop boxes. (#2109) omar 2018-11-26 17:39:38 +0100
  • d23c69d319 Docking: Added context menu option to hide the tab bar of single-window dock nodes, similar to Unreal. (#2109) omar 2018-11-26 17:25:06 +0100
  • 1e7b50aeae Viewport: Fixes moving child menu viewport (fix 379733a). omar 2018-11-26 16:55:40 +0100
  • c93e92671a Viewport: Fixes moving child menu viewport (fix 379733a). omar 2018-11-26 16:55:40 +0100
  • ddc3f8f069 Merge branch 'viewport' into docking omar 2018-11-26 15:32:04 +0100
  • 5261e5a6ba Merge branch 'master' into viewport omar 2018-11-26 14:53:51 +0100
  • 379733aba1 Viewport: Fix viewport regression with protruding child window creating their own viewport. (fixes cae4d02, 760c1d95) (#1542) omar 2018-11-26 14:53:04 +0100
  • 131de7ab62 Docking: Added ImGuiConfigFlags_DockingNoSplit flag. (#2109) omar 2018-11-23 18:42:16 +0100
  • 35d648341b Examples: SDL: changed the signature of ImGui_ImplSDL2_ProcessEvent() to use a const SDL_Event*. (#2187) omar 2018-11-23 18:12:37 +0100
  • d8ab2c1ac9 Viewport: Added support for minimized window which caused problem when ImGuiBackendFlags_HasMouseHoveredViewport was not supported. (#1542) + todo omar 2018-11-23 16:18:30 +0100
  • 862781b195 Viewport: Avoid unnecessary reapplying platform pos/size every frame. (#2205) + Fix GLFW ImGui_ImplGlfw_CreateWindow() from not applying position immediately. Clear LastNameHash properly (bug already fixed in Docking branch) omar 2018-11-23 15:50:33 +0100
  • cae4d020dc Viewport: Merging/Extracting to/from main host viewport is now performed based on current state rather than triggers. Windows which don't fit in host window are now consistently in their own viewport. Toward simplifying the UpdateSelectWindowViewport() function. Probably broke something.. (#1542) omar 2018-11-22 21:13:07 +0100
  • 1f78e08427 Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function. omar 2018-11-22 20:13:55 +0100
  • 760c1d95b9 Viewport: Merging/Extracting to/from main host viewport is now performed based on current state rather than triggers. Windows which don't fit in host window are now consistently in their own viewport. Toward simplifying the UpdateSelectWindowViewport() function. Probably broke something.. (#1542) omar 2018-11-22 21:13:07 +0100
  • 510f0e505c Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function. omar 2018-11-22 20:13:55 +0100
  • 0c4dee083c Internals: Added ImPool helper data structure (used by testing system, and already in docking branch) omar 2018-11-22 18:56:24 +0100
  • d27ffefbd4 Version 1.67 WIP omar 2018-11-22 18:59:43 +0100
  • d9c54826bb Viewport: Stop relying on viewport->CreatedPlatformWindow to create Platform_DestroyWindow and Renderer_DestroyWindow. Explicitly require Platform_GetWindowFocus() to require supporting empty data. omar 2018-11-22 17:27:35 +0100
  • 2515413080 Merge branch 'viewport' into docking omar 2018-11-22 15:29:18 +0100
  • d87b80c6c1 Merge branch 'master' into viewport omar 2018-11-22 15:28:27 +0100
  • da3c4330c1 Version 1.66 v1.66 omar 2018-11-22 14:23:38 +0100
  • c00a3bd98f Examples: SDL2+Vulkan: Fixed application shutdown which could deadlock on Linux + Xorg. (#2181) omar 2018-11-21 18:43:25 +0100
  • a5cf227503 Added link to experimental imgui_scoped.h PR/thread (#2197, #2096) omar 2018-11-21 18:30:36 +0100
  • be66f94639 Examples: OpenGL3: More explicit testing for == GL_UPPER_LEFT in case glGetIntegerv(GL_CLIP_ORIGIN is not honored properly. (#2186, #2195) Fix f52f0a5277 omar 2018-11-21 18:24:24 +0100
  • cc4b1f9e47 Nav: Fixed explicit directional input not re-highlighting current nav item if there is a single item in the window and highlight has been previously disabled by the mouse. (#787) omar 2018-11-21 16:07:04 +0100
  • b9ae9bb1e3 Internals: Using GetOverlayDrawList(ImGuiWindow*) to match syntax of viewport/master branches. Fixed compiling with IMGUI_DEBUG_NAV_RECTS omar 2018-11-21 15:37:29 +0100
  • 50c43d1c8e Removed unnecessary ImGui:: prefixes. omar 2018-11-15 16:43:05 +0100
  • 6b4443755d Internals: Added FindWindowByID() helper. (#2190) omar 2018-11-15 16:41:48 +0100
  • 4a43f347bb Merge branch 'viewport' into docking omar 2018-11-15 14:00:01 +0100
  • dcbf976a8e Merge branch 'master' into viewport + comments omar 2018-11-15 13:58:34 +0100
  • aa668c410a Nav: Fixed an assert in certain circumstance (mostly when using popups) when mouse positions stop being valid. (#2168) + adding a else block to make NavCalcPreferredRefPos() more explicit. omar 2018-11-15 13:53:53 +0100
  • f2d577c33f Viewport: BeginMainMenuBar(): explicitly set viewport to avoid creating new one when ImGuiConfigFlags_ViewportsNoMerge is set + misc shallow changes. omar 2018-11-13 22:00:12 +0100
  • ae34241f8b Viewport: BeginMainMenuBar(): explicitly set viewport to avoid creating new one when ImGuiConfigFlags_ViewportsNoMerge is set + misc shallow changes. omar 2018-11-13 22:00:12 +0100
  • 1546153ca2 Docking: Fixed a regression where clicking a Tab wouldn't immediately set NavWindow. Which led to breaking the NavSaveLastChildNavWindow/NavRestoreLastChildNavWindow logic. (#2109) omar 2018-11-13 19:31:10 +0100
  • f52f0a5277 Examples: OpenGL3: Added support for GL 4.5's glClipControl(GL_UPPER_LEFT). (#2186) omar 2018-11-13 18:54:02 +0100
  • 19b4fcdacb Made IsWindowFocused() work outside of NewFrame()-EndFrame() and added comments about how ImGuiFocusedFlags_AnyWindow should NOT be used in place of io.WantCaptureMouse. (#2185) omar 2018-11-13 11:23:15 +0100
  • 5b1394c5ac
    Update README.md omar 2018-11-09 15:02:19 +0100
  • 6c1ae6cc71 Internals: DragBehavior: Added support for ImGuiDragFlags_Vertical to implement a vertical drag widget (no frontend function provided). omar 2018-11-09 14:41:40 +0100
  • 6d7677534f Internals: SliderBehavior: Using axis indexing. omar 2018-11-09 14:31:14 +0100
  • a3d6554e8e Merge branch 'master' into viewport + specific changes for GLFW callbacks omar 2018-11-08 16:56:51 +0100
  • 772354377b Examples: GLFW: User previously installed GLFW callbacks are now saved and chain-called by the default callbacks. (#1759) omar 2018-11-08 16:24:41 +0100
  • 9d155c73bc Examples: Misc comments mainly related to GLFW callbacks. (#1759) omar 2018-11-08 16:06:22 +0100
  • a419d46205 Examples: OpenGL3+GLFW/SDL: Made main.cpp compile with IMGUI_IMPL_OPENGL_LOADER_CUSTOM (may be missing init). (#2178) omar 2018-11-08 15:14:09 +0100
  • 565af90958 Merge branch 'viewport' into docking omar 2018-11-06 09:52:38 +0100
  • 131bf5ee4a Examples: SDL: Tweaked Windows instructions and batch files. (#2175) omar 2018-11-06 09:46:43 +0100
  • 797f2044cd Viewport: Fixed SDL+OpenGL2 example to work with multi-viewports. (#2175) omar 2018-11-06 09:51:09 +0100
  • 5ea08394f5 Examples: SDL: Tweaked Windows instructions and batch files. (#2175) omar 2018-11-06 09:46:43 +0100
  • 9ee86f22b7 Examples: Win32: Handle UTf-8 in platform window title setting. (#2164) omar 2018-11-05 17:37:06 +0100
  • 52ca91ca57 Merge branch 'master' into viewport omar 2018-11-05 17:28:46 +0100
  • f388216ff0 Examples: GLFW: VS2015 project link with legacy_stdio_definitions.lib in order to link with the precompiled VS2010 GLFW3.lib we provide. (#2010, #2043, #2091) omar 2018-11-05 17:26:12 +0100
  • c808eb92c6 Config: Added IMGUI_DISABLE_WIN32_FUNCTIONS to disable linking with _any_ Win32 function, as a general forward compatible measure. omar 2018-11-05 17:12:13 +0100
  • eb592bf7d3 ListBox(): Fixed frame sizing when items_count==1 unnecessarily showing a scrollbar. (#2173). Tweaked frame sizing so list boxes will look more consistent when FramePadding is far from ItemSpacing. omar 2018-11-05 14:49:17 +0100
  • 1441756a0f Doc: Fixed comments referring to LoadFromFileTTF() instead of AddFontFromFileTTF() (#2153) Torkel Bjørnson-Langen 2018-11-05 14:17:51 +0100
  • 2e6e1bec58 Examples: Add missing include guards (#2166) Michał Janiszewski 2018-11-01 20:56:36 +0100
  • ed0f7004d0 Examples: Vulkan: Avoid unreferenced parameter warning. (#2162) Cort 2018-10-30 13:15:30 -0700
  • 7fa3e71abb Internals: Moved the FocusableItemUnregister() outside of InputScalarAsWidgetReplacement(), it should not be here and doesn't facilitate reusing InputScalarAsWidgetReplacement(). (cc #2155) omar 2018-10-30 10:47:15 +0100
  • e6db078eda gladLoadGL() return 0 to indicate failure (#2157) Hui 2018-10-29 22:51:32 +0800
  • 168af9b377 Merge branch 'viewport' into docking omar 2018-10-25 23:45:19 +0200
  • 1a6eea012d Docking: Tweaked tooltip on tabs so they don't show immediately when holding and releasing a tab (using HoveredIdNotActiveTimer) + Minor refactor + Removed legacy .ini parsing. omar 2018-10-25 17:32:11 +0200
  • 50f6e12d31 Merge branch 'master' into viewport omar 2018-10-25 23:41:13 +0200
  • f3e642322f Demo: Removed one level of indentation in the ShowDemoWindowXXX functions (6 kb worth of spaces!). Will break some merge/PR. omar 2018-10-25 23:40:33 +0200
  • eed1fba157 Demo: Split the contents of ShowDemoWindow() into smaller functions as it appears to speed up link time with VS. (#2152) omar 2018-10-25 23:34:05 +0200
  • faecf90383 SliderAngle: Added optional format argument to allow users customize precision and make localization. (#2150) Konstantin Podsvirov 2018-10-25 21:53:45 +0300
  • 12c72d2893 Fixed OpenGL texture loading example in comment + Discourse link to root of discourse omar 2018-10-25 21:32:29 +0200
  • a72d5ada61 Misc comments improvements omar 2018-10-25 19:02:24 +0200
  • ac9aaf4b6e Comments in demo and opengl code + Internals: Added HoveredIdNotActiveTimer tracking hovering time unless the item is active, which is a commonly useful pattern. omar 2018-10-25 17:31:16 +0200
  • c547b2e8ee Added DockSpaceOverViewport() call, not sure about this because of the menu bar limitation. (#2109) omar 2018-10-25 15:34:53 +0200
  • 56ba60ee68 Docking: Fixed not saving .ini file correct if DockingEnable flag is cleared. (#2109) omar 2018-10-24 12:25:58 +0200
  • f270c81c49 Viewport, Docking: Fixed incorrectly setting the ImGuiViewportFlags_NoInputs flag, affecting split docking node. (#2109) omar 2018-10-23 18:26:35 +0200
  • 745fda081e Viewport, Docking: Fixed incorrectly setting the ImGuiViewportFlags_NoInputs flag, affecting split docking node. (#2109) omar 2018-10-23 18:26:35 +0200
  • e610afeea3 Font readme: Added OpenFontIcons, tweaks, links, removed spaces (#2141) omar 2018-10-22 11:54:57 +0200
  • 5f8c9ae0ef Merge branch 'viewport' into docking omar 2018-10-18 10:57:54 +0200
  • 056af2b1af Merge branch 'master' into viewport omar 2018-10-18 10:56:26 +0200
  • 5f79a28a07 Examples: SDL: Fixed usage of SDL_GetDisplayDPI (#2137, #1676) Brandon 2018-10-18 01:48:18 -0700