Commit Graph

6083 Commits (949a9fa2cbab18f6d15bf84d3fad438ddcc502ec)
 

Author SHA1 Message Date
omar d9c54826bb Viewport: Stop relying on viewport->CreatedPlatformWindow to create Platform_DestroyWindow and Renderer_DestroyWindow. Explicitly require Platform_GetWindowFocus() to require supporting empty data.
omar 2515413080 Merge branch 'viewport' into docking
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui_widgets.cpp
omar d87b80c6c1 Merge branch 'master' into viewport
# Conflicts:
#	imgui.cpp
omar da3c4330c1 Version 1.66
omar c00a3bd98f Examples: SDL2+Vulkan: Fixed application shutdown which could deadlock on Linux + Xorg. ()
omar a5cf227503 Added link to experimental imgui_scoped.h PR/thread (, )
omar be66f94639 Examples: OpenGL3: More explicit testing for == GL_UPPER_LEFT in case glGetIntegerv(GL_CLIP_ORIGIN is not honored properly. (, ) Fix f52f0a5277
omar 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. ()
omar b9ae9bb1e3 Internals: Using GetOverlayDrawList(ImGuiWindow*) to match syntax of viewport/master branches. Fixed compiling with IMGUI_DEBUG_NAV_RECTS
omar 50c43d1c8e Removed unnecessary ImGui:: prefixes.
omar 6b4443755d Internals: Added FindWindowByID() helper. ()
omar 4a43f347bb Merge branch 'viewport' into docking
# Conflicts:
#	examples/example_allegro5/main.cpp
#	examples/example_marmalade/main.cpp
omar dcbf976a8e Merge branch 'master' into viewport + comments
# Conflicts:
#	examples/imgui_impl_opengl3.cpp
#	imgui.cpp
omar aa668c410a Nav: Fixed an assert in certain circumstance (mostly when using popups) when mouse positions stop being valid. () + adding a else block to make NavCalcPreferredRefPos() more explicit.
omar f2d577c33f Viewport: BeginMainMenuBar(): explicitly set viewport to avoid creating new one when ImGuiConfigFlags_ViewportsNoMerge is set + misc shallow changes.
omar ae34241f8b Viewport: BeginMainMenuBar(): explicitly set viewport to avoid creating new one when ImGuiConfigFlags_ViewportsNoMerge is set + misc shallow changes.
omar 1546153ca2 Docking: Fixed a regression where clicking a Tab wouldn't immediately set NavWindow. Which led to breaking the NavSaveLastChildNavWindow/NavRestoreLastChildNavWindow logic. ()
omar f52f0a5277 Examples: OpenGL3: Added support for GL 4.5's glClipControl(GL_UPPER_LEFT). ()
omar 19b4fcdacb Made IsWindowFocused() work outside of NewFrame()-EndFrame() and added comments about how ImGuiFocusedFlags_AnyWindow should NOT be used in place of io.WantCaptureMouse. ()
omar 5b1394c5ac
Update README.md
omar 6c1ae6cc71 Internals: DragBehavior: Added support for ImGuiDragFlags_Vertical to implement a vertical drag widget (no frontend function provided).
omar 6d7677534f Internals: SliderBehavior: Using axis indexing.
omar a3d6554e8e Merge branch 'master' into viewport + specific changes for GLFW callbacks
# Conflicts:
#	examples/example_glfw_opengl3/main.cpp
#	examples/example_win32_directx11/main.cpp
#	examples/example_win32_directx9/main.cpp
#	examples/imgui_impl_glfw.cpp
omar 772354377b Examples: GLFW: User previously installed GLFW callbacks are now saved and chain-called by the default callbacks. ()
omar 9d155c73bc Examples: Misc comments mainly related to GLFW callbacks. ()
omar a419d46205 Examples: OpenGL3+GLFW/SDL: Made main.cpp compile with IMGUI_IMPL_OPENGL_LOADER_CUSTOM (may be missing init). ()
omar 565af90958 Merge branch 'viewport' into docking
omar 131bf5ee4a Examples: SDL: Tweaked Windows instructions and batch files. ()
omar 797f2044cd Viewport: Fixed SDL+OpenGL2 example to work with multi-viewports. ()
omar 5ea08394f5 Examples: SDL: Tweaked Windows instructions and batch files. ()
omar 9ee86f22b7 Examples: Win32: Handle UTf-8 in platform window title setting. ()
omar 52ca91ca57 Merge branch 'master' into viewport
omar f388216ff0 Examples: GLFW: VS2015 project link with legacy_stdio_definitions.lib in order to link with the precompiled VS2010 GLFW3.lib we provide. (, , )
omar c808eb92c6 Config: Added IMGUI_DISABLE_WIN32_FUNCTIONS to disable linking with _any_ Win32 function, as a general forward compatible measure.
omar eb592bf7d3 ListBox(): Fixed frame sizing when items_count==1 unnecessarily showing a scrollbar. (). Tweaked frame sizing so list boxes will look more consistent when FramePadding is far from ItemSpacing.
Torkel Bjørnson-Langen 1441756a0f Doc: Fixed comments referring to LoadFromFileTTF() instead of AddFontFromFileTTF() ()
Michał Janiszewski 2e6e1bec58 Examples: Add missing include guards ()
Cort ed0f7004d0 Examples: Vulkan: Avoid unreferenced parameter warning. ()
omar 7fa3e71abb Internals: Moved the FocusableItemUnregister() outside of InputScalarAsWidgetReplacement(), it should not be here and doesn't facilitate reusing InputScalarAsWidgetReplacement(). (cc )
Hui e6db078eda gladLoadGL() return 0 to indicate failure ()
omar 168af9b377 Merge branch 'viewport' into docking
# Conflicts:
#	imgui_demo.cpp
omar 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 50f6e12d31 Merge branch 'master' into viewport
# Conflicts:
#	imgui.cpp
omar f3e642322f Demo: Removed one level of indentation in the ShowDemoWindowXXX functions (6 kb worth of spaces!). Will break some merge/PR.
omar eed1fba157 Demo: Split the contents of ShowDemoWindow() into smaller functions as it appears to speed up link time with VS. ()
Konstantin Podsvirov faecf90383 SliderAngle: Added optional `format` argument to allow users customize precision and make localization. ()
omar 12c72d2893 Fixed OpenGL texture loading example in comment + Discourse link to root of discourse
omar a72d5ada61 Misc comments improvements
omar 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 c547b2e8ee Added DockSpaceOverViewport() call, not sure about this because of the menu bar limitation. ()