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

#include <GEOptions.h>

Public Member Functions

 rvGEOptions ()
 
void Init (void)
 
bool Save (void)
 
bool Load (void)
 
void SetSelectionColor (idVec4 &color)
 
void SetSelectionColor (COLORREF color)
 
void SetGridColor (idVec4 &color)
 
void SetGridColor (COLORREF color)
 
void SetGridWidth (int width)
 
void SetGridHeight (int height)
 
void SetGridVisible (bool vis)
 
void SetGridSnap (bool snap)
 
void SetLastOptionsPage (int page)
 
void SetNavigatorVisible (bool vis)
 
void SetPropertiesVisible (bool vis)
 
void SetTransformerVisible (bool vis)
 
void SetIgnoreDesktopSelect (bool ignore)
 
void SetStatusBarVisible (bool vis)
 
void AddRecentFile (const char *filename)
 
int GetRecentFileCount (void)
 
const char * GetRecentFile (int index)
 
idVec4GetGridColor (void)
 
int GetGridWidth (void)
 
int GetGridHeight (void)
 
bool GetGridVisible (void)
 
bool GetGridSnap (void)
 
int GetLastOptionsPage (void)
 
idVec4GetWorkspaceColor (void)
 
bool GetNavigatorVisible (void)
 
bool GetTransformerVisible (void)
 
bool GetPropertiesVisible (void)
 
idVec4GetSelectionColor (void)
 
COLORREF * GetCustomColors (void)
 
bool GetIgnoreDesktopSelect (void)
 
bool GetStatusBarVisible (void)
 
void SetWindowPlacement (const char *name, HWND hwnd)
 
bool GetWindowPlacement (const char *name, HWND hwnd)
 
void SnapRectToGrid (idRectangle &rect, bool snapLeft=true, bool snapTop=true, bool snapWidth=true, bool snapHeight=true)
 

Static Public Attributes

static const int MAX_MRU_SIZE = rvRegistryOptions::MAX_MRU_SIZE
 

Protected Member Functions

void ConvertColor (COLORREF src, idVec4 &dest)
 
void SetModified (bool mod)
 

Protected Attributes

bool mModified
 
int mLastOptionsPage
 
idVec4 mGridColor
 
int mGridWidth
 
int mGridHeight
 
bool mGridSnap
 
bool mGridVisible
 
idVec4 mWorkspaceColor
 
idVec4 mSelectionColor
 
bool mNavigatorVisible
 
bool mPropertiesVisible
 
bool mTransformerVisible
 
bool mStatusBarVisible
 
bool mIgnoreDesktopSelect
 
idList< idStrmRecentFiles
 
COLORREF mCustomColors [16]
 
rvRegistryOptions mRegistry
 

Detailed Description

Definition at line 38 of file GEOptions.h.

Constructor & Destructor Documentation

rvGEOptions::rvGEOptions ( )

Definition at line 37 of file GEOptions.cpp.

Member Function Documentation

ID_INLINE void rvGEOptions::AddRecentFile ( const char *  filename)

Definition at line 298 of file GEOptions.h.

ID_INLINE void rvGEOptions::ConvertColor ( COLORREF  src,
idVec4 dest 
)
protected

Definition at line 128 of file GEOptions.h.

ID_INLINE COLORREF * rvGEOptions::GetCustomColors ( void  )

Definition at line 273 of file GEOptions.h.

ID_INLINE idVec4 & rvGEOptions::GetGridColor ( void  )

Definition at line 208 of file GEOptions.h.

ID_INLINE int rvGEOptions::GetGridHeight ( void  )

Definition at line 218 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetGridSnap ( void  )

Definition at line 228 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetGridVisible ( void  )

Definition at line 223 of file GEOptions.h.

ID_INLINE int rvGEOptions::GetGridWidth ( void  )

Definition at line 213 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetIgnoreDesktopSelect ( void  )

Definition at line 283 of file GEOptions.h.

ID_INLINE int rvGEOptions::GetLastOptionsPage ( void  )

Definition at line 238 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetNavigatorVisible ( void  )

Definition at line 248 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetPropertiesVisible ( void  )

Definition at line 253 of file GEOptions.h.

ID_INLINE const char * rvGEOptions::GetRecentFile ( int  index)

Definition at line 308 of file GEOptions.h.

ID_INLINE int rvGEOptions::GetRecentFileCount ( void  )

