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

#include <GEWindowWrapper.h>

Public Types

enum  EWindowType {
  WT_UNKNOWN, WT_NORMAL, WT_EDIT, WT_HTML,
  WT_CHOICE, WT_SLIDER, WT_BIND, WT_LIST,
  WT_RENDER, WT_TRANSITION
}
 

Public Member Functions

 rvGEWindowWrapper (idWindow *window, EWindowType type)
 
idWindowGetWindow (void)
 
idDictGetStateDict (void)
 
idDictGetVariableDict (void)
 
idDictGetScriptDict (void)
 
idRectangleGetClientRect (void)
 
idRectangleGetScreenRect (void)
 
EWindowType GetWindowType (void)
 
int GetChildCount (void)
 
int GetDepth (void)
 
idWindowGetChild (int index)
 
void SetRect (idRectangle &rect)
 
void SetState (const idDict &dict)
 
void SetStateKey (const char *key, const char *value, bool update=true)
 
void DeleteStateKey (const char *key)
 
bool VerfiyStateKey (const char *name, const char *value, idStr *result=NULL)
 
bool IsFlippedHorz (void)
 
bool IsFlippedVert (void)
 
bool IsHidden (void)
 
bool IsDeleted (void)
 
bool IsSelected (void)
 
bool IsExpanded (void)
 
bool CanHaveChildren (void)
 
bool CanMoveAndSize (void)
 
void SetFlippedHorz (bool f)
 
void SetFlippedVert (bool f)
 
void SetHidden (bool v)
 
void SetDeleted (bool del)
 
void SetSelected (bool sel)
 
void SetWindowType (EWindowType type)
 
bool Expand (void)
 
bool Collapse (void)
 
bool EnumChildren (PFNENUMCHILDRENPROC proc, void *data)
 
idWindowWindowFromPoint (float x, float y, bool visibleOnly=true)
 
void Finish (void)
 

Static Public Member Functions

static rvGEWindowWrapperGetWrapper (idWindow *window)
 
static EWindowType StringToWindowType (const char *string)
 
static const char * WindowTypeToString (EWindowType type)
 

Protected Member Functions

void CalcScreenRect (void)
 
void UpdateRect (void)
 
void UpdateWindowState (void)
 

Protected Attributes

idRectangle mClientRect
 
idRectangle mScreenRect
 
idWindowmWindow
 
idDict mState
 
idDict mVariables
 
idDict mScripts
 
bool mFlippedHorz
 
bool mFlippedVert
 
bool mHidden
 
bool mDeleted
 
bool mSelected
 
bool mExpanded
 
bool mOldVisible
 
bool mMoveable
 
EWindowType mType
 

Detailed Description

Definition at line 37 of file GEWindowWrapper.h.

Member Enumeration Documentation

Enumerator
WT_UNKNOWN 
WT_NORMAL 
WT_EDIT 
WT_HTML 
WT_CHOICE 
WT_SLIDER 
WT_BIND 
WT_LIST 
WT_RENDER 
WT_TRANSITION 

Definition at line 41 of file GEWindowWrapper.h.

Constructor & Destructor Documentation

rvGEWindowWrapper::rvGEWindowWrapper ( idWindow window,
EWindowType  type 
)

Definition at line 42 of file GEWindowWrapper.cpp.

Member Function Documentation

void rvGEWindowWrapper::CalcScreenRect ( void  )
protected

Definition at line 140 of file GEWindowWrapper.cpp.

bool rvGEWindowWrapper::CanHaveChildren ( void  )

Definition at line 446 of file GEWindowWrapper.cpp.

ID_INLINE bool rvGEWindowWrapper::CanMoveAndSize ( void  )

Definition at line 218 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::Collapse ( void  )

Definition at line 503 of file GEWindowWrapper.cpp.

void rvGEWindowWrapper::DeleteStateKey ( const char *  key)

Definition at line 269 of file GEWindowWrapper.cpp.

bool rvGEWindowWrapper::EnumChildren ( PFNENUMCHILDRENPROC  proc,
void data 
)

Definition at line 422 of file GEWindowWrapper.cpp.

bool rvGEWindowWrapper::Expand ( void  )

Definition at line 478 of file GEWindowWrapper.cpp.

void rvGEWindowWrapper::Finish ( void  )

Definition at line 529 of file GEWindowWrapper.cpp.

ID_INLINE idWindow * rvGEWindowWrapper::GetChild ( int  index)

Definition at line 208 of file GEWindowWrapper.h.

int rvGEWindowWrapper::GetChildCount ( void  )

Definition at line 406 of file GEWindowWrapper.cpp.

ID_INLINE idRectangle & rvGEWindowWrapper::GetClientRect ( void  )

Definition at line 168 of file GEWindowWrapper.h.

int rvGEWindowWrapper::GetDepth ( void  )

Definition at line 461 of file GEWindowWrapper.cpp.

ID_INLINE idRectangle & rvGEWindowWrapper::GetScreenRect ( void  )

Definition at line 173 of file GEWindowWrapper.h.

ID_INLINE idDict & rvGEWindowWrapper::GetScriptDict ( void  )

Definition at line 138 of file GEWindowWrapper.h.

