#include <BGGUIBar.h>
Inheritance diagram for CBGGUIBar:

Public Member Functions | |
| CBGGUIBar (QCanvas *pParent, int32 x, int32 y, uint32 loc, CBGGUIPiece::COLOR checkerColor) | |
| CBGGUITriangle. | |
| int32 | rtti () const |
| rtti | |
| void | redraw (const int32 x, const int32 y, const int32 width, const int32 height) |
| redraw | |
| void | AddPiece () |
| AddPiece. | |
| void | RemovePiece () |
| RemovePiece. | |
| uint32 | GetPieceCount () const |
| GetPieceCount. | |
| CBGGUIPiece::COLOR | GetPieceColor () const |
| GetPieceColor. | |
Description: A CGuiPiece derived class used to draw the Backgammon game bar on the screen.
Limitations: NONE
|
||||||||||||||||||||||||
|
Description: Class constructor
|
|
|
AddPiece. Description: Adds a checker to this triangle.
|
|
|
GetPieceColor. Description: Returns the color of the checkers on this bar.
|
|
|
GetPieceCount. Description: Returns the number of checkers on the bar
|
|
||||||||||||||||||||
|
redraw Description: Redraws the piece object based on the new size and offset.
Implements CGuiPiece. |
|
|
RemovePiece. Description: Removes a checker to this triangle.
|
|
|
rtti Description: Returns the Runtime Type Identifier.
Implements CGuiPiece. |