doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
idUserInterfaceLocal Class Reference

#include <UserInterfaceLocal.h>

Inheritance diagram for idUserInterfaceLocal:
idUserInterface

Public Member Functions

 idUserInterfaceLocal ()
 
virtual ~idUserInterfaceLocal ()
 
virtual const char * Name () const
 
virtual const char * Comment () const
 
virtual bool IsInteractive () const
 
virtual bool InitFromFile (const char *qpath, bool rebuild=true, bool cache=true)
 
virtual const char * HandleEvent (const sysEvent_t *event, int time, bool *updateVisuals)
 
virtual void HandleNamedEvent (const char *namedEvent)
 
virtual void Redraw (int time)
 
virtual void DrawCursor ()
 
virtual const idDictState () const
 
virtual void DeleteStateVar (const char *varName)
 
virtual void SetStateString (const char *varName, const char *value)
 
virtual void SetStateBool (const char *varName, const bool value)
 
virtual void SetStateInt (const char *varName, const int value)
 
virtual void SetStateFloat (const char *varName, const float value)
 
virtual const char * GetStateString (const char *varName, const char *defaultString="") const
 
virtual bool GetStateBool (const char *varName, const char *defaultString="0") const
 
virtual int GetStateInt (const char *varName, const char *defaultString="0") const
 
virtual float GetStateFloat (const char *varName, const char *defaultString="0") const
 
virtual void StateChanged (int time, bool redraw)
 
virtual const char * Activate (bool activate, int time)
 
virtual void Trigger (int time)
 
virtual void ReadFromDemoFile (class idDemoFile *f)
 
virtual void WriteToDemoFile (class idDemoFile *f)
 
virtual bool WriteToSaveGame (idFile *savefile) const
 
virtual bool ReadFromSaveGame (idFile *savefile)
 
virtual void SetKeyBindingNames (void)
 
virtual bool IsUniqued () const
 
virtual void SetUniqued (bool b)
 
virtual void SetCursor (float x, float y)
 
virtual float CursorX ()
 
virtual float CursorY ()
 
size_t Size ()
 
idDictGetStateDict ()
 
const char * GetSourceFile (void) const
 
ID_TIME_T GetTimeStamp (void) const
 
idWindowGetDesktop () const
 
void SetBindHandler (idWindow *win)
 
bool Active () const
 
int GetTime () const
 
void SetTime (int _time)
 
void ClearRefs ()
 
void AddRef ()
 
int GetRefs ()
 
void RecurseSetKeyBindingNames (idWindow *window)
 
idStrGetPendingCmd ()
 
idStrGetReturnCmd ()
 
- Public Member Functions inherited from idUserInterface
virtual ~idUserInterface ()
 

Private Attributes

bool active
 
bool loading
 
bool interactive
 
bool uniqued
 
idDict state
 
idWindowdesktop
 
idWindowbindHandler
 
idStr source
 
idStr activateStr
 
idStr pendingCmd
 
idStr returnCmd
 
ID_TIME_T timeStamp
 
float cursorX
 
float cursorY
 
int time
 
int refs
 

Friends

class idUserInterfaceManagerLocal
 

Detailed Description

Definition at line 31 of file UserInterfaceLocal.h.

Constructor & Destructor Documentation

idUserInterfaceLocal::idUserInterfaceLocal ( )

Definition at line 236 of file UserInterface.cpp.

idUserInterfaceLocal::~idUserInterfaceLocal ( )
virtual

Definition at line 249 of file UserInterface.cpp.

Member Function Documentation

const char * idUserInterfaceLocal::Activate ( bool  activate,
int  time 
)
virtual

Implements idUserInterface.

Definition at line 445 of file UserInterface.cpp.

bool idUserInterfaceLocal::Active ( void  ) const
inline

Definition at line 82 of file UserInterfaceLocal.h.

void idUserInterfaceLocal::AddRef ( )
inline

Definition at line 87 of file UserInterfaceLocal.h.

void idUserInterfaceLocal::ClearRefs ( )
inline

Definition at line 86 of file UserInterfaceLocal.h.

const char * idUserInterfaceLocal::Comment ( ) const
virtual

Implements idUserInterface.

Definition at line 258 of file UserInterface.cpp.

virtual float idUserInterfaceLocal::CursorX ( )
inlinevirtual

Implements idUserInterface.

