Foundation
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Foundation::Native::NativeWindow Class Reference

Class representing a window for the platform. More...

#include <Application.hpp>

Public Member Functions

 NativeWindow ()=default
 
 NativeWindow (const NativeWindow &)=delete
 
 NativeWindow (NativeWindow &&other) noexcept
 
NativeWindowoperator= (NativeWindow &&other) noexcept
 
 ~NativeWindow ()
 
Pair< uint32_t, uint32_tGetWindowSize () const
 
Pair< uint32_t, uint32_tGetFramebufferSize () const
 
Pair< uint32_t, uint32_tGetWindowPosition () const
 
void SetWindowTitle (const char *title) const
 
bool WindowShouldClose () const
 
voidGetNative () const
 
constexpr operator bool () const
 

Private Member Functions

 NativeWindow (uint32_t width, uint32_t height, const char *title)
 

Private Attributes

voidmWindow { nullptr }
 

Friends

class NativeApplication
 

Detailed Description

Class representing a window for the platform.

Constructor & Destructor Documentation

◆ NativeWindow() [1/4]

Foundation::Native::NativeWindow::NativeWindow ( uint32_t  width,
uint32_t  height,
const char title 
)
private

◆ NativeWindow() [2/4]

Foundation::Native::NativeWindow::NativeWindow ( )
default

◆ NativeWindow() [3/4]

Foundation::Native::NativeWindow::NativeWindow ( const NativeWindow )
delete

◆ NativeWindow() [4/4]

Foundation::Native::NativeWindow::NativeWindow ( NativeWindow &&  other)
inlinenoexcept

◆ ~NativeWindow()

Foundation::Native::NativeWindow::~NativeWindow ( )

Member Function Documentation

◆ GetFramebufferSize()

Pair< uint32_t, uint32_t > Foundation::Native::NativeWindow::GetFramebufferSize ( ) const

◆ GetNative()

void * Foundation::Native::NativeWindow::GetNative ( ) const
inline

◆ GetWindowPosition()

Pair< uint32_t, uint32_t > Foundation::Native::NativeWindow::GetWindowPosition ( ) const

◆ GetWindowSize()

Pair< uint32_t, uint32_t > Foundation::Native::NativeWindow::GetWindowSize ( ) const

◆ operator bool()

constexpr Foundation::Native::NativeWindow::operator bool ( ) const
inlineexplicitconstexpr

◆ operator=()

NativeWindow & Foundation::Native::NativeWindow::operator= ( NativeWindow &&  other)
inlinenoexcept

◆ SetWindowTitle()

void Foundation::Native::NativeWindow::SetWindowTitle ( const char title) const

◆ WindowShouldClose()

bool Foundation::Native::NativeWindow::WindowShouldClose ( ) const

Friends And Related Symbol Documentation

◆ NativeApplication

Member Data Documentation

◆ mWindow

void* Foundation::Native::NativeWindow::mWindow { nullptr }
private

The documentation for this class was generated from the following files: