My Project
|
List of c scrolls. More...
#include <ScrollList.h>
Public Member Functions | |
CScrollList (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int height, int iconSize, int iconSizeSpace, int controlId=0) | |
Constructor. | |
virtual | ~CScrollList () |
Destructor. | |
virtual void | SendMessageToParent (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
Send message to parent. | |
virtual void | SetAlphaBlending (int alphaBlending) |
Sets an alpha blending. | |
void | AddItem (const SallyAPI::GUI::CScrollListItem &item) |
Adds an item. | |
void | Clear () |
Clears this object to its blank/initial state. | |
void | SetFont (const std::string &font) |
Sets a font. |
List of c scrolls.
CScrollList::CScrollList | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | iconSize, | ||
int | iconSizeSpace, | ||
int | controlId = 0 |
||
) |
Constructor.
m_iStartPicture(0)
[in,out] | parent | If non-null, the parent. |
x | The x coordinate. | |
y | The y coordinate. | |
width | The width. | |
height | The height. | |
iconSize | Size of the icon. | |
iconSizeSpace | The icon size space. | |
controlId | Identifier for the control. |
CScrollList::~CScrollList | ( | ) | [virtual] |
Destructor.
void CScrollList::AddItem | ( | const SallyAPI::GUI::CScrollListItem & | item | ) |
Adds an item.
item | The item. |
void CScrollList::Clear | ( | ) |
Clears this object to its blank/initial state.
void CScrollList::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 CScrollList::SetAlphaBlending | ( | int | alphaBlending | ) | [virtual] |
Sets an alpha blending.
alphaBlending | The alpha blending. |
Reimplemented from SallyAPI::GUI::CForm.
void CScrollList::SetFont | ( | const std::string & | font | ) |
Sets a font.
font | The font. |