Manage the internal os-dependant graphics window.
More...
#include <NRE_InternalWindow.hpp>
Manage the internal os-dependant graphics window.
NRE::Graphics::InternalWindow::InternalWindow |
( |
| ) |
|
|
delete |
NRE::Graphics::InternalWindow::InternalWindow |
( |
Id |
i, |
|
|
Utility::String const & |
title, |
|
|
Math::Point2D< unsigned int > const & |
position, |
|
|
Math::Vector2D< unsigned int > const & |
size, |
|
|
WindowStyle const & |
style |
|
) |
| |
Construct the internal window
- Parameters
-
i | the window id |
title | the window title |
position | the window top-left corner position |
size | the window size |
style | the window style |
NRE::Graphics::InternalWindow::InternalWindow |
( |
Id |
i, |
|
|
Utility::String const & |
title, |
|
|
Math::Vector2D< unsigned int > const & |
size, |
|
|
WindowStyle const & |
style |
|
) |
| |
Construct the internal window with centered position
- Parameters
-
i | the window id |
title | the window title |
size | the window size |
style | the window style |
NRE::Graphics::InternalWindow::InternalWindow |
( |
InternalWindow const & |
inl | ) |
|
|
delete |
Copy forbidden
- Parameters
-
inl | the internal window to copy |
NRE::Graphics::InternalWindow::InternalWindow |
( |
InternalWindow && |
inl | ) |
|
|
delete |
Move forbidden
- Parameters
-
inl | the internal window to move |
NRE::Graphics::InternalWindow::~InternalWindow |
( |
| ) |
|
|
default |
void NRE::Graphics::InternalWindow::close |
( |
| ) |
|
Close the internal window
Math::Point2D<unsigned int> NRE::Graphics::InternalWindow::getPosition |
( |
| ) |
const |
- Returns
- the window top-left corner position
Copy forbidden
- Parameters
-
inl | the object to copy into this |
- Returns
- the reference of himself
Move forbidden
- Parameters
-
inl | the object to move into this |
- Returns
- the reference of himself
void NRE::Graphics::InternalWindow::refresh |
( |
| ) |
|
void NRE::Graphics::InternalWindow::toggleFullscreen |
( |
bool |
inFullscreen | ) |
|
Toggle between fullscreen and windowed mode
The documentation for this class was generated from the following files: