My Project
|
3 d circle. More...
#include <3DCircle.h>
Public Member Functions | |
C3DCircle (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int iconSize=128) | |
Constructor. | |
virtual | ~C3DCircle () |
Destructor. | |
void | AddItem (int image, const std::string &text, int controlId) |
Adds an item. | |
virtual void | Timer (float timeDelta) |
Timers. | |
virtual void | SendMessageToParent (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
Send message to parent. |
3 d circle.
C3DCircle::C3DCircle | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
int | x, | ||
int | y, | ||
int | width, | ||
int | iconSize = 128 |
||
) |
Constructor.
m_iIconSize(iconSize), m_fWinkelCorrection(0), m_bMoveAnimation(false), m_iMoveAnimationSpeed(30), m_fDeltaStart(0)
[in,out] | parent | If non-null, the parent. |
x | The x coordinate. | |
y | The y coordinate. | |
width | The width. | |
iconSize | Size of the icon. |
C3DCircle::~C3DCircle | ( | ) | [virtual] |
Destructor.
void C3DCircle::AddItem | ( | int | image, |
const std::string & | text, | ||
int | controlId | ||
) |
Adds an item.
image | The image. |
text | The text. |
controlId | Identifier for the control. |
void C3DCircle::SendMessageToParent | ( | SallyAPI::GUI::CGUIBaseObject * | reporter, |
int | reporterId, | ||
int | messageId, | ||
SallyAPI::GUI::SendMessage::CParameterBase * | messageParameter = NULL |
||
) | [virtual] |
Send message to parent.
[in,out] | reporter | If non-null, the reporter. |
reporterId | Identifier for the reporter. | |
messageId | Identifier for the message. | |
[in,out] | messageParameter | If non-null, the message parameter. |
Reimplemented from SallyAPI::GUI::CForm.
void C3DCircle::Timer | ( | float | timeDelta | ) | [virtual] |
Timers.
timeDelta | The time delta. |
Reimplemented from SallyAPI::GUI::CForm.