Toolbar menu item.
More...
#include <toolbar_item.h>
List of all members.
Detailed Description
Toolbar menu item.
Constructor & Destructor Documentation
CL_ToolBarItem::CL_ToolBarItem |
( |
|
) |
|
Construct a null instance.
CL_ToolBarItem::CL_ToolBarItem |
( |
int |
id |
) |
|
Constructs a ToolBarItem.
- Parameters:
-
CL_ToolBarItem::CL_ToolBarItem |
( |
const CL_SharedPtr< CL_ToolBarItem_Impl > & |
impl |
) |
|
Constructs a ToolBarItem.
- Parameters:
-
| CL_ToolBarItem_Impl | = Shared Ptr |
virtual CL_ToolBarItem::~CL_ToolBarItem |
( |
|
) |
[virtual] |
Member Function Documentation
int CL_ToolBarItem::get_id |
( |
|
) |
const |
bool CL_ToolBarItem::is_disabled |
( |
|
) |
const |
Is Disabled.
- Returns:
- true = disabled
bool CL_ToolBarItem::is_null |
( |
|
) |
const [inline] |
Returns true if this object is invalid.
bool CL_ToolBarItem::is_pressed |
( |
|
) |
const |
Is Pressed.
- Returns:
- true = pressed
bool CL_ToolBarItem::is_toggling |
( |
|
) |
const |
Is Toggling.
- Returns:
- true = toggling
void CL_ToolBarItem::set_icon |
( |
const CL_Sprite & |
image, |
|
|
int |
frame = 0 | |
|
) |
| | |
Set icon.
- Parameters:
-
| image | = Sprite |
| frame | = value |
void CL_ToolBarItem::set_id |
( |
int |
id |
) |
|
void CL_ToolBarItem::set_pressed |
( |
bool |
value |
) |
|
void CL_ToolBarItem::set_toggling |
( |
bool |
toggling |
) |
|
Controls if buttons stay down when pressed.
void CL_ToolBarItem::throw_if_null |
( |
|
) |
const |
Throw an exception if this object is invalid.
Friends And Related Function Documentation
friend class CL_ToolBar_Impl [friend] |
The documentation for this class was generated from the following file: