936 Commits (32c4e01267efca5bc97566a6df1ef5bb83cc29f7)

Author SHA1 Message Date
omar f435aa193b Examples: Win32: Added support for XInput games (if ImGuiConfigFlags_NavEnableGamepad is enabled). ago%!(EXTRA string=6 years)
omar 133f112af0 Examples: Win32: Using GetForegroundWindow() instead of GetActiveWindow() to be compatible with windows created in a different thread. (#1951, #2087, #2156, #2232) [many people] ago%!(EXTRA string=6 years)
DomRe 4483320f0a Examples: Allegro 5: Properly destroy all globals on shutdown. (#2262) ago%!(EXTRA string=6 years)
Alzathar 25ac85f15d Examples: Downgrading projects to xcode 9.2 (maybe 8.0) (#2134) ago%!(EXTRA string=6 years)
omar 0cabe4dedf Viewport: Added ImGuiWindowClass / SetNextWindowClass() (concept imported from Docking ImGuiDockFamily), which currently allows to overwrite viewport flags on a per-window basis. Exposed FindViewportByID(). Win32: Support for ParentViewportId. (#1542) ago%!(EXTRA string=6 years)
omar cfcad42b89 Viewport: Win32: Workaround to the fact that ::WindowFromPoint() seems to return Windows using ImGuiViewportFlags_NoInputs / HTTRANSPARENT when dragging nearby the platform title bar. This is to allow using platform decoration. I don't understand this well atm. (#1542) ago%!(EXTRA string=6 years)
omar 4a6f95acc8 Viewport: Added Platform_UpdateWindow hook for general purpose: Rework Win32 code to reflect viewport flags changes into Win32 while the window is active. ago%!(EXTRA string=6 years)
omar d9a4cbc429 Examples: Comments about GLFW/SDL versions ago%!(EXTRA string=6 years)
omar a9a60a24c1 Tweaked asserts ago%!(EXTRA string=6 years)
omar a71d3c8cb3 Viewport: Misc comments following user feedbacks.. ago%!(EXTRA string=6 years)
omar 238321c159 Fix merge in Docking branch, remove ConfigDockingWithShift flag from DX11 example + misnamed function. ago%!(EXTRA string=6 years)
omar 2889a14f86 Build fix for master. ago%!(EXTRA string=6 years)
omar b1cd52b674 Examples: SDL: Avoid testing for SDL_GetKeyboardFocus() on Android and iOS (like Emscripten). (#421) ago%!(EXTRA string=6 years)
omar afe9c5c5f7 Examples: SDL: Fixed compilation for SDL 2..0.3 and less (running on our test servers) and clarified a bit of the messy situation. Followup to 8dd83c5. (#1542, #2117) ago%!(EXTRA string=6 years)
omar d5b22fb635 Examples: Setting up style before bindings, so in complex binding (vulkan/dx12) it isn't miles away from the context creation. ago%!(EXTRA string=6 years)
omar 62cfdceac1 Examples: Viewport: Moved the "make current GL context" to reduce the amount of call and hopefully be more explicit about viewport enabled vs disabled requirements. (#1542) ago%!(EXTRA string=6 years)
omar 8dd83c5fe8 Examples: SDL: SDL_GetMouseState() seems problematic, movements feels laggy in the non-viewport code path. (#1542, #2117) ago%!(EXTRA string=6 years)
omar 5d20da1b36 Viewport, DPI: Now using DpiScale from the ImGuiPlatformMonitor array instead of calling Platform_GetWindowDpiScale() before the platform window creation. Might even tentatively see if things work out without Platform_GetWindowDpiScale. (#1676) ago%!(EXTRA string=6 years)
omar f3a0b17bb8 Viewport: Win32, GLFW, SDL: Clarified back-ends by using global mouse position direction. GLFW: disabled io.MouseHoveredViewport setting under Mac/Linux. (#1542, #2117) + various comments. ago%!(EXTRA string=7 years)
omar 8d58055a54 Examples: DirectX10/11/12: Made imgui_impl_dx10/dx11/dx12.cpp link d3dcompiler.lib from the .cpp file to ease integration. ago%!(EXTRA string=7 years)
omar 89a530b442 Somehow VS keeps modifying this GUID so I am going to playing along with it. ago%!(EXTRA string=7 years)
omar 801645d350 Version 1.66b (will revisit how to change IMGUI_VERSION_NUM across versions, this commit reduces the numerical IMGUI_VERSION_NUM compared to the commit on Nov 22). ago%!(EXTRA string=7 years)
omar 48f6fdb349 Fixed typo. ago%!(EXTRA string=7 years)
omar 7658035e5a About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose. ago%!(EXTRA string=7 years)
omar a423f032ee About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose. ago%!(EXTRA string=7 years)
omar 01f940dc9a Viewport: imgui_impl_sdl2: Added support for PlatformIO Platform_SetWindowAlpha. ago%!(EXTRA string=7 years)
omar 19c4fa8dd5 Examples: DX12: Fixed compilation of imgui_impl_dx12.cpp in viewport branch. Multi-viewport is still not functional. ago%!(EXTRA string=7 years)
omar 12a1e7d04e Viewport: Comment to suggest making WindowBg opaque when viewports are enabled. ago%!(EXTRA string=7 years)
omar 35d648341b Examples: SDL: changed the signature of ImGui_ImplSDL2_ProcessEvent() to use a const SDL_Event*. (#2187) ago%!(EXTRA string=7 years)
omar d8ab2c1ac9 Viewport: Added support for minimized window which caused problem when ImGuiBackendFlags_HasMouseHoveredViewport was not supported. (#1542) + todo ago%!(EXTRA string=7 years)
omar 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) ago%!(EXTRA string=7 years)
omar c00a3bd98f Examples: SDL2+Vulkan: Fixed application shutdown which could deadlock on Linux + Xorg. (#2181) ago%!(EXTRA string=7 years)
omar be66f94639 Examples: OpenGL3: More explicit testing for == GL_UPPER_LEFT in case glGetIntegerv(GL_CLIP_ORIGIN is not honored properly. (#2186, #2195) Fix f52f0a5277 ago%!(EXTRA string=7 years)
omar f52f0a5277 Examples: OpenGL3: Added support for GL 4.5's glClipControl(GL_UPPER_LEFT). (#2186) ago%!(EXTRA string=7 years)
omar 772354377b Examples: GLFW: User previously installed GLFW callbacks are now saved and chain-called by the default callbacks. (#1759) ago%!(EXTRA string=7 years)
omar 9d155c73bc Examples: Misc comments mainly related to GLFW callbacks. (#1759) ago%!(EXTRA string=7 years)
omar a419d46205 Examples: OpenGL3+GLFW/SDL: Made main.cpp compile with IMGUI_IMPL_OPENGL_LOADER_CUSTOM (may be missing init). (#2178) ago%!(EXTRA string=7 years)
omar 131bf5ee4a Examples: SDL: Tweaked Windows instructions and batch files. (#2175) ago%!(EXTRA string=7 years)
omar 797f2044cd Viewport: Fixed SDL+OpenGL2 example to work with multi-viewports. (#2175) ago%!(EXTRA string=7 years)
omar 5ea08394f5 Examples: SDL: Tweaked Windows instructions and batch files. (#2175) ago%!(EXTRA string=7 years)
omar 9ee86f22b7 Examples: Win32: Handle UTf-8 in platform window title setting. (#2164) ago%!(EXTRA string=7 years)
omar 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) ago%!(EXTRA string=7 years)
Michał Janiszewski 2e6e1bec58 Examples: Add missing include guards (#2166) ago%!(EXTRA string=7 years)
Cort ed0f7004d0 Examples: Vulkan: Avoid unreferenced parameter warning. (#2162) ago%!(EXTRA string=7 years)
Hui e6db078eda gladLoadGL() return 0 to indicate failure (#2157) ago%!(EXTRA string=7 years)
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. ago%!(EXTRA string=7 years)
Brandon 5f79a28a07 Examples: SDL: Fixed usage of SDL_GetDisplayDPI (#2137, #1676) ago%!(EXTRA string=7 years)
omar 745f01022e Examples: Downgraded Xcode project object version (50->48) to support Xcode 9.2 (last version supported on macOS 10.12) (#2133, #1929) ago%!(EXTRA string=7 years)
Warren Moore b4488d4f48 Examples: Downgraded Xcode project object version (50->48) to support Xcode 9.2 (last version supported on macOS 10.12) (#2133) ago%!(EXTRA string=7 years)
hesiod 500a60debc Examples: OpenGL3: Cast compile/link status to GLboolean (#2112, #2125) ago%!(EXTRA string=7 years)