Definition at line 70 of file UserInterfaceLocal.h.

virtual float idUserInterfaceLocal::CursorY ( )
inlinevirtual

Implements idUserInterface.

Definition at line 71 of file UserInterfaceLocal.h.

void idUserInterfaceLocal::DeleteStateVar ( const char *  varName)
virtual

Implements idUserInterface.

Definition at line 392 of file UserInterface.cpp.

void idUserInterfaceLocal::DrawCursor ( )
virtual

Implements idUserInterface.

Definition at line 380 of file UserInterface.cpp.

idWindow* idUserInterfaceLocal::GetDesktop ( ) const
inline

Definition at line 80 of file UserInterfaceLocal.h.

idStr& idUserInterfaceLocal::GetPendingCmd ( )
inline

Definition at line 91 of file UserInterfaceLocal.h.

int idUserInterfaceLocal::GetRefs ( )
inline

Definition at line 88 of file UserInterfaceLocal.h.

idStr& idUserInterfaceLocal::GetReturnCmd ( )
inline

Definition at line 92 of file UserInterfaceLocal.h.

const char* idUserInterfaceLocal::GetSourceFile ( void  ) const
inline

Definition at line 77 of file UserInterfaceLocal.h.

bool idUserInterfaceLocal::GetStateBool ( const char *  varName,
const char *  defaultString = "0" 
) const
virtual

Implements idUserInterface.

Definition at line 416 of file UserInterface.cpp.

idDict* idUserInterfaceLocal::GetStateDict ( void  )
inline

Definition at line 75 of file UserInterfaceLocal.h.

float idUserInterfaceLocal::GetStateFloat ( const char *  varName,
const char *  defaultString = "0" 
) const
virtual

Implements idUserInterface.

Definition at line 424 of file UserInterface.cpp.

int idUserInterfaceLocal::GetStateInt ( const char *  varName,
const char *  defaultString = "0" 
) const
virtual

Implements idUserInterface.

Definition at line 420 of file UserInterface.cpp.

const char * idUserInterfaceLocal::GetStateString ( const char *  varName,
const char *  defaultString = "" 
) const
virtual

Implements idUserInterface.

Definition at line 412 of file UserInterface.cpp.

int idUserInterfaceLocal::GetTime ( void  ) const
inline

Definition at line 83 of file UserInterfaceLocal.h.

ID_TIME_T idUserInterfaceLocal::GetTimeStamp ( void  ) const
inline

Definition at line 78 of file UserInterfaceLocal.h.

const char * idUserInterfaceLocal::HandleEvent ( const sysEvent_t event,
int  time,
bool updateVisuals 
)
virtual

Implements idUserInterface.

Definition at line 335 of file UserInterface.cpp.

void idUserInterfaceLocal::HandleNamedEvent ( const char *  namedEvent)
virtual

Implements idUserInterface.

Definition at line 364 of file UserInterface.cpp.

bool idUserInterfaceLocal::InitFromFile ( const char *  qpath,
bool  rebuild = true,
bool  cache = true 
)
virtual

Implements idUserInterface.

Definition at line 269 of file UserInterface.cpp.

bool idUserInterfaceLocal::IsInteractive ( ) const
virtual

Implements idUserInterface.

Definition at line 265 of file UserInterface.cpp.

virtual bool idUserInterfaceLocal::IsUniqued ( ) const
inlinevirtual

Implements idUserInterface.

Definition at line 66 of file UserInterfaceLocal.h.

const char * idUserInterfaceLocal::Name ( void  ) const
virtual

Implements idUserInterface.

Definition at line 254 of file UserInterface.cpp.

void idUserInterfaceLocal::ReadFromDemoFile ( class idDemoFile f)
virtual

Implements idUserInterface.

Definition at line 463 of file UserInterface.cpp.

bool idUserInterfaceLocal::ReadFromSaveGame ( idFile savefile)
virtual

Implements idUserInterface.

Definition at line 550 of file UserInterface.cpp.

void idUserInterfaceLocal::RecurseSetKeyBindingNames ( idWindow window)

Definition at line 602 of file UserInterface.cpp.

void idUserInterfaceLocal::Redraw ( int  time)
virtual

Implements idUserInterface.

Definition at line 368 of file UserInterface.cpp.

void idUserInterfaceLocal::SetBindHandler ( idWindow win)
inline

Definition at line 81 of file UserInterfaceLocal.h.

