32 #ifndef REGISTRYOPTIONS_H_
33 #include "../common/registryoptions.h"
91 void SnapRectToGrid (
idRectangle& rect,
bool snapLeft =
true,
bool snapTop =
true,
bool snapWidth =
true,
bool snapHeight =
true );
130 dest[0] = (
float)GetRValue ( src ) / 255.0f;
131 dest[1] = (
float)GetGValue ( src ) / 255.0f;
132 dest[2] = (
float)GetBValue ( src ) / 255.0f;
313 #endif // _GEOPTIONS_H_
void SetModified(bool mod)
bool GetNavigatorVisible(void)
bool GetWindowPlacement(const char *name, HWND hwnd)
void SetTransformerVisible(bool vis)
void SetSelectionColor(idVec4 &color)
bool GetPropertiesVisible(void)
void SnapRectToGrid(idRectangle &rect, bool snapLeft=true, bool snapTop=true, bool snapWidth=true, bool snapHeight=true)
void SetWindowPlacement(const char *name, HWND hwnd)
idList< idStr > mRecentFiles
idVec4 & GetSelectionColor(void)
bool GetTransformerVisible(void)
bool GetWindowPlacement(const char *name, HWND hwnd)
rvRegistryOptions mRegistry
bool mIgnoreDesktopSelect
void SetPropertiesVisible(bool vis)
idVec4 & GetWorkspaceColor(void)
void SetIgnoreDesktopSelect(bool ignore)
void SetLastOptionsPage(int page)
void SetGridSnap(bool snap)
void AddRecentFile(const char *filename)
bool GetGridVisible(void)
void SetGridVisible(bool vis)
bool GetIgnoreDesktopSelect(void)
void SetStatusBarVisible(bool vis)
const char * GetRecentFile(int index)
void SetWindowPlacement(const char *name, HWND hwnd)
COLORREF mCustomColors[16]
void ConvertColor(COLORREF src, idVec4 &dest)
COLORREF * GetCustomColors(void)
GLenum GLsizei GLsizei height
static const int MAX_MRU_SIZE
idVec4 & GetGridColor(void)
void SetGridWidth(int width)
int GetLastOptionsPage(void)
void AddRecentFile(const char *filename)
bool GetStatusBarVisible(void)
int GetRecentFileCount(void)
const char * GetRecentFile(int index)
void SetGridHeight(int height)
void SetGridColor(idVec4 &color)
void SetNavigatorVisible(bool vis)
int GetRecentFileCount(void)
static const int MAX_MRU_SIZE