diff options
Diffstat (limited to 'src/base/config.hpp')
-rw-r--r-- | src/base/config.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/config.hpp b/src/base/config.hpp index a71e26c7..83028400 100644 --- a/src/base/config.hpp +++ b/src/base/config.hpp @@ -29,6 +29,7 @@ #include <boost/property_tree/ptree.hpp> #include "utils/dimension.hpp" #include "utils/dimension_translator.hpp" +#include "utils/bool_translator.hpp" namespace usdx { @@ -47,6 +48,7 @@ namespace usdx * only accessible via getter/setter and setting a new value sould * update the apropriate entry in the property tree instance. */ + bool graphics_fullscreen; Dimension<int> graphics_resolution; public: @@ -56,6 +58,9 @@ namespace usdx /* Save the current status of the configuration items. */ void save(void) const; + void set_graphics_fullscreen(bool value); + bool get_graphics_fullscreen(void) const; + void set_graphics_resolution(Dimension<int> value); Dimension<int> get_graphics_resolution(void) const; }; |