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
|
77d51ebf24
Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements.
|
7 years ago |
omar
|
4ff23d3306
Merge branch 'master' into viewport
|
7 years ago |
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 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
|
9d8bc79025
Viewport: Renamed RenderPlatformWindows() to RenderPlatformWindowsDefault(), tweaked examples and emphasis optional Viewport code path. (#1542)
|
7 years ago |
omar
|
172570acae
Merge branch 'master' into viewport
|
7 years ago |
omar
|
c29971cf72
Merge branch 'master' into viewport
|
7 years ago |
omar
|
74b7dce394
Examples: Renamed applications to emphasis on use of GLFW as a platform framework + minor local tweaks
|
7 years ago |
omar
|
2fecd332fc
Viewport, Platform: Added void* to render/swap buffer functions. Comments. (#1542, #1042)
|
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
|
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
|
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 years ago |
omar
|
9dcc07422e
Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542)
|
7 years ago |
omar
|
e9fa17e1bf
Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542)
|
7 years ago |
omar
|
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 years ago |
omar
|
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 years ago |
omar
|
cb601d79e8
Examples: SDL: Initial attempt at implementing the viewport/platform api. (WIP/test API) (#1542)
|
7 years ago |
omar
|
ef521d1e0b
Examples: SDL: Extracted into imgui_impl_sdl.*, reused imgui_impl_opengl* files.
|
7 years ago |
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 years ago |
omar
|
f0364aa359
Merge branch 'context'
|
7 years ago |
omar
|
cea8017e0b
Merge branch 'master' into context
|
7 years ago |
omar
|
4b49f03a40
Examples: SDL+GL3: Added Navigation keyboard mapping. (#787)
|
7 years ago |
omar
|
60fb7d31fd
Examples: SDL2: Enabling vsync. Using scancode consistently, fixed keyboard weirdness.
|
7 years ago |
omar
|
27980d9688
Merge branch 'master' into context
|
7 years ago |
omar
|
cd3dd886de
Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569)
|
7 years ago |
omar
|
cca9c3e3da
Examples: Using Dark theme by default. (#707). Tweaked demo code.
|
7 years ago |