Tramway SDK
Namespaces | Enumerations | Functions
api.h File Reference
#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  tram
 
namespace  tram::Platform
 
namespace  tram::Platform::Window
 
namespace  tram::Platform::Input
 

Enumerations

enum  tram::Platform::Window::CursorType { tram::Platform::Window::CURSOR_DEFAULT , tram::Platform::Window::CURSOR_TEXT , tram::Platform::Window::CURSOR_CLICK }
 

Functions

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