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 anos atrás |
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 anos atrás |
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 anos atrás |
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 anos atrás |
omar
|
aa3fe81c87
Examples: DPI: Hacked in a quick compile-and-run-everywhere call to SetProcessDpiAwareness(), will need to revisit.
|
7 anos atrás |
omar
|
9dcc07422e
Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542)
|
7 anos atrás |
omar
|
e9fa17e1bf
Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542)
|
7 anos atrás |
omar
|
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 anos atrás |
omar
|
25349b31d7
Examples: DX11 + Win32: Initial attempt at implementing the viewport/platform api. (WIP/test API) (#1542)
|
7 anos atrás |
omar
|
e6bc840f6f
Merge branch 'master' into examples_refactor
|
7 anos atrás |
omar
|
f43068c543
Examples: DirectX10, DirectX11: Simplified main example code.
|
7 anos atrás |
omar
|
bcdfd5d61c
Merge branch 'master' into examples_refactor
|
7 anos atrás |
omar
|
7e2e0535dd
Examples: DirectX 9,10,11: Inputs: Added support for mouse cursors (ImGui::GetMouseCursor() value and WM_SETCURSOR message handling). (#1495)
|
7 anos atrás |
omar
|
19540479d4
Examples: DirectX11: Extracted imgui_impl_dx11.* instead imgui_impl_dx11 and imgui_impl_win32
|
7 anos atrás |
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 anos atrás |
omar
|
f0364aa359
Merge branch 'context'
|
7 anos atrás |
omar
|
ae30efc0fd
Nav: Examples: Added commented out io.NavFlags |= ImGuiNavFlags_EnableKeyboard to all examples. (#787)
|
7 anos atrás |
omar
|
27980d9688
Merge branch 'master' into context
|
7 anos atrás |
omar
|
47e81a6194
Merge branch 'master' into navigation
|
7 anos atrás |
omar
|
cd3dd886de
Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569)
|
7 anos atrás |
omar
|
23c11e9764
Merge branch 'master' into navigation
|
7 anos atrás |
omar
|
cca9c3e3da
Examples: Using Dark theme by default. (#707). Tweaked demo code.
|
7 anos atrás |
omar
|
955d86199f
Examples: Tweaks formatting.
|
7 anos atrás |
omar
|
2933e6765c
Merge branch 'master' into navigation
|
7 anos atrás |
omar
|
6a25a8720a
Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there.
|
7 anos atrás |
omar
|
3967ff58b2
Nav: Examples: DirectX11, Glfw+GL3: Basic code to map keyboard inputs when io.NavFlags & ImGuiNavFlags_EnableKeyboard is set. (will iterate/tweak before spreading to other examples). (#787)
|
7 anos atrás |
omar
|
d3e826c247
Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. (#1565, #586, #992, #1007, #1558)
|
7 anos atrás |
omar
|
78f48bb795
Examples: DirectX10,DirectX11: Moved call to OMSetRenderTargets() in main loop so example code can integrate more nicely with other code.
|
7 anos atrás |
omar
|
ce13426a1a
Examples: Comments, synched some minor drift between examples + stronger suggestion to use StyleColorsDark().
|
7 anos atrás |
omar
|
1b86e7343f
Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete).
|
7 anos atrás |