ID_INLINE idDict & rvGEWindowWrapper::GetStateDict ( void  )

Definition at line 128 of file GEWindowWrapper.h.

ID_INLINE idDict & rvGEWindowWrapper::GetVariableDict ( void  )

Definition at line 133 of file GEWindowWrapper.h.

ID_INLINE idWindow * rvGEWindowWrapper::GetWindow ( void  )

Definition at line 213 of file GEWindowWrapper.h.

ID_INLINE rvGEWindowWrapper::EWindowType rvGEWindowWrapper::GetWindowType ( void  )

Definition at line 198 of file GEWindowWrapper.h.

rvGEWindowWrapper * rvGEWindowWrapper::GetWrapper ( idWindow window)
static

Definition at line 89 of file GEWindowWrapper.cpp.

ID_INLINE bool rvGEWindowWrapper::IsDeleted ( void  )

Definition at line 183 of file GEWindowWrapper.h.

ID_INLINE bool rvGEWindowWrapper::IsExpanded ( void  )

Definition at line 153 of file GEWindowWrapper.h.

ID_INLINE bool rvGEWindowWrapper::IsFlippedHorz ( void  )

Definition at line 143 of file GEWindowWrapper.h.

ID_INLINE bool rvGEWindowWrapper::IsFlippedVert ( void  )

Definition at line 148 of file GEWindowWrapper.h.

ID_INLINE bool rvGEWindowWrapper::IsHidden ( void  )

Definition at line 178 of file GEWindowWrapper.h.

ID_INLINE bool rvGEWindowWrapper::IsSelected ( void  )

Definition at line 188 of file GEWindowWrapper.h.

void rvGEWindowWrapper::SetDeleted ( bool  del)

Definition at line 218 of file GEWindowWrapper.cpp.

ID_INLINE void rvGEWindowWrapper::SetFlippedHorz ( bool  f)

Definition at line 158 of file GEWindowWrapper.h.

ID_INLINE void rvGEWindowWrapper::SetFlippedVert ( bool  f)

Definition at line 163 of file GEWindowWrapper.h.

void rvGEWindowWrapper::SetHidden ( bool  v)

Definition at line 204 of file GEWindowWrapper.cpp.

void rvGEWindowWrapper::SetRect ( idRectangle rect)

Definition at line 184 of file GEWindowWrapper.cpp.

ID_INLINE void rvGEWindowWrapper::SetSelected ( bool  sel)

Definition at line 193 of file GEWindowWrapper.h.

void rvGEWindowWrapper::SetState ( const idDict dict)

Definition at line 231 of file GEWindowWrapper.cpp.

void rvGEWindowWrapper::SetStateKey ( const char *  key,
const char *  value,
bool  update = true 
)

Definition at line 249 of file GEWindowWrapper.cpp.

ID_INLINE void rvGEWindowWrapper::SetWindowType ( rvGEWindowWrapper::EWindowType  type)

Definition at line 203 of file GEWindowWrapper.h.

rvGEWindowWrapper::EWindowType rvGEWindowWrapper::StringToWindowType ( const char *  string)
static

Definition at line 362 of file GEWindowWrapper.cpp.

void rvGEWindowWrapper::UpdateRect ( void  )
protected

Definition at line 103 of file GEWindowWrapper.cpp.

void rvGEWindowWrapper::UpdateWindowState ( void  )
protected

Definition at line 285 of file GEWindowWrapper.cpp.

bool rvGEWindowWrapper::VerfiyStateKey ( const char *  name,
const char *  value,
idStr result = NULL 
)

Definition at line 543 of file GEWindowWrapper.cpp.

idWindow * rvGEWindowWrapper::WindowFromPoint ( float  x,
float  y,
bool  visibleOnly = true 
)

Definition at line 315 of file GEWindowWrapper.cpp.

const char * rvGEWindowWrapper::WindowTypeToString ( EWindowType  type)
static

Definition at line 391 of file GEWindowWrapper.cpp.

Member Data Documentation

idRectangle rvGEWindowWrapper::mClientRect
protected

Definition at line 111 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mDeleted
protected

Definition at line 120 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mExpanded
protected

Definition at line 122 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mFlippedHorz
protected

Definition at line 117 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mFlippedVert
protected

Definition at line 118 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mHidden
protected

Definition at line 119 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mMoveable
protected

Definition at line 124 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mOldVisible
protected

Definition at line 123 of file GEWindowWrapper.h.

idRectangle rvGEWindowWrapper::mScreenRect
protected

Definition at line 112 of file GEWindowWrapper.h.

idDict rvGEWindowWrapper::mScripts
protected

Definition at line 116 of file GEWindowWrapper.h.

bool rvGEWindowWrapper::mSelected
protected

Definition at line 121 of file GEWindowWrapper.h.

idDict rvGEWindowWrapper::mState
protected

Definition at line 114 of file GEWindowWrapper.h.

EWindowType rvGEWindowWrapper::mType
protected

Definition at line 125 of file GEWindowWrapper.h.

idDict rvGEWindowWrapper::mVariables
protected

Definition at line 115 of file GEWindowWrapper.h.

idWindow* rvGEWindowWrapper::mWindow
protected

Definition at line 113 of file GEWindowWrapper.h.


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