|
|
b05e209c6d
|
Set stdio log level to info in deploy mode
|
2022-08-14 23:17:53 +03:00 |
|
|
|
ccb5570892
|
Add ui::text_input event
|
2022-04-01 17:42:42 +03:00 |
|
|
|
6db913756b
|
Add scene::on_text_input event
|
2022-04-01 17:40:22 +03:00 |
|
|
|
6e0579e548
|
Make sure text input is turned off at app start
|
2022-04-01 17:39:53 +03:00 |
|
|
|
123783c80a
|
Support creating an app with fixed resolution & add a list of common resolutions
|
2022-03-02 13:55:42 +03:00 |
|
|
|
a3aca66705
|
Make scene manager store shared pointers to scene to simplify removing scenes
|
2022-02-19 12:36:15 +03:00 |
|
|
|
7a3dbf685a
|
Log startup time
|
2022-02-17 16:38:11 +03:00 |
|
|
|
fb2acde48f
|
Change initial window size to 1024x768 & log window resize events
|
2022-02-17 16:37:30 +03:00 |
|
|
|
323c5a714f
|
Support setting max events per frame in ui_scene derived classes
|
2022-02-05 12:42:45 +03:00 |
|
|
|
d653cb1b8b
|
Restrict max events per frame in UI event loop
|
2022-02-05 12:38:06 +03:00 |
|
|
|
73820d4844
|
Support custom sinks in logging
|
2022-01-21 12:09:10 +03:00 |
|
|
|
35de0993d2
|
Support getting current vsync status in app
|
2021-10-31 13:18:32 +03:00 |
|
|
|
d1dc84bdde
|
Require 8-bit stencil buffer in app
|
2021-10-15 21:36: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 |
|
|
|
fb992e20ea
|
ui_scene::on_key_up fix
|
2021-04-25 22:52:25 +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 |
|
|
|
a7f259352c
|
App sends on_scene_exit at the end of main loop
|
2021-03-03 16:17:50 +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 |
|
|
|
0c45409dfe
|
App bugfix: event handler can change while handling events
|
2021-02-19 10:43:07 +03:00 |
|
|
|
c714d6b73a
|
Store width & height in scene_base
|
2021-02-17 12:43:44 +03:00 |
|
|
|
5e7aa7601d
|
Pimpl declaration macros now define a make_pimpl(...) static helper function
|
2021-01-23 10:42:14 +03:00 |
|
|
|
f0611657ac
|
Generate empty source file for libraries with no sources
|
2021-01-18 18:10:35 +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 |
|
|
|
fe5cd6510c
|
Use the new OpenGL Loader Generator for the gl loader
|
2020-10-27 23:14:12 +03:00 |
|
|
|
08c62d6e3f
|
Add macro-based pimpl & use it everywhere
|
2020-10-23 17:14:54 +03:00 |
|
|
|
bb744fa9c9
|
Don't show app window until run
|
2020-10-08 10:46:44 +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 |
|
|
|
f7c2d5d554
|
Bugfix: call on_scene_enter only once
|
2020-09-25 13:43:34 +03:00 |
|
|
|
3432b9b476
|
Show OpenGL vendor & renderer in log
|
2020-09-22 19:51:12 +03:00 |
|
|
|
dbfd9da21c
|
Add SDL2 initialization library & use it in app
|
2020-09-21 09:05:21 +03:00 |
|
|
|
d2d88ba7c5
|
Add 'psemek-' prefix to all psemek targets
|
2020-09-21 09:04:40 +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 |
|
|
|
c490d5307e
|
Turn off multisampling by default
|
2020-09-13 11:12:19 +03:00 |
|
|
|
e97812dcaf
|
Add on_scene_enter & on_scene_exit
|
2020-09-13 11:11:58 +03:00 |
|
|
|
29827743f6
|
Add app::impl::get_scene()
|
2020-09-13 11:11:08 +03:00 |
|
|
|
695da47ade
|
Fix scene resize if scene changed when processing events
|
2020-08-31 09:47:04 +03:00 |
|
|
|
ac505229ae
|
Use scene for draw & update calls instead of app
|
2020-08-30 21:22:12 +03:00 |
|