diff options
Diffstat (limited to 'src/graphics/common/device.h')
-rw-r--r-- | src/graphics/common/device.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/graphics/common/device.h b/src/graphics/common/device.h index a8bf32c..cd52fa5 100644 --- a/src/graphics/common/device.h +++ b/src/graphics/common/device.h @@ -22,6 +22,28 @@ namespace Gfx { +struct DeviceConfig +{ + //! Screen width + int width; + //! Screen height + int height; + //! Bits per pixel + int bpp; + //! Full screen + bool fullScreen; + //! Resizeable window + bool resizeable; + //! Hardware acceleration + bool hardwareAccel; + //! Double buffering + bool doubleBuf; + //! No window frame (also set with full screen) + bool noFrame; + + DeviceConfig(); +}; + class CDevice { // TODO |