Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CGUIDie Class Reference

CGUIDie. More...

#include <GUIDie.h>

Inheritance diagram for CGUIDie:

CGuiPiece List of all members.

Public Member Functions

 CGUIDie (QCanvas *pParent, int32 x, int32 y, int32 w, int32 h, int32 value)
 CGUIDie.
 ~CGUIDie ()
 ~CGUIDie
int32 rtti () const
 rtti
void redraw (const int32 x, const int32 y, const int32 width, const int32 height)
 redraw
uint32 GetValue () const
 GetValue.
bool SetValue (uint32)
 SetValue.

Detailed Description

CGUIDie.

Description: Displays a die.

Limitations: NONE


Constructor & Destructor Documentation

CGUIDie::CGUIDie QCanvas *  pParent,
int32  x,
int32  y,
int32  w,
int32  h,
int32  value
 

CGUIDie.

Description: Class constructor

Parameters:
pParent is the parent canvas of this canvas item.
x is the x-coordinate of this object.
y is the y-coordinate of this object.
w is the width of this object.
h is the height of this object.
value is the value of this die. (0-6)
Limitations: NONE

CGUIDie::~CGUIDie  ) 
 

~CGUIDie

Description: Class deconstructor

Limitations: NONE


Member Function Documentation

uint32 CGUIDie::GetValue  )  const
 

GetValue.

Description: Returns this die's value.

Returns:
The die's value.
Limitations: NONE

void CGUIDie::redraw const int32  newX,
const int32  newY,
const int32  width,
const int32  height
[virtual]
 

redraw

Description: Redraws this object with the correct size and picture.

Parameters:
newX is the new x-coordinate
newY is the new y-coordinate
width is the new width
height is the new height
Returns:
void
Limitations: NONE

Implements CGuiPiece.

int32 CGUIDie::rtti  )  const [inline, virtual]
 

rtti

Description: Returns the run-time type identifier number.

Returns:
The RTTI of the die.
Limitations: NONE

Implements CGuiPiece.

bool CGUIDie::SetValue uint32  die  ) 
 

SetValue.

Description: Sets the value of the die.

Parameters:
die is the value to set.
Returns:
void
Limitations: NONE


The documentation for this class was generated from the following files:
Copyright (c) 2005 Matt Bruns, Pat Hammond, Kevin Markussen, Travis Service, Brain Shaver

SourceForge.net Logo