In file libs/cssys/unix/unix.h:

class SysSystemDriver : public csSystemDriver

Unix version.

Inheritance:


Public Classes

class XUnixSystemDriver: public IUnixSystemDriver
Implementation of IUnixSystemDriver
STDMETHOD (SetLoopCallback)(LoopCallback Callback, void *Param)
Set a callback that gets called from inside the main event loop
STDMETHOD (KeyboardEvent)(int Key, bool Down)
Put a keyboard event into event queue
STDMETHOD (MouseEvent)(int Button, int Down, int x, int y, int ShiftFlags)
Put a mouse event into event queue
STDMETHOD (FocusEvent)(int Enable)
Put a focus change event into event queue

Public Methods

void SetSystemDefaults()
Check for system-specific INI entries

Private Fields

LoopCallback Callback
The main loop callback
void* CallbackParam
The loop callback parameter
bool HardwareCursor
Use system cursor if true; otherwise use builtin CSWS software cursors
int SimDepth
Simulated depth (ONLY FOR X2D DRIVER)
bool UseSHM
Use shared-memory extension? (ONLY FOR X2D DRIVER)

Private Methods

void FocusHandler(int Enable)
Application focus change event handler

Inherited from csSystemDriver:

Public Fields

IConfig* cfg_engine
csColOption* com_options
csConsole* Console
static int debug_level
static bool DemoReady
int Depth
csEventQueue* EventQueue
static bool ExitLoop
int FrameHeight
int FrameWidth
bool FullScreen
bool IsFocused
csKeyboardDriver* Keyboard
csMouseDriver* Mouse
IGraphics2D* piG2D
IGraphics3D* piG3D
IGraphicsInfo* piGI
INetworkDriver* piNetDrv
INetworkManager* piNetMan
ISoundRender* piSound
static bool Shutdown

Public Methods

virtual void Close()
static void debugprintf(bool flush, const char* str, ...)
static FILE* fopen(const char* filename, const char* mode)
virtual void Help()
virtual bool InitGraphics()
virtual bool Initialize(int argc, char *argv[], IConfig* cfg_engine)
virtual bool InitKeyboard()
virtual bool InitMouse()
virtual bool InitNetwork()
virtual bool InitSound()
virtual void Loop()
virtual void NextFrame(long elapsed_time, long current_time)
virtual bool Open(char *Title)
bool ParseCmdLine(int argc, char* argv[])
bool ParseCmdLineDriver(int argc, char* argv[])
static void Printf(int mode, const char* str, ...)
static void printf_init()
virtual void Sleep(int )
static long Time()

Protected Methods

virtual void Alert(const char* msg)
csColOption* CollectOptions(IConfig* config, csColOption* already_collected)
virtual void DemoWrite(const char* msg)
void do_focus(int enable)
void Help(IConfig* piConf)
virtual bool ParseArg(int argc, char* argv[], int& i)
virtual bool ParseArgDriver(int argc, char* argv[], int& i)
void SetMode(const char* mode)
virtual void Warn(const char* msg)

Documentation

Unix version.
bool HardwareCursor
Use system cursor if true; otherwise use builtin CSWS software cursors

bool UseSHM
Use shared-memory extension? (ONLY FOR X2D DRIVER)

int SimDepth
Simulated depth (ONLY FOR X2D DRIVER)

LoopCallback Callback
The main loop callback

void* CallbackParam
The loop callback parameter

void FocusHandler(int Enable)
Application focus change event handler

void SetSystemDefaults()
Check for system-specific INI entries

class XUnixSystemDriver: public IUnixSystemDriver
Implementation of IUnixSystemDriver

STDMETHOD (SetLoopCallback)(LoopCallback Callback, void *Param)
Set a callback that gets called from inside the main event loop

STDMETHOD (KeyboardEvent)(int Key, bool Down)
Put a keyboard event into event queue

STDMETHOD (MouseEvent)(int Button, int Down, int x, int y, int ShiftFlags)
Put a mouse event into event queue

STDMETHOD (FocusEvent)(int Enable)
Put a focus change event into event queue


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de