Contains customizable attributes for window creation.
More...
#include <WindowStyle.hpp>
|
|
std::ostream & | operator<< (std::ostream &stream, const WindowStyle &style) |
| |
Contains customizable attributes for window creation.
| CGUL::WindowStyle::WindowStyle |
( |
| ) |
|
Default constructor. Loads the window style with presets.
Sets up the window style with the following presets:
title = "CGUL Window";
backgroundColor = Color(255, 255, 255);
size = SCoord32(640, 480);
resizable = true;
centerWindow = true;
position = SCoord32(0, 0);
alwaysOnTop = false
| CGUL::WindowStyle::WindowStyle |
( |
const WindowStyle & |
style | ) |
|
Copy constructor.
- Parameters
-
Parameterized constructor.
- Parameters
-
| title | The title of the window. |
| backgroundColor | The background color of the window. |
| size | The size of the window. |
| resizable | Whether the window is resizable or not. |
| minimizable | Whether the minimize button is enabled or not. |
| maximizable | Whether the maximize button is enabled or not. |
| closeable | Whether the close button is enabled or not. |
| centerWindow | Whether the window should be in the center of the screen or not. |
| position | The position of the window on screen. If centerWindow is set to true this |
| alwaysOnTop | Whether the windows is above all others even when not focused. |
The documentation for this struct was generated from the following files: