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 жил өмнө |
omar
|
77d51ebf24
Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements.
|
7 жил өмнө |
omar
|
4ff23d3306
Merge branch 'master' into viewport
|
7 жил өмнө |
omar
|
eb1c36fdfb
Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. (#1695, #1769)
|
7 жил өмнө |
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 жил өмнө |
omar
|
d268471285
Viewport: Added ImGuiConfigFlags_ViewportsNoMerge flag (to enforce a platform window for all floating windows) + minor tidying up and addition of non-functional wip code.
|
7 жил өмнө |
omar
|
637d9c42bf
Viewport: WIP for Tooltips, Popups, Menus to create their own viewport. Resizing a window allows it to leave the main viewport. (#1542)
|
7 жил өмнө |
omar
|
7ddc22b326
Viewports, DPI: Renamed config flags. (#1542)
|
7 жил өмнө |
omar
|
0d5042f0f3
Viewport: Popups, Tooltips can individually request no task bar icons to the platform layer. (#1542)
|
7 жил өмнө |
omar
|
56ad2a2d74
Merge branch 'master' into viewport
|
7 жил өмнө |
omar
|
660c157880
Examples: Added missing calls for ::DestroyWindow, glfwDestroyWindow() + fix old comments.
|
7 жил өмнө |
omar
|
9d8bc79025
Viewport: Renamed RenderPlatformWindows() to RenderPlatformWindowsDefault(), tweaked examples and emphasis optional Viewport code path. (#1542)
|
7 жил өмнө |
omar
|
172570acae
Merge branch 'master' into viewport
|
7 жил өмнө |
omar
|
2fecd332fc
Viewport, Platform: Added void* to render/swap buffer functions. Comments. (#1542, #1042)
|
7 жил өмнө |
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 жил өмнө |
omar
|
5e63711084
Viewport, DPI: Some early work on per-viewport DPI support. At the moment the easiest way is to replace fonts during the ChangedViewport callback, but down the line we should aim at handling some of it at ImFont level. (#1542, #1676)
|
7 жил өмнө |
omar
|
a2fbcc9ad4
Examples: DPI: Portable DPI related helpers in the _Win32 examples. Using one in examples's main.cpp, the GetDpiScale functions are not wired anywhere for now. (#1542, #1676)
|
7 жил өмнө |
omar
|
4d46383100
Viewport: Coupling non-main viewport to one window. Viewport name derived from the window. Added ImGuiConfigFlags_PlatformNoTaskBar, off by default (aka re-established task-bars by default for now). (#1542)
|
7 жил өмнө |
omar
|
aa3fe81c87
Examples: DPI: Hacked in a quick compile-and-run-everywhere call to SetProcessDpiAwareness(), will need to revisit.
|
7 жил өмнө |
omar
|
9dcc07422e
Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542)
|
7 жил өмнө |
omar
|
e9fa17e1bf
Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542)
|
7 жил өмнө |
omar
|
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 жил өмнө |
omar
|
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 жил өмнө |
omar
|
25349b31d7
Examples: DX11 + Win32: Initial attempt at implementing the viewport/platform api. (WIP/test API) (#1542)
|
7 жил өмнө |
omar
|
e6bc840f6f
Merge branch 'master' into examples_refactor
|
7 жил өмнө |
omar
|
f43068c543
Examples: DirectX10, DirectX11: Simplified main example code.
|
7 жил өмнө |
omar
|
bcdfd5d61c
Merge branch 'master' into examples_refactor
|
7 жил өмнө |
omar
|
7e2e0535dd
Examples: DirectX 9,10,11: Inputs: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). (#1495)
|
7 жил өмнө |
omar
|
19540479d4
Examples: DirectX11: Extracted imgui_impl_dx11.* instead imgui_impl_dx11 and imgui_impl_win32
|
7 жил өмнө |
omar
|
63332d152a
Obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render(). Use ImGui::GetDrawData() to retrieve the ImDrawData* to display..(#1599)
|
7 жил өмнө |