Definition at line 303 of file GEOptions.h.

ID_INLINE idVec4 & rvGEOptions::GetSelectionColor ( void  )

Definition at line 268 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetStatusBarVisible ( void  )

Definition at line 263 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetTransformerVisible ( void  )

Definition at line 258 of file GEOptions.h.

ID_INLINE bool rvGEOptions::GetWindowPlacement ( const char *  name,
HWND  hwnd 
)

Definition at line 293 of file GEOptions.h.

ID_INLINE idVec4 & rvGEOptions::GetWorkspaceColor ( void  )

Definition at line 233 of file GEOptions.h.

void rvGEOptions::Init ( void  )

Definition at line 61 of file GEOptions.cpp.

bool rvGEOptions::Load ( void  )

Definition at line 111 of file GEOptions.cpp.

bool rvGEOptions::Save ( void  )

Definition at line 72 of file GEOptions.cpp.

ID_INLINE void rvGEOptions::SetGridColor ( idVec4 color)

Definition at line 184 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetGridColor ( COLORREF  color)

Definition at line 166 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetGridHeight ( int  height)

Definition at line 142 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetGridSnap ( bool  snap)

Definition at line 148 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetGridVisible ( bool  vis)

Definition at line 154 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetGridWidth ( int  width)

Definition at line 136 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetIgnoreDesktopSelect ( bool  ignore)

Definition at line 278 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetLastOptionsPage ( int  page)

Definition at line 243 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetModified ( bool  mod)
protected

Definition at line 123 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetNavigatorVisible ( bool  vis)

Definition at line 190 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetPropertiesVisible ( bool  vis)

Definition at line 196 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetSelectionColor ( idVec4 color)

Definition at line 172 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetSelectionColor ( COLORREF  color)

Definition at line 178 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetStatusBarVisible ( bool  vis)

Definition at line 160 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetTransformerVisible ( bool  vis)

Definition at line 202 of file GEOptions.h.

ID_INLINE void rvGEOptions::SetWindowPlacement ( const char *  name,
HWND  hwnd 
)

Definition at line 288 of file GEOptions.h.

void rvGEOptions::SnapRectToGrid ( idRectangle rect,
bool  snapLeft = true,
bool  snapTop = true,
bool  snapWidth = true,
bool  snapHeight = true 
)

Definition at line 155 of file GEOptions.cpp.

Member Data Documentation

const int rvGEOptions::MAX_MRU_SIZE = rvRegistryOptions::MAX_MRU_SIZE
static

Definition at line 42 of file GEOptions.h.

COLORREF rvGEOptions::mCustomColors[16]
protected

Definition at line 118 of file GEOptions.h.

idVec4 rvGEOptions::mGridColor
protected

Definition at line 101 of file GEOptions.h.

int rvGEOptions::mGridHeight
protected

Definition at line 103 of file GEOptions.h.

bool rvGEOptions::mGridSnap
protected

Definition at line 104 of file GEOptions.h.

bool rvGEOptions::mGridVisible
protected

Definition at line 105 of file GEOptions.h.

int rvGEOptions::mGridWidth
protected

Definition at line 102 of file GEOptions.h.

bool rvGEOptions::mIgnoreDesktopSelect
protected

Definition at line 114 of file GEOptions.h.

int rvGEOptions::mLastOptionsPage
protected

Definition at line 99 of file GEOptions.h.

bool rvGEOptions::mModified
protected

Definition at line 98 of file GEOptions.h.

bool rvGEOptions::mNavigatorVisible
protected

Definition at line 110 of file GEOptions.h.

bool rvGEOptions::mPropertiesVisible
protected

Definition at line 111 of file GEOptions.h.

idList<idStr> rvGEOptions::mRecentFiles
protected

Definition at line 116 of file GEOptions.h.

rvRegistryOptions rvGEOptions::mRegistry
protected

Definition at line 120 of file GEOptions.h.

idVec4 rvGEOptions::mSelectionColor
protected

Definition at line 108 of file GEOptions.h.

bool rvGEOptions::mStatusBarVisible
protected

Definition at line 113 of file GEOptions.h.

bool rvGEOptions::mTransformerVisible
protected

Definition at line 112 of file GEOptions.h.

idVec4 rvGEOptions::mWorkspaceColor
protected

Definition at line 107 of file GEOptions.h.


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