GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
SdlMainThread Class Reference

#include <sdl_main.hpp>

Public Member Functions

 SdlMainThread ()
 
 ~SdlMainThread ()
 
void SetSingleThread ()
 
bool SdlInitialized () const
 
void MainLoop (bool server_mode)
 
void DispatchSDLEvents ()
 
Handle GetHandle (SdlWindow *wnd, const std::string &title, int x, int y, int w, int h, bool legacyGlOnly)
 
void DeleteHandle (Handle to_delete)
 
void SetWindowTitle (const Handle &handle, std::string title)
 
void SetWindowSize (const Handle &handle, int w, int h)
 
void SetWindowPosition (const Handle &handle, int x, int y)
 
SdlNativePlatformGetPlatform () const
 

Detailed Description

Definition at line 20 of file sdl_main.hpp.

Constructor & Destructor Documentation

SdlMainThread::SdlMainThread ( )

Definition at line 56 of file sdl_main.cpp.

SdlMainThread::~SdlMainThread ( )

Definition at line 93 of file sdl_main.cpp.

Member Function Documentation

void SdlMainThread::DeleteHandle ( Handle  to_delete)

Definition at line 316 of file sdl_main.cpp.

void SdlMainThread::DispatchSDLEvents ( )

Definition at line 188 of file sdl_main.cpp.

SdlMainThread::Handle SdlMainThread::GetHandle ( SdlWindow wnd,
const std::string &  title,
int  x,
int  y,
int  w,
int  h,
bool  legacyGlOnly 
)

Definition at line 270 of file sdl_main.cpp.

SdlNativePlatform* SdlMainThread::GetPlatform ( ) const
inline

Definition at line 60 of file sdl_main.hpp.

void SdlMainThread::MainLoop ( bool  server_mode)

Definition at line 98 of file sdl_main.cpp.

bool SdlMainThread::SdlInitialized ( ) const
inline

Definition at line 32 of file sdl_main.hpp.

void SdlMainThread::SetSingleThread ( )
inline

Definition at line 30 of file sdl_main.hpp.

void SdlMainThread::SetWindowPosition ( const Handle &  handle,
int  x,
int  y 
)

Definition at line 360 of file sdl_main.cpp.

void SdlMainThread::SetWindowSize ( const Handle &  handle,
int  w,
int  h 
)

Definition at line 347 of file sdl_main.cpp.

void SdlMainThread::SetWindowTitle ( const Handle &  handle,
std::string  title 
)

Definition at line 334 of file sdl_main.cpp.


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