Tramway SDK
Enumerations | Functions
tram::Platform::Window Namespace Reference

Enumerations

enum  CursorType { CURSOR_DEFAULT , CURSOR_TEXT , CURSOR_CLICK }
 

Functions

void Init ()
 
void Update ()
 
void Uninit ()
 
void SetTitle (const char *)
 
void SetSize (int w, int h)
 
void SetCursor (CursorType)
 
void SetCursorPosition (float x, float y)
 
void EnableCursor ()
 
void DisableCursor ()
 
void SetScale (int s)
 
double GetTime ()
 
int GetCurrentMonitor ()
 
int GetMonitorCount ()
 
void SetMonitor (int monitor)
 
bool IsFullscreen ()
 
void SetFullscreen (bool)
 
bool IsVsync ()
 
void SetVsync (bool)
 
bool IsRawInput ()
 
void SetRawInput (bool)
 

Enumeration Type Documentation

◆ CursorType

Enumerator
CURSOR_DEFAULT 
CURSOR_TEXT 
CURSOR_CLICK 

Function Documentation

◆ DisableCursor()

void tram::Platform::Window::DisableCursor ( )

◆ EnableCursor()

void tram::Platform::Window::EnableCursor ( )

◆ GetCurrentMonitor()

int tram::Platform::Window::GetCurrentMonitor ( )

◆ GetMonitorCount()

int tram::Platform::Window::GetMonitorCount ( )

◆ GetTime()

double tram::Platform::Window::GetTime ( )

◆ Init()

void tram::Platform::Window::Init ( )

◆ IsFullscreen()

bool tram::Platform::Window::IsFullscreen ( )

◆ IsRawInput()

bool tram::Platform::Window::IsRawInput ( )

◆ IsVsync()

bool tram::Platform::Window::IsVsync ( )

◆ SetCursor()

void tram::Platform::Window::SetCursor ( CursorType  cursor)

◆ SetCursorPosition()

void tram::Platform::Window::SetCursorPosition ( float  x,
float  y 
)

◆ SetFullscreen()

void tram::Platform::Window::SetFullscreen ( bool  fullscreen)

◆ SetMonitor()

void tram::Platform::Window::SetMonitor ( int  monitor)

◆ SetRawInput()

void tram::Platform::Window::SetRawInput ( bool  input)

◆ SetScale()

void tram::Platform::Window::SetScale ( int  s)

◆ SetSize()

void tram::Platform::Window::SetSize ( int  w,
int  h 
)

◆ SetTitle()

void tram::Platform::Window::SetTitle ( const char *  title)

◆ SetVsync()

void tram::Platform::Window::SetVsync ( bool  value)

◆ Uninit()

void tram::Platform::Window::Uninit ( )

◆ Update()

void tram::Platform::Window::Update ( )