sculpto
|
#include <window.h>
Classes | |
struct | data |
Public Member Functions | |
const data & | GetWindowData () const |
const window_handle & | GetHandle () const |
bool | GetIsInitialised () const |
window (const window &)=delete | |
window (const window &&)=delete | |
window & | operator= (const window &)=delete |
window & | operator= (const window &&)=delete |
window | operator= (const window &) const =delete |
window | operator= (const window &&) const =delete |
window (int Width, int Height, const std::string &Title) | |
virtual void | Update () |
virtual void | FlipFullscreen () |
virtual void | ChangeTitle (const std::string &NewTitle) |
virtual void | ShutDown ()=0 |
Static Public Member Functions | |
static unique< window > | Create (int Width, int Height, const std::string &Title) |
Static Public Attributes | |
static const int | ViewportId = 0 |
Protected Attributes | |
window_handle | Handle {} |
bool | IsInitialised { false } |
bool | IsFullscreen { false } |
data | Data {} |
|
delete |
Abstratc, platform independent window methods.
** Copying and moving constructors, lvalue and rvalue copy assigment and move assigment operators removal due to window concept (window loop execution at runtime).
|
delete |
scl::window::window | ( | int | Width, |
int | Height, | ||
const std::string & | Title | ||
) |
Width | - Width of the creating window in pixels. |
Height | - Height of creating window in pixels. |
Name | - Title of the creating window. |
VSync | - vertical syncrosination enabling flag. |
Definition at line 15 of file window.cpp.
|
inlinevirtual |
NewTitle | - new window title. |
Reimplemented in scl::windows_window.
Definition at line 113 of file window.h.
|
static |
Width | - Width of the creating window in pixels. |
Height | - Height of creating window in pixels. |
Title | - Title of the creating window. |
VSync | - vertical syncrosination enabling flag. \Return Created window pointer. |
!SCL_PLATFORM_WINDOWS
Definition at line 20 of file window.cpp.
|
inlinevirtual |
None. |
Reimplemented in scl::windows_window.
Definition at line 105 of file window.h.
|
inline |
|
inline |
|
inline |
|
pure virtual |
None. |
Implemented in scl::windows_window.
|
inlinevirtual |
None. |
Reimplemented in scl::windows_window.
Definition at line 97 of file window.h.
|
protected |
|
static |