Euphoria
eu::window::SdlWindow Struct Reference

#include <sdlwindow.h>

Public Member Functions

 SdlWindow (const std::string &title, int width, int height, bool resize=false)
 
 ~SdlWindow ()
 
void set_mouse_behaviour (core::MouseBehaviour) const
 
 SdlWindow (const SdlWindow &other)=delete
 
void operator= (const SdlWindow &)=delete
 
 SdlWindow (SdlWindow &&other)=delete
 
void operator= (SdlWindow &&)=delete
 
vec2i get_mouse_position () const
 

Public Attributes

SDL_Window * window
 

Detailed Description

Definition at line 15 of file sdlwindow.h.

Constructor & Destructor Documentation

◆ SdlWindow() [1/3]

eu::window::SdlWindow::SdlWindow ( const std::string &  title,
int  width,
int  height,
bool  resize = false 
)

Definition at line 9 of file sdlwindow.cc.

◆ ~SdlWindow()

eu::window::SdlWindow::~SdlWindow ( )

Definition at line 33 of file sdlwindow.cc.

◆ SdlWindow() [2/3]

eu::window::SdlWindow::SdlWindow ( const SdlWindow other)
delete

◆ SdlWindow() [3/3]

eu::window::SdlWindow::SdlWindow ( SdlWindow &&  other)
delete

Member Function Documentation

◆ get_mouse_position()

vec2i eu::window::SdlWindow::get_mouse_position ( ) const

Definition at line 74 of file sdlwindow.cc.

◆ operator=() [1/2]

void eu::window::SdlWindow::operator= ( const SdlWindow )
delete

◆ operator=() [2/2]

void eu::window::SdlWindow::operator= ( SdlWindow &&  )
delete

◆ set_mouse_behaviour()

void eu::window::SdlWindow::set_mouse_behaviour ( core::MouseBehaviour  mb) const

Definition at line 39 of file sdlwindow.cc.

Member Data Documentation

◆ window

SDL_Window* eu::window::SdlWindow::window

Definition at line 39 of file sdlwindow.h.


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