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

#include <SimpleWindow.h>

Public Member Functions

 idSimpleWindow (idWindow *win)
 
virtual ~idSimpleWindow ()
 
void Redraw (float x, float y)
 
void StateChanged (bool redraw)
 
idWinVarGetWinVarByName (const char *_name)
 
int GetWinVarOffset (idWinVar *wv, drawWin_t *owner)
 
size_t Size ()
 
idWindowGetParent (void)
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile)
 

Public Attributes

idStr name
 

Protected Member Functions

void CalcClientRect (float xofs, float yofs)
 
void SetupTransforms (float x, float y)
 
void DrawBackground (const idRectangle &drawRect)
 
void DrawBorderAndCaption (const idRectangle &drawRect)
 

Protected Attributes

idUserInterfaceLocalgui
 
idDeviceContextdc
 
int flags
 
idRectangle drawRect
 
idRectangle clientRect
 
idRectangle textRect
 
idVec2 origin
 
int fontNum
 
float matScalex
 
float matScaley
 
float borderSize
 
int textAlign
 
float textAlignx
 
float textAligny
 
int textShadow
 
idWinStr text
 
idWinBool visible
 
idWinRectangle rect
 
idWinVec4 backColor
 
idWinVec4 matColor
 
idWinVec4 foreColor
 
idWinVec4 borderColor
 
idWinFloat textScale
 
idWinFloat rotate
 
idWinVec2 shear
 
idWinBackground backGroundName
 
const idMaterialbackground
 
idWindowmParent
 
idWinBool hideCursor
 

Friends

class idWindow
 

Detailed Description

Definition at line 41 of file SimpleWindow.h.

Constructor & Destructor Documentation

idSimpleWindow::idSimpleWindow ( idWindow win)

Definition at line 38 of file SimpleWindow.cpp.

idSimpleWindow::~idSimpleWindow ( )
virtual

Definition at line 120 of file SimpleWindow.cpp.

Member Function Documentation

void idSimpleWindow::CalcClientRect ( float  xofs,
float  yofs 
)
protected

Definition at line 184 of file SimpleWindow.cpp.

void idSimpleWindow::DrawBackground ( const idRectangle drawRect)
protected

Definition at line 156 of file SimpleWindow.cpp.

void idSimpleWindow::DrawBorderAndCaption ( const idRectangle drawRect)
protected

Definition at line 176 of file SimpleWindow.cpp.

idWindow* idSimpleWindow::GetParent ( void  )
inline

Definition at line 55 of file SimpleWindow.h.

idWinVar * idSimpleWindow::GetWinVarByName ( const char *  _name)

Definition at line 294 of file SimpleWindow.cpp.

int idSimpleWindow::GetWinVarOffset ( idWinVar wv,
drawWin_t owner 
)

Definition at line 257 of file SimpleWindow.cpp.

void idSimpleWindow::ReadFromSaveGame ( idFile savefile)
virtual

Definition at line 383 of file SimpleWindow.cpp.

void idSimpleWindow::Redraw ( float  x,
float  y 
)

Definition at line 220 of file SimpleWindow.cpp.

void idSimpleWindow::SetupTransforms ( float  x,
float  y 
)
protected

Definition at line 130 of file SimpleWindow.cpp.

size_t idSimpleWindow::Size ( void  )

Definition at line 433 of file SimpleWindow.cpp.

void idSimpleWindow::StateChanged ( bool  redraw)

Definition at line 124 of file SimpleWindow.cpp.

void idSimpleWindow::WriteToSaveGame ( idFile savefile)
virtual

Definition at line 337 of file SimpleWindow.cpp.

Friends And Related Function Documentation

friend class idWindow
friend

Definition at line 42 of file SimpleWindow.h.

Member Data Documentation

idWinVec4 idSimpleWindow::backColor
protected

Definition at line 85 of file SimpleWindow.h.

const idMaterial* idSimpleWindow::background
protected

Definition at line 94 of file SimpleWindow.h.

idWinBackground idSimpleWindow::backGroundName
protected

Definition at line 92 of file SimpleWindow.h.

idWinVec4 idSimpleWindow::borderColor
protected

Definition at line 88 of file SimpleWindow.h.

float idSimpleWindow::borderSize
protected

Definition at line 76 of file SimpleWindow.h.

idRectangle idSimpleWindow::clientRect
protected

Definition at line 70 of file SimpleWindow.h.

idDeviceContext* idSimpleWindow::dc
protected

Definition at line 67 of file SimpleWindow.h.

idRectangle idSimpleWindow::drawRect
protected

Definition at line 69 of file SimpleWindow.h.

int idSimpleWindow::flags
protected

Definition at line 68 of file SimpleWindow.h.

int idSimpleWindow::fontNum
protected

Definition at line 73 of file SimpleWindow.h.

idWinVec4 idSimpleWindow::foreColor
protected

Definition at line 87 of file SimpleWindow.h.

idUserInterfaceLocal* idSimpleWindow::gui
protected

Definition at line 66 of file SimpleWindow.h.

idWinBool idSimpleWindow::hideCursor
protected

Definition at line 98 of file SimpleWindow.h.

idWinVec4 idSimpleWindow::matColor
protected

Definition at line 86 of file SimpleWindow.h.

float idSimpleWindow::matScalex
protected

Definition at line 74 of file SimpleWindow.h.

float idSimpleWindow::matScaley
protected

Definition at line 75 of file SimpleWindow.h.

idWindow* idSimpleWindow::mParent
protected

Definition at line 96 of file SimpleWindow.h.

idStr idSimpleWindow::name

Definition at line 49 of file SimpleWindow.h.

idVec2 idSimpleWindow::origin
protected

Definition at line 72 of file SimpleWindow.h.

idWinRectangle idSimpleWindow::rect
protected

Definition at line 84 of file SimpleWindow.h.

idWinFloat idSimpleWindow::rotate
protected

Definition at line 90 of file SimpleWindow.h.

idWinVec2 idSimpleWindow::shear
protected

Definition at line 91 of file SimpleWindow.h.

idWinStr idSimpleWindow::text
protected

Definition at line 82 of file SimpleWindow.h.

int idSimpleWindow::textAlign
protected

Definition at line 77 of file SimpleWindow.h.

float idSimpleWindow::textAlignx
protected

Definition at line 78 of file SimpleWindow.h.

float idSimpleWindow::textAligny
protected

Definition at line 79 of file SimpleWindow.h.

idRectangle idSimpleWindow::textRect
protected

Definition at line 71 of file SimpleWindow.h.

idWinFloat idSimpleWindow::textScale
protected

Definition at line 89 of file SimpleWindow.h.

int idSimpleWindow::textShadow
protected

Definition at line 80 of file SimpleWindow.h.

idWinBool idSimpleWindow::visible
protected

Definition at line 83 of file SimpleWindow.h.


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