UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
windowsettings.h
Go to the documentation of this file.
1 #ifndef UGDK_DESKTOP_WINDOWSETTINGS_H_
2 #define UGDK_DESKTOP_WINDOWSETTINGS_H_
3 
4 #include <string>
5 #include <ugdk/math/integer2D.h>
6 
7 namespace ugdk {
8 namespace desktop {
9 
11  std::string title;
12  std::string icon;
14  bool fullscreen;
15  bool vsync;
16 
18 
19  WindowSettings(const std::string& _title,
20  const std::string& _icon,
21  const math::Integer2D& _size,
22  bool _fullscreen,
23  bool _vsync)
24 
25  : title(_title)
26  , icon(_icon)
27  , size(_size)
28  , fullscreen(_fullscreen)
29  , vsync(_vsync)
30  {}
31 };
32 
33 } // namespace desktop
34 } // namespace ugdk
35 
36 #endif // UGDK_DESKTOP_WINDOWSETTINGS_H_
bool fullscreen
Definition: windowsettings.h:14
Definition: integer2D.h:20
Definition: windowsettings.h:10
Definition: animation.h:11
bool vsync
Definition: windowsettings.h:15
std::string icon
Definition: windowsettings.h:12
WindowSettings(const std::string &_title, const std::string &_icon, const math::Integer2D &_size, bool _fullscreen, bool _vsync)
Definition: windowsettings.h:19
math::Integer2D size
Definition: windowsettings.h:13
std::string title
Definition: windowsettings.h:11