I now have a semi-functional GUI system that uses the ECS style to build gui elements rather than inheritance.

This commit is contained in:
Zed A. Shaw 2025-02-18 01:10:56 -05:00
parent 615599084a
commit 46de98e6f4
12 changed files with 213 additions and 146 deletions

View file

@ -8,7 +8,7 @@ project('raycaster', 'cpp',
# use this for common options only for our executables
cpp_args=[]
# these are passed as override_defaults
exe_defaults = ['warning_level=2', 'werror=false']
exe_defaults = ['warning_level=2', 'werror=true']
cc = meson.get_compiler('cpp')
@ -61,6 +61,7 @@ sources = [
'config.cpp',
'dbc.cpp',
'devices.cpp',
'ecs_gui.cpp',
'gui.cpp',
'inventory.cpp',
'lel.cpp',
@ -91,6 +92,7 @@ executable('runtests', sources + [
'tests/base.cpp',
'tests/dbc.cpp',
'tests/dinkyecs.cpp',
'tests/ecs_gui.cpp',
'tests/fsm.cpp',
'tests/inventory.cpp',
'tests/lel.cpp',