void idUserInterfaceLocal::SetCursor ( float  x,
float  y 
)
virtual

Implements idUserInterface.

Definition at line 636 of file UserInterface.cpp.

void idUserInterfaceLocal::SetKeyBindingNames ( void  )
virtual

Implements idUserInterface.

Definition at line 623 of file UserInterface.cpp.

void idUserInterfaceLocal::SetStateBool ( const char *  varName,
const bool  value 
)
virtual

Implements idUserInterface.

Definition at line 400 of file UserInterface.cpp.

void idUserInterfaceLocal::SetStateFloat ( const char *  varName,
const float  value 
)
virtual

Implements idUserInterface.

Definition at line 408 of file UserInterface.cpp.

void idUserInterfaceLocal::SetStateInt ( const char *  varName,
const int  value 
)
virtual

Implements idUserInterface.

Definition at line 404 of file UserInterface.cpp.

void idUserInterfaceLocal::SetStateString ( const char *  varName,
const char *  value 
)
virtual

Implements idUserInterface.

Definition at line 396 of file UserInterface.cpp.

void idUserInterfaceLocal::SetTime ( int  _time)
inline

Definition at line 84 of file UserInterfaceLocal.h.

virtual void idUserInterfaceLocal::SetUniqued ( bool  b)
inlinevirtual

Implements idUserInterface.

Definition at line 67 of file UserInterfaceLocal.h.

size_t idUserInterfaceLocal::Size ( void  )

Definition at line 594 of file UserInterface.cpp.

const idDict & idUserInterfaceLocal::State ( ) const
virtual

Implements idUserInterface.

Definition at line 388 of file UserInterface.cpp.

void idUserInterfaceLocal::StateChanged ( int  time,
bool  redraw 
)
virtual

Implements idUserInterface.

Definition at line 428 of file UserInterface.cpp.

void idUserInterfaceLocal::Trigger ( int  time)
virtual

Implements idUserInterface.

Definition at line 456 of file UserInterface.cpp.

void idUserInterfaceLocal::WriteToDemoFile ( class idDemoFile f)
virtual

Implements idUserInterface.

Definition at line 496 of file UserInterface.cpp.

bool idUserInterfaceLocal::WriteToSaveGame ( idFile savefile) const
virtual

Implements idUserInterface.

Definition at line 507 of file UserInterface.cpp.

Friends And Related Function Documentation

friend class idUserInterfaceManagerLocal
friend

Definition at line 32 of file UserInterfaceLocal.h.

Member Data Documentation

idStr idUserInterfaceLocal::activateStr
private

Definition at line 105 of file UserInterfaceLocal.h.

bool idUserInterfaceLocal::active
private

Definition at line 92 of file UserInterfaceLocal.h.

idWindow* idUserInterfaceLocal::bindHandler
private

Definition at line 102 of file UserInterfaceLocal.h.

float idUserInterfaceLocal::cursorX
private

Definition at line 110 of file UserInterfaceLocal.h.

float idUserInterfaceLocal::cursorY
private

Definition at line 111 of file UserInterfaceLocal.h.

idWindow* idUserInterfaceLocal::desktop
private

Definition at line 101 of file UserInterfaceLocal.h.

bool idUserInterfaceLocal::interactive
private

Definition at line 97 of file UserInterfaceLocal.h.

bool idUserInterfaceLocal::loading
private

Definition at line 96 of file UserInterfaceLocal.h.

idStr idUserInterfaceLocal::pendingCmd
private

Definition at line 106 of file UserInterfaceLocal.h.

int idUserInterfaceLocal::refs
private

Definition at line 115 of file UserInterfaceLocal.h.

idStr idUserInterfaceLocal::returnCmd
private

Definition at line 107 of file UserInterfaceLocal.h.

idStr idUserInterfaceLocal::source
private

Definition at line 104 of file UserInterfaceLocal.h.

idDict idUserInterfaceLocal::state
private

Definition at line 100 of file UserInterfaceLocal.h.

int idUserInterfaceLocal::time
private

Definition at line 113 of file UserInterfaceLocal.h.

ID_TIME_T idUserInterfaceLocal::timeStamp
private

Definition at line 108 of file UserInterfaceLocal.h.

bool idUserInterfaceLocal::uniqued
private

Definition at line 98 of file UserInterfaceLocal.h.


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