From 309447f2f51e31c46cbf4a7f7def7f7179e68cd4 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 5 Sep 2012 23:13:52 +0200 Subject: base/config: add graphics.fullscreen option --- src/base/config.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/base/config.hpp') 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 #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 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 value); Dimension get_graphics_resolution(void) const; }; -- cgit v1.2.3