Karma Engine
Loading...
Searching...
No Matches
Karma::WindowsWindow Class Reference
Inheritance diagram for Karma::WindowsWindow:
Collaboration diagram for Karma::WindowsWindow:

Public Member Functions

 WindowsWindow (const WindowProps &props)
 
virtual void OnUpdate () override
 
virtual bool OnResize (WindowResizeEvent &event) override
 
unsigned int GetWidth () const override
 
unsigned int GetHeight () const override
 
void SetEventCallback (const EventCallbackFn &callback) override
 
virtual void * GetNativeWindow () const override
 
void SetVSync (bool enabled) override
 
bool IsVSync () const override
 
GLFWwindow * GetHandle () const
 
- Public Member Functions inherited from Karma::Window

Additional Inherited Members

- Public Types inherited from Karma::Window
using EventCallbackFn = std::function<void(Event&)>
 
- Static Public Member Functions inherited from Karma::Window
static WindowCreate (const WindowProps &props=WindowProps())
 

Member Function Documentation

◆ GetHeight()

unsigned int Karma::WindowsWindow::GetHeight ( ) const
inlineoverridevirtual

Implements Karma::Window.

◆ GetNativeWindow()

virtual void * Karma::WindowsWindow::GetNativeWindow ( ) const
inlineoverridevirtual

Implements Karma::Window.

◆ GetWidth()

unsigned int Karma::WindowsWindow::GetWidth ( ) const
inlineoverridevirtual

Implements Karma::Window.

◆ IsVSync()

bool Karma::WindowsWindow::IsVSync ( ) const
overridevirtual

Implements Karma::Window.

◆ OnResize()

bool Karma::WindowsWindow::OnResize ( WindowResizeEvent & event)
overridevirtual

Implements Karma::Window.

◆ OnUpdate()

void Karma::WindowsWindow::OnUpdate ( )
overridevirtual

Implements Karma::Window.

◆ SetEventCallback()

void Karma::WindowsWindow::SetEventCallback ( const EventCallbackFn & callback)
inlineoverridevirtual

Implements Karma::Window.

◆ SetVSync()

void Karma::WindowsWindow::SetVSync ( bool enabled)
overridevirtual

Implements Karma::Window.


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