Commit graph

30 commits

Author SHA1 Message Date
35de0993d2 Support getting current vsync status in app 2021-10-31 13:18:32 +03:00
585fff7683 Add app:scene_manager interface 2021-07-02 11:35:08 +03:00
38f704c3ed Add app::options structure with creation options & add highdpi support 2021-05-28 12:14:41 +03:00
72a8734853 Make app::main automatically add an stdout sink 2021-04-19 21:02:38 +03:00
2b2b2be560 Support ui animations 2021-03-05 20:09:02 +03:00
4ba85c9e79 App uses a scene stack & owns scenes 2021-03-03 18:03:40 +03:00
908b6cc5c9 Active scenes can access parent app 2021-03-03 17:27:31 +03:00
8aa6c8a3bb App: ui_scene updates controller ui root on scene enter/exit 2021-03-03 16:19:22 +03:00
692da35066 App: scene_base tracks whether a scene is currently active 2021-03-03 16:18:18 +03:00
670ac8beda Make ui_scene update event loop 2021-03-03 13:05:03 +03:00
a362dafee3 Add app::ui_scene helper base class 2021-03-03 12:24:45 +03:00
c714d6b73a Store width & height in scene_base 2021-02-17 12:43:44 +03:00
4fa7e1f824 Logging should start with a capital letter 2020-11-19 23:51:20 +03:00
1bb5f6977f Rename scene::render to scene::present 2020-11-02 17:42:20 +03:00
08c62d6e3f Add macro-based pimpl & use it everywhere 2020-10-23 17:14:54 +03:00
fed4da3213 Support setting vsync in app::app 2020-10-03 13:10:09 +03:00
b47a95a158 Store window size in base app 2020-10-02 19:19:19 +03:00
517f964ce7 Add a helper scene_base & inherit app from it 2020-09-29 19:20:38 +03:00
9cf5a88afd Support relative mouse mode 2020-09-27 20:43:17 +03:00
c7dba5eef2 Add pedantic warnings to CMake & fix all warnings 2020-09-13 13:03:31 +03:00
15695973df Rename scene::draw to scene::render 2020-09-13 11:14:22 +03:00
835e0eab70 Turn off multisampling by default 2020-09-13 11:14:07 +03:00
e97812dcaf Add on_scene_enter & on_scene_exit 2020-09-13 11:11:58 +03:00
21b532062b Add app::stop 2020-08-30 21:21:37 +03:00
dea7cbf32e Move on_quit handler from scene to app 2020-08-30 10:24:22 +03:00
da8d9550a7 Introduce app::scene & support changing scenes 2020-08-30 10:14:35 +03:00
91de56753b Support app constructor arguments in app::main 2020-08-30 09:39:15 +03:00
a6316d27f4 Add app::time 2020-08-30 08:49:29 +03:00
3ab93d21a7 Use ad-hoc pimpl instead of util::pimpl for app 2020-08-30 08:48:57 +03:00
f69fb7299e Add app library 2020-08-28 11:14:40 +03:00