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
SdlCocoaPlatform Class Referencefinal

#include <sdl_mac.hpp>

Inheritance diagram for SdlCocoaPlatform:
[legend]
Collaboration diagram for SdlCocoaPlatform:
[legend]

Public Member Functions

void WaitEvent ()
 
void SendEvent ()
 
void ContextUpdate ()
 
bool UseThreadWorkaround () const
 
void ClearCurrentContext (int wnd_id)
 
void SetCurrentContext (int wnd_id)
 
void SwapWindow ()
 
- Public Member Functions inherited from SdlNativePlatform
virtual ~SdlNativePlatform ()=default
 
virtual void RegisterWindow (SDL_Window *window)
 
virtual void UnregisterWindow (SDL_Window *window)
 

Additional Inherited Members

- Static Public Member Functions inherited from SdlNativePlatform
static std::unique_ptr
< SdlNativePlatform
Create (SDL_Window *window)
 

Detailed Description

Definition at line 16 of file sdl_mac.hpp.

Member Function Documentation

void SdlCocoaPlatform::ClearCurrentContext ( int  wnd_id)

Definition at line 90 of file sdl_mac.mm.

void SdlCocoaPlatform::ContextUpdate ( )

Definition at line 80 of file sdl_mac.mm.

void SdlCocoaPlatform::SendEvent ( )
virtual

Implements SdlNativePlatform.

Definition at line 48 of file sdl_mac.mm.

void SdlCocoaPlatform::SetCurrentContext ( int  wnd_id)

Definition at line 100 of file sdl_mac.mm.

void SdlCocoaPlatform::SwapWindow ( )

Definition at line 111 of file sdl_mac.mm.

bool SdlCocoaPlatform::UseThreadWorkaround ( ) const

Definition at line 66 of file sdl_mac.mm.

void SdlCocoaPlatform::WaitEvent ( )
virtual

Implements SdlNativePlatform.

Definition at line 35 of file sdl_mac.mm.


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