![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <window.hpp>
Public Member Functions | |
WindowDescriptor (NotNull< HINSTANCE > instance, std::wstring window_class_name, U32 window_class_style=CS_CLASSDC) | |
WindowDescriptor (const WindowDescriptor &desc)=delete | |
WindowDescriptor (WindowDescriptor &&desc) noexcept | |
~WindowDescriptor () | |
WindowDescriptor & | operator= (const WindowDescriptor &desc)=delete |
WindowDescriptor & | operator= (WindowDescriptor &&desc)=delete |
NotNull< HINSTANCE > | GetInstance () const noexcept |
const std::wstring_view | GetWindowClassName () const noexcept |
Private Attributes | |
NotNull< HINSTANCE > | m_instance |
std::wstring | m_window_class_name |
A class of window descriptors.
|
explicit |
Constructs a window descriptor.
[in] | instance | The application instance handle. |
[in] | window_class_name | The window class name. |
[in] | window_class_style | The window class style. |
Exception | Failed to register the window class. |
|
delete |
Constructs a window descriptor from the given window descriptor.
[in] | desc | A reference to the window descriptor to copy. |
|
defaultnoexcept |
Constructs a window descriptor by moving the given window descriptor.
[in] | desc | A reference to the window descriptor to move. |
mage::WindowDescriptor::~WindowDescriptor | ( | ) |
Destructs this window descriptor.
|
noexcept |
Returns the application instance handle of this window descriptor.
|
noexcept |
Returns the window class name of this window descriptor.
|
delete |
Copies the given window descriptor to this window descriptor.
[in] | desc | A reference to the window descriptor to copy. |
|
delete |
Moves the given window descriptor to this window descriptor.
[in] | desc | A reference to the window descriptor to move. |
|
private |
The application instance handle of this window descriptor.
|
private |
The window class name of this window descriptor.