#include <toolbar_item.h>
Implementation | |
| class | CL_ToolBar |
| class | CL_ToolBar_Impl |
Public Member Functions | |
Construction | |
| CL_ToolBarItem () | |
| CL_ToolBarItem (int id) | |
| Constructs a ToolBarItem. | |
| CL_ToolBarItem (const CL_SharedPtr< CL_ToolBarItem_Impl > &impl) | |
| Constructs a ToolBarItem. | |
| virtual | ~CL_ToolBarItem () |
Attributes | |
| CL_StringRef | get_text () const |
| Get Text. | |
| int | get_id () const |
| Get Id. | |
| bool | is_null () const |
| Is Null. | |
| bool | is_disabled () const |
| Is Disabled. | |
| bool | is_toggling () const |
| Is Toggling. | |
| bool | is_pressed () const |
| Is Pressed. | |
Operations | |
| void | set_id (int id) |
| Set id. | |
| void | set_text (const CL_StringRef &text) |
| Set text. | |
| void | set_icon (const CL_Sprite &image, int frame=0) |
| Set icon. | |
| void | set_toggling (bool toggling) |
| Controls if buttons stay down when pressed. | |
| void | set_pressed (bool value) |
| Set pressed. | |
|
|
|
|
|
Constructs a ToolBarItem.
|
|
|
Constructs a ToolBarItem.
|
|
|
|
|
|
Get Id.
|
|
|
Get Text.
|
|
|
Is Disabled.
|
|
|
Is Null.
|
|
|
Is Pressed.
|
|
|
Is Toggling.
|
|
||||||||||||
|
Set icon.
|
|
|
Set id.
|
|
|
Set pressed.
|
|
|
Set text.
|
|
|
Controls if buttons stay down when pressed.
|
|
|
|
|
|
|
1.4.6