omar
|
13a3a2d0f3
Merge branch 'examples_refactor2' into viewport (#1870)
|
7 years ago |
omar
|
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). (#1870)
|
7 years ago |
omar
|
8c374512fd
Examples, Platform: Removed the call to ImGui::NewFrame() from the platform _NewFrame() function e.g. ImGui_ImplWin32_NewFrame(), ImGui_ImplSDL2_NewFrame(), ImGui_ImplGlfw_NewFrame(), etc. Moved to main.cpp for consistency. (#1542)
|
7 years ago |
omar
|
85f3ba844c
Merge branch 'master' into viewport
|
7 years ago |
omar
|
090eb437ed
Viewport, Platform: Cleaned up xxx_UpdateMouseCursor() functions to make them more consistent. (#1542)
|
7 years ago |
omar
|
d574604a5d
Viewport, Platform: Win32: Fixed handling of io.WantSetMousePos + added a bunch of comments. GLFW, SDL2: Added handling of io.WantSetMousePos. (#1542)
|
7 years ago |
omar
|
6eacddb50f
Viewport: Changed Monitor field to use Pos+Size (more consistent), changed FullMin,FullMax to MainPos,MainSize. Made main viewport accessible in PlatformIO on first frame. Fixed casing of ImGuiViewportFlags_TopMost flag. (#1542)
|
7 years ago |
omar
|
cd51f37fc0
Viewport, Platform: Refresh monitor list (win32, glfw) + avoid calling GetWindowFocus before platform window creation to not require of backend to null-check things inconsistently. (#1542)
|
7 years ago |
omar
|
7a41e0b1ea
Platform: Added platform_io.Platform_SetWindowFocus, Platform_GetWindowFocus function wrappers (unused yet). Exact specs tbd because our simplified concept of focus doesn't necessary match the more complex OS native concepts. (#1542)
|
7 years ago |
omar
|
e3e4b7bdf5
Viewport: Fixed mouse hover flicker on mouse button release frame after moving a window. (#1542)
|
7 years ago |
omar
|
cb78e62df9
Viewport, Platform: Fixed IME positioning for multi-viewport. Moved API from ImGuiIO to ImGuiPlatformIO. Because it is extremely unlikely to people redefined this API manually the moving-forward-breakage is ok. (#1542)
|
7 years ago |
omar
|
423577e14e
Viewport, Platforms: SDL: Fixed initial focus click being ignored as a mouse button. GLFW: Fixed mouse cursor support for multi-viewport with GLFW 3.3 (current master) - somehow doesn't appear to work with GLFW 3.2 but I'm not too fussed about it. (#1542)
|
7 years ago |
omar
|
4433ce4312
Viewport, Platform: Added work area in ImGuiPlatformMonitor. Renamed fields. (#1542)
|
7 years ago |
omar
|
456bbffcc4
Viewport: Switched to using unified platform-absolute mouse coordinates, which simplify lots of problems and simplify/reduce tricky conversions, makes ImVec2 less ambiguous. Fixed various viewport/windowing/popups/synchronization bugs. Settings on host-viewport are stored as relative (made settings decently compatible between viewport enable/disabled settings). Merged ImGuiViewport::Pos and ::PlatformPos. Tweaked thumbnails. Better, smaller code. (#1542)
|
7 years ago |
omar
|
1c385c2ca4
Merge branch 'master' into viewport
|
7 years ago |
omar
|
950539b768
Viewport, Platform, DPI: Back-end store per-monitor DPI information in ImGuiPlatformMonitor. (#1542, #1676)
|
7 years ago |
omar
|
285269ef55
Viewport, Platform: Added ImGuiViewportFlags_TopMost that will be used by tooltip window (without it, clicking and holding the window emitting the tooltip would move the tooltip to the back) + GLFW backend fixes for non-win32 platforms. (#1542)
|
7 years ago |
omar
|
83bd3595a4
Viewport: Merged ImGuiPlatformData into ImGuiPlatformIO. Comments. (#1542)
|
7 years ago |
omar
|
32ee0a3947
Viewport, Platform: Added a way to register monitor bounds to imgui so they can be used to clamp individual-viewport tooltips/popups so they don't straddle monitors. (#1542)
|
7 years ago |
omar
|
7ddc22b326
Viewports, DPI: Renamed config flags. (#1542)
|
7 years ago |
omar
|
0d5042f0f3
Viewport: Popups, Tooltips can individually request no task bar icons to the platform layer. (#1542)
|
7 years ago |
omar
|
d4dd448511
Examples, Platform, Viewport: Fixed inconsistent window ownership issues. Added comments. Made Win32/SDL back-ends track ownership.
|
7 years ago |
omar
|
f421e73b40
Merge branch 'master' into viewport
|
7 years ago |
omar
|
172570acae
Merge branch 'master' into viewport
|
7 years ago |
omar
|
2fecd332fc
Viewport, Platform: Added void* to render/swap buffer functions. Comments. (#1542, #1042)
|
7 years ago |
omar
|
0e09032750
Viewport, Examples: Renamed types used by examples. (#1542)
|
7 years ago |
omar
|
46b61427e1
Viewport, Platform: Refactored platform interface. Removed need to use imgui_internal.h in backends. Split viewport into public facing ImGuiViewport and internal structure. Exposing enough data to provide custom tweaked renderers. Renamed handlers, fixed lots of inconsistencies. (#1542, #1042)
|
7 years ago |
omar
|
1ab236d9df
Viewport, Platform: Internal renaming to use more consistent (OsDesktopPos > PlatformPos). (#1542)
|
7 years ago |
omar
|
2e1ac0f683
Viewport, Platform: SDL: Makes the CreateViewport function restore current GL context so in theory it is free from side-effect. That said, it seems like there is a bug in SDL because our CreateViewport (currently in Render(), not for long) have affect a jerky side-effect if SDL_GL_MakeCurrent() is called before Render(). (#1542)
|
7 years ago |
omar
|
6e58a95a01
Viewport, Platform, Examples: Changes to resizing flow + restored support for Platform events affecting the ImGui windows (so Decorated windows are functional). (#1542, #1042) ..
|
7 years ago |