Commit Graph

  • 35d648341b Examples: SDL: changed the signature of ImGui_ImplSDL2_ProcessEvent() to use a const SDL_Event*. (#2187) omar 2018-11-23 18:12:37 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 1f78e08427 Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function. omar 2018-11-22 20:13:55 +01:00
  • 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 +01:00
  • 510f0e505c Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function. omar 2018-11-22 20:13:55 +01:00
  • 0c4dee083c Internals: Added ImPool helper data structure (used by testing system, and already in docking branch) omar 2018-11-22 18:56:24 +01:00
  • d27ffefbd4 Version 1.67 WIP omar 2018-11-22 18:59:43 +01:00
  • 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 +01:00
  • 2515413080 Merge branch 'viewport' into docking omar 2018-11-22 15:29:18 +01:00
  • d87b80c6c1 Merge branch 'master' into viewport omar 2018-11-22 15:28:27 +01:00
  • da3c4330c1 Version 1.66 v1.66 omar 2018-11-22 14:23:38 +01:00
  • c00a3bd98f Examples: SDL2+Vulkan: Fixed application shutdown which could deadlock on Linux + Xorg. (#2181) omar 2018-11-21 18:43:25 +01:00
  • a5cf227503 Added link to experimental imgui_scoped.h PR/thread (#2197, #2096) omar 2018-11-21 18:30:36 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 50c43d1c8e Removed unnecessary ImGui:: prefixes. omar 2018-11-15 16:43:05 +01:00
  • 6b4443755d Internals: Added FindWindowByID() helper. (#2190) omar 2018-11-15 16:41:48 +01:00
  • 4a43f347bb Merge branch 'viewport' into docking omar 2018-11-15 14:00:01 +01:00
  • dcbf976a8e Merge branch 'master' into viewport + comments omar 2018-11-15 13:58:34 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • f52f0a5277 Examples: OpenGL3: Added support for GL 4.5's glClipControl(GL_UPPER_LEFT). (#2186) omar 2018-11-13 18:54:02 +01:00
  • 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 +01:00
  • 5b1394c5ac Update README.md omar 2018-11-09 15:02:19 +01:00
  • 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 +01:00
  • 6d7677534f Internals: SliderBehavior: Using axis indexing. omar 2018-11-09 14:31:14 +01:00
  • a3d6554e8e Merge branch 'master' into viewport + specific changes for GLFW callbacks omar 2018-11-08 16:56:51 +01:00
  • 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 +01:00
  • 9d155c73bc Examples: Misc comments mainly related to GLFW callbacks. (#1759) omar 2018-11-08 16:06:22 +01:00
  • 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 +01:00
  • 565af90958 Merge branch 'viewport' into docking omar 2018-11-06 09:52:38 +01:00
  • 131bf5ee4a Examples: SDL: Tweaked Windows instructions and batch files. (#2175) omar 2018-11-06 09:46:43 +01:00
  • 797f2044cd Viewport: Fixed SDL+OpenGL2 example to work with multi-viewports. (#2175) omar 2018-11-06 09:51:09 +01:00
  • 5ea08394f5 Examples: SDL: Tweaked Windows instructions and batch files. (#2175) omar 2018-11-06 09:46:43 +01:00
  • 9ee86f22b7 Examples: Win32: Handle UTf-8 in platform window title setting. (#2164) omar 2018-11-05 17:37:06 +01:00
  • 52ca91ca57 Merge branch 'master' into viewport omar 2018-11-05 17:28:46 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 1441756a0f Doc: Fixed comments referring to LoadFromFileTTF() instead of AddFontFromFileTTF() (#2153) Torkel Bjørnson-Langen 2018-11-05 14:17:51 +01:00
  • 2e6e1bec58 Examples: Add missing include guards (#2166) Michał Janiszewski 2018-11-01 20:56:36 +01:00
  • ed0f7004d0 Examples: Vulkan: Avoid unreferenced parameter warning. (#2162) Cort 2018-10-30 13:15:30 -07:00
  • 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 +01:00
  • e6db078eda gladLoadGL() return 0 to indicate failure (#2157) Hui 2018-10-29 22:51:32 +08:00
  • 168af9b377 Merge branch 'viewport' into docking omar 2018-10-25 23:45:19 +02:00
  • 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 +02:00
  • 50f6e12d31 Merge branch 'master' into viewport omar 2018-10-25 23:41:13 +02:00
  • 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 +02:00
  • 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 +02:00
  • faecf90383 SliderAngle: Added optional format argument to allow users customize precision and make localization. (#2150) Konstantin Podsvirov 2018-10-25 21:53:45 +03:00
  • 12c72d2893 Fixed OpenGL texture loading example in comment + Discourse link to root of discourse omar 2018-10-25 21:32:29 +02:00
  • a72d5ada61 Misc comments improvements omar 2018-10-25 19:02:24 +02:00
  • 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 +02:00
  • c547b2e8ee Added DockSpaceOverViewport() call, not sure about this because of the menu bar limitation. (#2109) omar 2018-10-25 15:34:53 +02:00
  • 56ba60ee68 Docking: Fixed not saving .ini file correct if DockingEnable flag is cleared. (#2109) omar 2018-10-24 12:25:58 +02:00
  • f270c81c49 Viewport, Docking: Fixed incorrectly setting the ImGuiViewportFlags_NoInputs flag, affecting split docking node. (#2109) omar 2018-10-23 18:26:35 +02:00
  • 745fda081e Viewport, Docking: Fixed incorrectly setting the ImGuiViewportFlags_NoInputs flag, affecting split docking node. (#2109) omar 2018-10-23 18:26:35 +02:00
  • e610afeea3 Font readme: Added OpenFontIcons, tweaks, links, removed spaces (#2141) omar 2018-10-22 11:54:57 +02:00
  • 5f8c9ae0ef Merge branch 'viewport' into docking omar 2018-10-18 10:57:54 +02:00
  • 056af2b1af Merge branch 'master' into viewport omar 2018-10-18 10:56:26 +02:00
  • 5f79a28a07 Examples: SDL: Fixed usage of SDL_GetDisplayDPI (#2137, #1676) Brandon 2018-10-18 01:48:18 -07:00
  • 82873c7ad4 Update README.md omar 2018-10-18 10:44:14 +02:00
  • 745f01022e Examples: Downgraded Xcode project object version (50->48) to support Xcode 9.2 (last version supported on macOS 10.12) (#2133, #1929) omar 2018-10-17 10:48:53 +02:00
  • 31fd6c585a Removed unnecessary ImGui:: qualifiers in internal code. omar 2018-10-16 17:52:53 +02:00
  • b4488d4f48 Examples: Downgraded Xcode project object version (50->48) to support Xcode 9.2 (last version supported on macOS 10.12) (#2133) Warren Moore 2018-10-17 01:46:49 -07:00
  • 000c1fc221 Demo: Added comments / tweaks related to the popups. omar 2018-10-16 10:25:32 +02:00
  • 5be915d6ab Added ImGuiWindowFlags_NoMouseInputs which is basically the old ImGuiWindowFlags_NoInputs (essentially we have renamed ImGuiWindowFlags_NoInputs to ImGuiWindowFlags_NoMouseInputs). Made the new ImGuiWindowFlags_NoInputs encompass both NoMouseInputs+NoNav, which is consistent with its description. (#1660, #787) omar 2018-10-15 18:23:18 +02:00
  • 90b50bd4c3 Window: Added ImGuiWindowFlags_NoBackground flag for consistency and to ease creating new flag combinations. Added ImGuiWindowFlags_NoDecoration helper flag which is essentially NoTitleBar+NoResize+NoScrollbar+NoCollapse. (#1660) omar 2018-10-15 18:00:04 +02:00
  • 69db792bf0 Viewport: Exposed GetOverlayDrawList(ImGuiViewport* viewport) in public API. (#1542, #1660, #1878, etc.) omar 2018-10-15 17:38:36 +02:00
  • 8b956216b7 Demo: Testing return value of BeginTabBar() for consistency. omar 2018-10-15 17:19:52 +02:00
  • 8606d9fa11 Fix Clang/GCC's null-conversion warning: (#2081) Elias Daler 2018-10-15 18:07:06 +03:00
  • b039dbc62e Update README.md omar 2018-10-15 08:34:42 +02:00
  • edb06a6c4d Fixed typo in misc/README.txt (#2131) Konstantin Podsvirov 2018-10-14 09:43:06 +03:00
  • e6cc547a94 Merge branch 'viewport' into docking omar 2018-10-12 15:51:31 +02:00
  • e73217d6f7 Merge branch 'master' into viewport omar 2018-10-12 15:50:48 +02:00
  • ca753829cb Revert using wchar_t functions (9cf94d5 + 2eaf5b0). Big mistake, wchar_t is not guaranteed to be 16-bits. omar 2018-10-12 15:48:38 +02:00
  • 28953208d4 Tests: Added imgui-test engine hooks (experimental). omar 2018-10-12 13:38:52 +02:00
  • 2eaf5b03df Fixes crash introduced in previous commit 9cf94d5. omar 2018-10-12 13:29:13 +02:00
  • ede3a3b92d Fixes crash introduced in previous commit 9cf94d5. omar 2018-10-12 13:29:13 +02:00
  • c398153b40 Merge branch 'master' into docking omar 2018-10-12 13:01:20 +02:00
  • 33994bbfa1 Docking: Fixed Modal window from being dockable. omar 2018-10-12 12:56:56 +02:00
  • 9cf94d5dd6 RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate. omar 2018-10-12 12:34:47 +02:00
  • 0fe48cbb61 Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.(#2035, #2096) Added misc/README file. omar 2018-10-12 11:14:21 +02:00
  • 74c0309126 InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. (#2006, #1443, #1008) omar 2018-10-12 10:14:03 +02:00
  • ed4dcd9072 Shutdown: Unlock font atlas before destroying context, so we can destroy a context between NewFrame and EndFrame if we wait (facilitate main loop structures). Internals: GetWindowScrollMaxX(), GetWindowScrollMaxY() omar 2018-10-11 17:11:27 +02:00
  • 7525637804 Merge branch 'viewport' into docking. 15ec78e Fixes the update of title buffer when docked in a leaf dock node with a single window. Added comment about overwriting DockIsActive in DockNodeUpdate(). omar 2018-10-11 21:36:00 +02:00
  • 15ec78e9d8 Internal: Moved stored window name update code to the first_begin_of_the_frame block. This will be useful in the Docking branch. omar 2018-10-11 21:31:42 +02:00
  • cf0afb48ac TextUnformatted: Using memchr(), fixed not properly testing for text_end bound + comments. Internals: Added ImStreolRange() + used in LogRenderedText() + comments. omar 2018-10-11 11:48:40 +02:00
  • d02b11dfbd ImGuiTextBuffer: Avoid heap allocation when empty. omar 2018-10-10 17:02:14 +02:00
  • 1efafa1d29 Comments + internal using Tab Stop terminology (ImGuiItemFlags_NoTabStop instead of !ImGuiItemFlags_AllowKeyboardFocus) omar 2018-10-10 12:01:40 +02:00
  • 3a7828de6b Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration (#1542) omar 2018-10-09 14:19:39 +02:00
  • 7b3433c68b Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration (#1542) omar 2018-10-09 14:19:39 +02:00
  • 84507cc744 Docking: Kept ImGuiDockNodeFlags_PassthruDockspace and removed ImGuiDockNodeFlags_PassthruInEmptyNodes, ImGuiDockNodeFlags_RenderWindowBg. Doesn't include ImGuiDockNodeFlags_NoDockingInCentralNode. (#2109) omar 2018-10-08 12:26:33 +02:00
  • 3fcc178c23 Update README.md omar 2018-10-08 11:37:13 +02:00
  • dd748f0e39 Update README.md omar 2018-10-08 11:19:50 +02:00