Examples: Tweaked the main.cpp example structure for all examples. (There are a few hidden agendas here: 1) I would like to avoid encouraging people from using the implicit "Debug" window, and promote using Begin/End. In spite of my best attempt, there are a few feature of the upcoming docking system that cannot work 100% properly for the implicit Debug window, so future proof let's not put that feature in the spotlight too much for new users. 2) Moved dumb hardcoded positions into a single spot that can be replaced with a viewport relative position and not affect other demo windows. 3) Calling ShowDemoWindow before anything else, also for the benefit of a specific docking demo which will have an ordering constraint which is not really problematic in a real app but shouldn't be put forward in the demo.
1 parent abe7b19 commit 73e13a076240a023173158389eb8518d04d3dad9
@omar omar authored on 16 Jul 2018
Showing 17 changed files
View
CHANGELOG.txt
View
examples/example_allegro5/main.cpp
View
examples/example_apple_metal/Shared/Renderer.mm
View
examples/example_apple_opengl2/main.mm
View
examples/example_freeglut_opengl2/main.cpp
View
examples/example_glfw_opengl2/main.cpp
View
examples/example_glfw_opengl3/main.cpp
View
examples/example_glfw_vulkan/main.cpp
View
examples/example_marmalade/main.cpp
View
examples/example_sdl_opengl2/main.cpp
View
examples/example_sdl_opengl3/main.cpp
View
examples/example_sdl_vulkan/main.cpp
View
examples/example_win32_directx10/main.cpp
View
examples/example_win32_directx11/main.cpp
View
examples/example_win32_directx12/main.cpp
View
examples/example_win32_directx9/main.cpp
View
imgui_demo.cpp