Manage a window style.
More...
#include <NRE_WindowStyle.hpp>
|
static constexpr unsigned int | BASIC = 0b000 |
|
static constexpr unsigned int | CLOSEABLE = 0b001 |
|
static constexpr unsigned int | RESIZEABLE = 0b010 |
|
static constexpr unsigned int | FULLSCREEN = 0b100 |
|
NRE::Graphics::WindowStyle::WindowStyle |
( |
unsigned int |
s = BASIC | ) |
|
|
inline |
Construct the window style
- Parameters
-
NRE::Graphics::WindowStyle::WindowStyle |
( |
WindowStyle const & |
ws | ) |
|
|
default |
Copy the window style into this
- Parameters
-
ws | the window style to copy |
NRE::Graphics::WindowStyle::WindowStyle |
( |
WindowStyle && |
ws | ) |
|
|
default |
Move the window style into this
- Parameters
-
ws | the window style to move |
NRE::Graphics::WindowStyle::~WindowStyle |
( |
| ) |
|
|
default |
unsigned int NRE::Graphics::WindowStyle::operator& |
( |
unsigned int |
ws | ) |
const |
Compute the style value resulting in the bitwize AND with this
- Parameters
-
- Returns
- the computed style value
Copy the window style into this
- Parameters
-
ws | the object to copy into this |
- Returns
- the reference of himself
Move the window style into this
- Parameters
-
ws | the object to move into this |
- Returns
- the reference of himself
Compute the style resulting in the bitwize OR with this
- Parameters
-
- Returns
- the computed style
Perform a bitwise OR with this
- Parameters
-
- Returns
- the reference of himself
constexpr unsigned int NRE::Graphics::WindowStyle::BASIC = 0b000 |
|
static |
A basic window with no close button and which can't be resized
constexpr unsigned int NRE::Graphics::WindowStyle::CLOSEABLE = 0b001 |
|
static |
Add a close button to the window
constexpr unsigned int NRE::Graphics::WindowStyle::FULLSCREEN = 0b100 |
|
static |
The window start in fullscreen mode
constexpr unsigned int NRE::Graphics::WindowStyle::RESIZEABLE = 0b010 |
|
static |
The window can be resized
The documentation for this class was generated from the following files:
- /mnt/c/Users/abell/Documents/GitHub/NRE-System/src/System/Graphics/Window/Style/NRE_WindowStyle.hpp
- /mnt/c/Users/abell/Documents/GitHub/NRE-System/src/System/Graphics/Window/Style/NRE_WindowStyle.cpp