This website requires JavaScript.
Explore
Help
Register
Sign In
imports
/
imgui
Watch
1
Star
0
Fork
0
You've already forked imgui
mirror of
https://github.com/ocornut/imgui.git
synced
2026-03-29 00:10:00 -05:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
38cfcf9fbca2dd5346f0122a2bbf99c99025cd08
imgui
/
examples
/
example_marmalade
/
main.cpp
omar
73e13a0762
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.
2018-07-16 22:17:34 +02:00
5.3 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink