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

#include <GESelectionMgr.h>

Public Types

enum  EHitTest {
  HT_NONE, HT_SELECT, HT_MOVE, HT_SIZE_TOPLEFT,
  HT_SIZE_TOP, HT_SIZE_TOPRIGHT, HT_SIZE_RIGHT, HT_SIZE_BOTTOMRIGHT,
  HT_SIZE_BOTTOM, HT_SIZE_BOTTOMLEFT, HT_SIZE_LEFT
}
 

Public Member Functions

 rvGESelectionMgr ()
 
void SetWorkspace (rvGEWorkspace *workspace)
 
void Set (idWindow *)
 
void Add (idWindow *window, bool expand=true)
 
void Remove (idWindow *)
 
void Clear (void)
 
int Num (void)
 
void Render (void)
 
EHitTest HitTest (float x, float y)
 
bool IsSelected (idWindow *window)
 
bool IsExpression (void)
 
idRectangleGetRect (void)
 
idWindowGetBottomMost (void)
 
idWindow *& operator[] (int index)
 

Protected Member Functions

void UpdateRectangle (void)
 
void UpdateExpression (void)
 

Protected Attributes

idList< idWindow * > mSelections
 
idRectangle mRect
 
rvGEWorkspacemWorkspace
 
bool mExpression
 

Detailed Description

Definition at line 34 of file GESelectionMgr.h.

Member Enumeration Documentation

Enumerator
HT_NONE 
HT_SELECT 
HT_MOVE 
HT_SIZE_TOPLEFT 
HT_SIZE_TOP 
HT_SIZE_TOPRIGHT 
HT_SIZE_RIGHT 
HT_SIZE_BOTTOMRIGHT 
HT_SIZE_BOTTOM 
HT_SIZE_BOTTOMLEFT 
HT_SIZE_LEFT 

Definition at line 38 of file GESelectionMgr.h.

Constructor & Destructor Documentation

rvGESelectionMgr::rvGESelectionMgr ( )

Definition at line 41 of file GESelectionMgr.cpp.

Member Function Documentation

void rvGESelectionMgr::Add ( idWindow window,
bool  expand = true 
)

Definition at line 69 of file GESelectionMgr.cpp.

void rvGESelectionMgr::Clear ( void  )

Definition at line 138 of file GESelectionMgr.cpp.

idWindow * rvGESelectionMgr::GetBottomMost ( void  )

Definition at line 447 of file GESelectionMgr.cpp.

ID_INLINE idRectangle & rvGESelectionMgr::GetRect ( void  )

Definition at line 105 of file GESelectionMgr.h.

rvGESelectionMgr::EHitTest rvGESelectionMgr::HitTest ( float  x,
float  y 
)

Definition at line 369 of file GESelectionMgr.cpp.

ID_INLINE bool rvGESelectionMgr::IsExpression ( void  )

Definition at line 116 of file GESelectionMgr.h.

ID_INLINE bool rvGESelectionMgr::IsSelected ( idWindow window)

Definition at line 111 of file GESelectionMgr.h.

ID_INLINE int rvGESelectionMgr::Num ( void  )

Definition at line 87 of file GESelectionMgr.h.

ID_INLINE idWindow *& rvGESelectionMgr::operator[] ( int  index)

Definition at line 92 of file GESelectionMgr.h.

void rvGESelectionMgr::Remove ( idWindow window)

Definition at line 106 of file GESelectionMgr.cpp.

void rvGESelectionMgr::Render ( void  )

Definition at line 164 of file GESelectionMgr.cpp.

void rvGESelectionMgr::Set ( idWindow window)

Definition at line 53 of file GESelectionMgr.cpp.

ID_INLINE void rvGESelectionMgr::SetWorkspace ( rvGEWorkspace workspace)

Definition at line 100 of file GESelectionMgr.h.

void rvGESelectionMgr::UpdateExpression ( void  )
protected

Definition at line 344 of file GESelectionMgr.cpp.

void rvGESelectionMgr::UpdateRectangle ( void  )
protected

Definition at line 299 of file GESelectionMgr.cpp.

Member Data Documentation

bool rvGESelectionMgr::mExpression
protected

Definition at line 84 of file GESelectionMgr.h.

idRectangle rvGESelectionMgr::mRect
protected

Definition at line 82 of file GESelectionMgr.h.

idList<idWindow*> rvGESelectionMgr::mSelections
protected

Definition at line 81 of file GESelectionMgr.h.

rvGEWorkspace* rvGESelectionMgr::mWorkspace
protected

Definition at line 83 of file GESelectionMgr.h.


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