galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::WindowBindable Class Reference

Binds the mouse to the window. More...

#include <WindowBindable.hpp>

+ Inheritance diagram for galaxy::WindowBindable:
+ Collaboration diagram for galaxy::WindowBindable:

Public Member Functions

virtual ~WindowBindable () noexcept
 Virtual destructor.
 

Protected Member Functions

 WindowBindable () noexcept
 Constructor.
 
 WindowBindable (WindowBindable &&) noexcept
 Move constructor.
 
virtual WindowBindableoperator= (WindowBindable &&) noexcept
 Move assignment operator.
 
 WindowBindable (const WindowBindable &) noexcept
 Copy constructor.
 
virtual WindowBindableoperator= (const WindowBindable &) noexcept
 Copy assignment operator.
 
void bind_window (SDL_Window *window) noexcept
 Bind SDL3 window to this object.
 

Protected Attributes

SDL_Window * m_window
 Pointer to SDL_Window handle.
 

Detailed Description

Binds the mouse to the window.

Definition at line 18 of file WindowBindable.hpp.

Constructor & Destructor Documentation

◆ ~WindowBindable()

galaxy::WindowBindable::~WindowBindable ( )
virtualnoexcept

Virtual destructor.

Definition at line 12 of file WindowBindable.cpp.

◆ WindowBindable() [1/3]

galaxy::WindowBindable::WindowBindable ( )
protectednoexcept

Constructor.

Definition at line 17 of file WindowBindable.cpp.

◆ WindowBindable() [2/3]

galaxy::WindowBindable::WindowBindable ( WindowBindable && w)
protectednoexcept

Move constructor.

Definition at line 22 of file WindowBindable.cpp.

◆ WindowBindable() [3/3]

galaxy::WindowBindable::WindowBindable ( const WindowBindable & w)
protectednoexcept

Copy constructor.

Definition at line 39 of file WindowBindable.cpp.

Member Function Documentation

◆ operator=() [1/2]

WindowBindable & galaxy::WindowBindable::operator= ( WindowBindable && w)
protectedvirtualnoexcept

Move assignment operator.

Definition at line 28 of file WindowBindable.cpp.

◆ operator=() [2/2]

WindowBindable & galaxy::WindowBindable::operator= ( const WindowBindable & w)
protectedvirtualnoexcept

Copy assignment operator.

Definition at line 44 of file WindowBindable.cpp.

◆ bind_window()

void galaxy::WindowBindable::bind_window ( SDL_Window * window)
protectednoexcept

Bind SDL3 window to this object.

Parameters
windowWindow pointer..

Definition at line 54 of file WindowBindable.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_window

SDL_Window* galaxy::WindowBindable::m_window
protected

Pointer to SDL_Window handle.

Definition at line 65 of file WindowBindable.hpp.


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