Functions | |
virtual | clan::ListViewItemUserData::~ListViewItemUserData () |
MessageBoxResult | clan::message_box (GUIComponent *owner, std::string title, std::string detail_text, MessageBoxButtons buttons, MessageBoxIcon icon) |
MessageBoxResult | clan::message_box (GUIManager *gui_manager, std::string title, std::string detail_text, MessageBoxButtons buttons, MessageBoxIcon icon) |
Construction | |
clan::CheckBox::CheckBox (GUIComponent *parent) | |
Constructs a CheckBox. More... | |
virtual | clan::CheckBox::~CheckBox () |
Attributes | |
static CheckBox * | clan::CheckBox::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child CheckBox with the specified component ID name. More... | |
bool | clan::CheckBox::is_indeterminated () const |
Is Indeterminated. More... | |
bool | clan::CheckBox::is_checked () const |
Is Checked. More... | |
bool | clan::CheckBox::is_3state () const |
Is 3state. More... | |
const std::string & | clan::CheckBox::get_text () const |
Operations | |
void | clan::CheckBox::set_indeterminated () |
Set indeterminated. More... | |
void | clan::CheckBox::set_checked (bool enable) |
Set checked. More... | |
void | clan::CheckBox::set_3state (bool enable) |
Set 3state. More... | |
void | clan::CheckBox::set_text (const std::string &text) |
Set text. More... | |
Events | |
Callback_v0 & | clan::CheckBox::func_checked () |
Func checked. More... | |
Callback_v0 & | clan::CheckBox::func_unchecked () |
Func unchecked. More... | |
Callback_v0 & | clan::CheckBox::func_indeterminated () |
Func indeterminated. More... | |
Callback_v0 & | clan::CheckBox::func_state_changed () |
Func state changed. More... | |
Construction | |
clan::ComboBox::ComboBox (GUIComponent *parent) | |
Constructs a ComboBox. More... | |
virtual | clan::ComboBox::~ComboBox () |
Attributes | |
static ComboBox * | clan::ComboBox::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ComboBox with the specified component ID name. More... | |
bool | clan::ComboBox::is_editable () const |
Is Editable. More... | |
int | clan::ComboBox::get_dropdown_height () const |
Get Dropdown height. More... | |
int | clan::ComboBox::get_selected_item () const |
Get Selected item. More... | |
std::string | clan::ComboBox::get_text () const |
Get Text. More... | |
std::string | clan::ComboBox::get_item (int index) const |
Get item. More... | |
Operations | |
void | clan::ComboBox::set_editable (bool enable=true) |
Set editable. More... | |
void | clan::ComboBox::set_dropdown_height (int height) |
Set dropdown height. More... | |
void | clan::ComboBox::set_dropdown_minimum_width (int min_width) |
Set dropdown minimum width. More... | |
void | clan::ComboBox::set_text (const std::string &text) |
Set text. More... | |
void | clan::ComboBox::set_selected_item (int index) |
Set selected item. More... | |
void | clan::ComboBox::set_popup_menu (PopupMenu &menu) |
Set popup menu. More... | |
Events | |
Callback_v0 & | clan::ComboBox::func_dropdown_opened () |
Func dropdown opened. More... | |
Callback_v0 & | clan::ComboBox::func_dropdown_closed () |
Func dropdown closed. More... | |
Callback_v0 & | clan::ComboBox::func_enter_pressed () |
Func enter pressed. More... | |
Callback_v0 & | clan::ComboBox::func_before_edit_changed () |
Func before edit changed. More... | |
Callback_v0 & | clan::ComboBox::func_after_edit_changed () |
Func after edit changed. More... | |
Callback_v1< int > & | clan::ComboBox::func_item_selected () |
Func after item selected. More... | |
Callback_v1< int > & | clan::ComboBox::func_selection_changed () |
Func after selection changed. More... | |
Construction | |
clan::DragBox::DragBox (GUIComponent *parent) | |
Constructs a DragBox. More... | |
clan::DragBox::DragBox (GUIManager *manager, const GUITopLevelDescription &description) | |
Constructs a DragBox. More... | |
virtual | clan::DragBox::~DragBox () |
Attributes | |
static DragBox * | clan::DragBox::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child DragBox with the specified component ID name. More... | |
Construction | |
clan::BrowseFolderDialog::BrowseFolderDialog (GUIComponent *owner) | |
Constructs an browse folder dialog. More... | |
virtual | clan::BrowseFolderDialog::~BrowseFolderDialog () |
Attributes | |
std::string | clan::BrowseFolderDialog::get_selected_path () const |
Get the full path of the directory selected. More... | |
Operations | |
void | clan::BrowseFolderDialog::set_initial_directory (const std::string &path) |
Sets the initial directory that is displayed. More... | |
void | clan::BrowseFolderDialog::set_title (const std::string &title) |
Sets the text that appears in the title bar. More... | |
bool | clan::BrowseFolderDialog::show () |
Shows the file dialog. More... | |
Construction | |
clan::Frame::Frame (GUIComponent *parent) | |
Constructs a Frame. More... | |
virtual | clan::Frame::~Frame () |
Attributes | |
static Frame * | clan::Frame::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child Frame with the specified component ID name. More... | |
Sprite | clan::Frame::get_header_icon () const |
Get Header icon. More... | |
std::string | clan::Frame::get_header_text () const |
Get Header text. More... | |
Operations | |
void | clan::Frame::set_header_icon (const Sprite &icon) |
Set header icon. More... | |
void | clan::Frame::set_header_text (const std::string &text) |
Set header text. More... | |
Construction | |
clan::GroupBox::GroupBox (GUIComponent *parent) | |
Constructs a GroupBox. More... | |
virtual | clan::GroupBox::~GroupBox () |
Attributes | |
static GroupBox * | clan::GroupBox::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child GroupBox with the specified component ID name. More... | |
Construction | |
clan::ImageView::ImageView (GUIComponent *parent) | |
Constructs a ImageView. More... | |
virtual | clan::ImageView::~ImageView () |
Attributes | |
static ImageView * | clan::ImageView::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ImageView with the specified component ID name. More... | |
Sprite | clan::ImageView::get_sprite () const |
Get Sprite. More... | |
Image | clan::ImageView::get_image () const |
Get Image. More... | |
Operations | |
void | clan::ImageView::set_sprite (const Sprite &image) |
Set sprite. More... | |
void | clan::ImageView::set_image (const Image &image) |
Set image. More... | |
void | clan::ImageView::set_image (const PixelBuffer &image) |
Set image. More... | |
void | clan::ImageView::set_scale_to_fit (bool enable) |
Set scale to fit. More... | |
void | clan::ImageView::set_scale (float x, float y) |
Set scale. More... | |
float | clan::ImageView::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::ImageView::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Construction | |
clan::Label::Label (GUIComponent *parent) | |
Constructs a Label. More... | |
virtual | clan::Label::~Label () |
Attributes | |
enum | clan::Label::Alignment { clan::Label::align_left, clan::Label::align_center, clan::Label::align_right, clan::Label::align_justify } |
static Label * | clan::Label::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child Label with the specified component ID name. More... | |
Alignment | clan::Label::get_alignment () const |
Get Alignment. More... | |
const std::string & | clan::Label::get_text () const |
Get Text. More... | |
float | clan::Label::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::Label::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Operations | |
void | clan::Label::set_text (const std::string &text) |
Set text. More... | |
void | clan::Label::set_text_color (const Colorf color) |
void | clan::Label::set_alignment (Alignment alignment) |
Set alignment. More... | |
Construction | |
clan::LineEdit::LineEdit (GUIComponent *parent) | |
Constructs a LineEdit. More... | |
virtual | clan::LineEdit::~LineEdit () |
Attributes | |
enum | clan::LineEdit::Alignment { clan::LineEdit::align_left, clan::LineEdit::align_center, clan::LineEdit::align_right } |
static LineEdit * | clan::LineEdit::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child LineEdit with the specified component ID name. More... | |
Alignment | clan::LineEdit::get_alignment () const |
Get Alignment. More... | |
bool | clan::LineEdit::is_read_only () const |
Is Read only. More... | |
bool | clan::LineEdit::is_lowercase () const |
Is Lowercase. More... | |
bool | clan::LineEdit::is_uppercase () const |
Is Uppercase. More... | |
bool | clan::LineEdit::is_password_mode () const |
Is Password mode. More... | |
int | clan::LineEdit::get_max_length () const |
Get Max length. More... | |
std::string | clan::LineEdit::get_text () const |
Get Text. More... | |
int | clan::LineEdit::get_text_int () const |
Returns the text converted to integer. More... | |
float | clan::LineEdit::get_text_float () const |
Returns the text converted to float. More... | |
std::string | clan::LineEdit::get_selection () const |
Get Selection. More... | |
int | clan::LineEdit::get_selection_start () const |
Get Selection start. More... | |
int | clan::LineEdit::get_selection_length () const |
Get Selection length. More... | |
int | clan::LineEdit::get_cursor_pos () const |
Get Cursor pos. More... | |
Size | clan::LineEdit::get_text_size () |
Returns the size (pixels) of the text in the lineedit, or of the string given as parameter. More... | |
Size | clan::LineEdit::get_text_size (const std::string &str) |
Get text size. More... | |
float | clan::LineEdit::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::LineEdit::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Operations | |
void | clan::LineEdit::set_select_all_on_focus_gain (bool enable) |
void | clan::LineEdit::select_all () |
Select all. More... | |
void | clan::LineEdit::set_alignment (Alignment alignment) |
Set alignment. More... | |
void | clan::LineEdit::set_read_only (bool enable=true) |
Set read only. More... | |
void | clan::LineEdit::set_lowercase (bool enable=true) |
Set lowercase. More... | |
void | clan::LineEdit::set_uppercase (bool enable=true) |
Set uppercase. More... | |
void | clan::LineEdit::set_password_mode (bool enable=true) |
Set password mode. More... | |
void | clan::LineEdit::set_numeric_mode (bool enable=true, bool decimals=false) |
Set numeric mode. More... | |
void | clan::LineEdit::set_max_length (int length) |
Set max length. More... | |
void | clan::LineEdit::set_text (const std::string &text) |
Set text. More... | |
void | clan::LineEdit::set_text (int number) |
Set text. More... | |
void | clan::LineEdit::set_text (float number, int num_decimal_places=6) |
Set text. More... | |
void | clan::LineEdit::set_selection (int pos, int length) |
Set selection. More... | |
void | clan::LineEdit::clear_selection () |
Clear selection. More... | |
void | clan::LineEdit::set_cursor_pos (int pos) |
Set cursor pos. More... | |
void | clan::LineEdit::delete_selected_text () |
Delete selected text. More... | |
void | clan::LineEdit::resize_to_fit (int max_width) |
Resize the components width so that its whole text becomes visible. More... | |
void | clan::LineEdit::set_input_mask (const std::string &mask) |
Use mask to restrict accepted input. More... | |
void | clan::LineEdit::set_decimal_character (const std::string &decimal_char) |
Set decimal character. More... | |
void | clan::LineEdit::set_cursor_drawing_enabled (bool enable) |
Set cursor drawing enabled/disabled. More... | |
Events | |
Callback_v1< InputEvent & > & | clan::LineEdit::func_before_edit_changed () |
Callback_v1< InputEvent & > & | clan::LineEdit::func_after_edit_changed () |
Callback_v0 & | clan::LineEdit::func_selection_changed () |
Func selection changed. More... | |
Callback_v0 & | clan::LineEdit::func_focus_gained () |
Callback invoked after the lineedit gained focus. More... | |
Callback_v0 & | clan::LineEdit::func_focus_lost () |
Callback invoked when the lineedit is about to lose focus. More... | |
Callback_v0 & | clan::LineEdit::func_enter_pressed () |
Func enter pressed. More... | |
Construction | |
clan::ListView::ListView (GUIComponent *parent) | |
Constructs a ListView. More... | |
virtual | clan::ListView::~ListView () |
Attributes | |
static ListView * | clan::ListView::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ListView with the specified component ID name. More... | |
int | clan::ListView::get_scroll_position () |
Get current listview scrollbar position. More... | |
int | clan::ListView::get_scroll_max_position () |
Get maximal listview scrollbar position. More... | |
ListViewHeader * | clan::ListView::get_header () const |
Get Header. More... | |
ListViewItem | clan::ListView::get_document_item () const |
Get Document item. More... | |
bool | clan::ListView::get_select_whole_row () const |
Get Select whole row. More... | |
ListViewIconList | clan::ListView::get_icon_list () const |
Get Icon list. More... | |
ListViewSelection | clan::ListView::get_selected_items () const |
Returns a container class holding the selected items in a linked list structure. More... | |
ListViewItem | clan::ListView::get_selected_item () |
Returns the currently selected item in single selection mode. More... | |
Size | clan::ListView::get_css_size () const |
Returns the preferred size of the component, as defined in its CSS file. More... | |
ListViewDisplayMode | clan::ListView::get_display_mode () const |
Get Display mode. More... | |
Operations | |
ListViewItem | clan::ListView::create_item () |
Create item. More... | |
void | clan::ListView::set_scroll_position (int pos) |
Set listview scrollbar position. More... | |
void | clan::ListView::on_process_message (std::shared_ptr< GUIMessage > &msg) |
On process message. More... | |
void | clan::ListView::set_select_whole_row (bool value) |
When true, the whole row is drawn selected, as opposed to only the first column. More... | |
void | clan::ListView::set_multi_select (bool value) |
When true, multiple items can be selected. More... | |
void | clan::ListView::set_display_mode (ListViewDisplayMode mode) |
Set display mode. More... | |
void | clan::ListView::show_detail_icon (bool enable=true) |
Set if icons are shown in the detail display mode. More... | |
void | clan::ListView::show_detail_opener (bool enable=true) |
Set if node opener is shown in the detail display mode. More... | |
void | clan::ListView::clear () |
Remove all items. More... | |
void | clan::ListView::clear_selection () |
Unselect all selected items. More... | |
void | clan::ListView::set_selected (ListViewItem &item, bool selected=true) |
Set selected. More... | |
ListViewItem | clan::ListView::find (const std::string &col_id, const std::string &str, bool recursive=true) |
Returns a ListViewItem with the string 'str' in the column 'col_id' or a NULL item if none found. More... | |
ListViewItem | clan::ListView::find (int id, bool recursive=true) |
Returns the first ListViewItem with the specified ID, or a NULL item if none found. More... | |
ListViewItem | clan::ListView::find (std::shared_ptr< ListViewItemUserData > userdata, bool recursive=true) |
Returns a ListViewItem with the userdata 'ptr', or a NULL item if none found. More... | |
Events | |
Callback_v1< ListViewSelection > & | clan::ListView::func_selection_changed () |
Selected items are returned as children of the returned item. More... | |
Callback_v1< const ListViewItem & > & | clan::ListView::func_item_doubleclick () |
Invoked on double clicking a listview item. More... | |
Callback_2< bool, ListViewItem, std::string & > & | clan::ListView::func_item_edited () |
Invoked when enter is pressed in the ListViews built-in LineEdit control. The caller may change the passed string. Returning false from the callback cancels the edit. More... | |
Callback_v1< InputEvent & > & | clan::ListView::func_key_pressed () |
Callback_v1< InputEvent & > & | clan::ListView::func_key_released () |
Callback_v1< Point > & | clan::ListView::func_mouse_right_up () |
Callback called when the right mouse button is released (a click). Use this callback for listview context menus. Click position sent as parameter. More... | |
Callback_v1< const ListViewItem & > & | clan::ListView::func_item_opened () |
Callback called when an item node is opened. More... | |
Callback_v1< const ListViewItem & > & | clan::ListView::func_item_closed () |
Callback called when an item node is closed. More... | |
Callback_v0 & | clan::ListView::func_begin_drag () |
Callback called when the user begins a drag'n'drop action. More... | |
Implementation | |
class | clan::ListView::ListViewRenderer |
Construction | |
clan::ListViewColumnData::ListViewColumnData () | |
clan::ListViewColumnData::~ListViewColumnData () | |
Attributes | |
std::string | clan::ListViewColumnData::get_text () const |
Get Text. More... | |
std::string | clan::ListViewColumnData::get_column_id () const |
Get Column id. More... | |
Operations | |
void | clan::ListViewColumnData::set_text (const std::string &text) |
Set text. More... | |
void | clan::ListViewColumnData::set_column_id (const std::string &column_id) |
Set column id. More... | |
Construction | |
clan::ListViewColumnHeader::ListViewColumnHeader () | |
clan::ListViewColumnHeader::~ListViewColumnHeader () | |
Operations | |
void | clan::ListViewColumnHeader::set_alignment (ListViewColumnHeader::TextAlignment align) |
Set alignment. More... | |
void | clan::ListViewColumnHeader::set_width (int width) |
Set width. More... | |
void | clan::ListViewColumnHeader::set_caption (const std::string &str) |
Set caption. More... | |
void | clan::ListViewColumnHeader::set_column_id (const std::string &str) |
Set column id. More... | |
Events | |
Callback_v1 < ListViewColumnHeader > & | clan::ListViewColumnHeader::func_size_changed () |
Implementation | |
class | clan::ListViewColumnHeader::ListView_Impl |
class | clan::ListViewColumnHeader::ListViewHeader |
class | clan::ListViewColumnHeader::ListViewHeader_Impl |
Construction | |
clan::ListViewHeader::ListViewHeader (GUIComponent *parent) | |
Constructs a ListViewHeader. More... | |
clan::ListViewHeader::~ListViewHeader () | |
Attributes | |
ListViewColumnHeader | clan::ListViewHeader::get_first_column () |
Get First column. More... | |
ListViewColumnHeader | clan::ListViewHeader::get_column (const std::string &column_id) |
Get column. More... | |
bool | clan::ListViewHeader::get_visible () const |
Get Visible. More... | |
virtual Size | clan::ListViewHeader::get_css_size () const |
Get Preferred size. More... | |
Operations | |
ListViewColumnHeader | clan::ListViewHeader::create_column (const std::string &column_id, const std::string &caption) |
Create column. More... | |
ListViewColumnHeader | clan::ListViewHeader::append (ListViewColumnHeader column) |
Append. More... | |
ListViewColumnHeader | clan::ListViewHeader::remove (const std::string &column_id) |
Remove. More... | |
ListViewColumnHeader | clan::ListViewHeader::insert_after (const std::string &column_id, ListViewColumnHeader new_column) |
Insert after. More... | |
ListViewColumnHeader | clan::ListViewHeader::insert_before (const std::string &column_id, ListViewColumnHeader new_column) |
Insert before. More... | |
void | clan::ListViewHeader::set_display_mode (ListViewDisplayMode mode) |
Set display mode. More... | |
Events | |
Callback_v1 < ListViewColumnHeader > & | clan::ListViewHeader::func_column_added () |
Callback_v1 < ListViewColumnHeader > & | clan::ListViewHeader::func_column_removed () |
Callback_v1 < ListViewColumnHeader > & | clan::ListViewHeader::func_column_size_changed () |
Implementation | |
class | clan::ListViewHeader::ListView_Impl |
Construction | |
clan::ListViewIcon::ListViewIcon () | |
clan::ListViewIcon::~ListViewIcon () | |
Attributes | |
Sprite | clan::ListViewIcon::get_sprite (ListViewDisplayMode mode) |
Get sprite. More... | |
PixelBuffer | clan::ListViewIcon::get_pixel_buffer (ListViewDisplayMode mode) |
Get pixel buffer. More... | |
Point | clan::ListViewIcon::get_offset (ListViewDisplayMode mode) |
Get offset. More... | |
bool | clan::ListViewIcon::is_scalable () const |
Is Scalable. More... | |
Operations | |
void | clan::ListViewIcon::set_sprite (const Sprite &sprite, ListViewDisplayMode mode) |
Set sprite. More... | |
void | clan::ListViewIcon::set_offset (const Point &offset, ListViewDisplayMode mode) |
void | clan::ListViewIcon::set_pixel_buffer (PixelBuffer &pbuf, ListViewDisplayMode mode) |
Set pixel buffer. More... | |
void | clan::ListViewIcon::draw (Canvas &canvas, const Rect &rect, ListViewDisplayMode mode, const Colorf &color) |
Draw. More... | |
void | clan::ListViewIcon::set_scalable (bool value) |
Set scalable. More... | |
Construction | |
clan::ListViewIconList::ListViewIconList () | |
clan::ListViewIconList::~ListViewIconList () | |
Attributes | |
ListViewIcon | clan::ListViewIconList::get_icon (int index) |
Get icon. More... | |
Colorf | clan::ListViewIconList::get_color () |
Get Color. More... | |
Colorf | clan::ListViewIconList::get_selected_color () |
Get Selected color. More... | |
Colorf | clan::ListViewIconList::get_color_overlay () |
Get Color overlay. More... | |
Colorf | clan::ListViewIconList::get_selected_color_overlay () |
Get Selected color overlay. More... | |
Operations | |
void | clan::ListViewIconList::clear () |
Clear the icon list. More... | |
void | clan::ListViewIconList::erase (int index) |
Erase the icon at the specified index. More... | |
void | clan::ListViewIconList::set_icon (int index, const ListViewIcon &icon) |
Set the icon at the specified index. More... | |
void | clan::ListViewIconList::set_color (const Colorf &color) |
Set color. More... | |
void | clan::ListViewIconList::set_selected_color (const Colorf &color) |
Set selected color. More... | |
void | clan::ListViewIconList::set_color_overlay (const Colorf &color) |
Set color overlay. More... | |
void | clan::ListViewIconList::set_selected_color_overlay (const Colorf &color) |
Set selected color overlay. More... | |
Construction | |
clan::ListViewItem::ListViewItem () | |
Construct a null instance. More... | |
clan::ListViewItem::~ListViewItem () | |
Attributes | |
bool | clan::ListViewItem::is_null () const |
Returns true if this object is invalid. More... | |
void | clan::ListViewItem::throw_if_null () const |
Throw an exception if this object is invalid. More... | |
bool | clan::ListViewItem::is_item () const |
Is Item. More... | |
ListViewColumnData | clan::ListViewItem::get_column (const std::string &column_id) |
Get column. More... | |
ListViewItem | clan::ListViewItem::get_parent () |
Get Parent. More... | |
ListViewItem | clan::ListViewItem::get_next_sibling () |
Get Next sibling. More... | |
ListViewItem | clan::ListViewItem::get_prev_sibling () |
Get Prev sibling. More... | |
ListViewItem | clan::ListViewItem::get_first_child () |
Get First child. More... | |
ListViewItem | clan::ListViewItem::get_last_child () |
Get Last child. More... | |
ListViewItem | clan::ListViewItem::get_document_item () |
Get Document item. More... | |
int | clan::ListViewItem::get_parent_count () |
Get Parent count. More... | |
int | clan::ListViewItem::get_child_count (bool recursive=false, bool recurse_only_into_open_items=false) |
Get child count. More... | |
bool | clan::ListViewItem::has_children () const |
Has children. More... | |
bool | clan::ListViewItem::is_open () const |
Is Open. More... | |
bool | clan::ListViewItem::is_selected () const |
Is Selected. More... | |
bool | clan::ListViewItem::is_editable () const |
Is Editable. More... | |
int | clan::ListViewItem::get_icon () const |
Get the item icon id. Defaults to 0 if unset. More... | |
int | clan::ListViewItem::get_id () const |
Get the item id. Defaults to 0 if unset. More... | |
std::shared_ptr < ListViewItemUserData > | clan::ListViewItem::get_userdata () const |
Get Userdata. More... | |
bool | clan::ListViewItem::operator== (ListViewItem &other) const |
bool | clan::ListViewItem::operator!= (ListViewItem &other) const |
std::vector< int > | clan::ListViewItem::get_overlay_icons () |
Operations | |
ListViewItem | clan::ListViewItem::append_child (ListViewItem &item) |
Append child. More... | |
ListViewItem | clan::ListViewItem::remove () |
Removes this item from the item tree. More... | |
void | clan::ListViewItem::remove_children () |
Remove all children of this item. More... | |
void | clan::ListViewItem::set_column_text (const std::string &column_id, const std::string &text) |
Set column text. More... | |
void | clan::ListViewItem::set_open (bool open) |
Set open. More... | |
void | clan::ListViewItem::set_icon (int icon_index) |
Set icon. More... | |
void | clan::ListViewItem::set_id (int id) |
Set the item id. Defaults to 0 if unset. More... | |
void | clan::ListViewItem::add_overlay_icon (int icon_index) |
Add overlay icon. More... | |
void | clan::ListViewItem::remove_overlay_icon (int icon_index) |
Remove overlay icon. More... | |
void | clan::ListViewItem::set_editable (bool editable) |
Set editable. More... | |
void | clan::ListViewItem::set_userdata (std::shared_ptr< ListViewItemUserData > ptr) |
Set userdata. More... | |
Events | |
Callback_v1< Rect > & | clan::ListViewItem::func_render_icon () |
Implementation | |
class | clan::ListViewItem::ListView |
class | clan::ListViewItem::ListView_Impl |
class | clan::ListViewItem::ListViewSelection |
class | clan::ListViewItem::ListViewLayout |
Construction | |
clan::ListViewSelectedItem::ListViewSelectedItem () | |
Contruct a null instance. More... | |
clan::ListViewSelectedItem::ListViewSelectedItem (const ListViewItem &item) | |
Constructs a ListViewSelectedItem. More... | |
Attributes | |
bool | clan::ListViewSelectedItem::is_null () const |
Returns true if this object is invalid. More... | |
void | clan::ListViewSelectedItem::throw_if_null () const |
Throw an exception if this object is invalid. More... | |
bool | clan::ListViewSelectedItem::is_item () const |
Is Item. More... | |
ListViewItem | clan::ListViewSelectedItem::get_item () |
Get Item. More... | |
ListViewSelectedItem | clan::ListViewSelectedItem::prev () |
Prev. More... | |
ListViewSelectedItem | clan::ListViewSelectedItem::get_next_sibling () |
Get Next sibling. More... | |
Implementation | |
class | clan::ListViewSelectedItem::ListViewSelection |
Construction | |
clan::ListViewSelection::ListViewSelection () | |
Attributes | |
ListViewSelectedItem | clan::ListViewSelection::get_first () |
Get First. More... | |
ListViewSelectedItem | clan::ListViewSelection::get_last () |
Get Last. More... | |
Operations | |
void | clan::ListViewSelection::append (const ListViewItem &item) |
Append. More... | |
void | clan::ListViewSelection::remove (const ListViewItem &item) |
Remove. More... | |
void | clan::ListViewSelection::clear () |
Clear. More... | |
Construction | |
clan::MenuBar::MenuBar (GUIComponent *parent) | |
Constructs a MenuBar. More... | |
virtual | clan::MenuBar::~MenuBar () |
Attributes | |
static MenuBar * | clan::MenuBar::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child MenuBar with the specified component ID name. More... | |
virtual Size | clan::MenuBar::get_css_size () const |
Get Preferred size. More... | |
PopupMenu | clan::MenuBar::get_menu (int index) const |
Get menu. More... | |
Operations | |
void | clan::MenuBar::clear () |
Clear. More... | |
int | clan::MenuBar::add_menu (const std::string &name, PopupMenu popup_menu) |
Add menu. More... | |
void | clan::MenuBar::remove_menu (int index) |
Remove menu. More... | |
Implementation | |
class | clan::MenuBar::MenuModalLoop |
Construction | |
clan::OpenFileDialog::OpenFileDialog (GUIComponent *owner) | |
Constructs an open file dialog. More... | |
virtual | clan::OpenFileDialog::~OpenFileDialog () |
Attributes | |
std::string | clan::OpenFileDialog::get_filename () const |
Get the full path of the file selected. More... | |
std::vector< std::string > | clan::OpenFileDialog::get_filenames () const |
Gets an array that contains one file name for each selected file. More... | |
Operations | |
void | clan::OpenFileDialog::set_multi_select (bool multiselect) |
Sets if multiple files can be selected or not. More... | |
void | clan::OpenFileDialog::set_filename (const std::string &filename) |
Sets a string containing the full path of the file selected. More... | |
void | clan::OpenFileDialog::add_filter (const std::string &filter_description, const std::string &filter_extension, bool is_default=false) |
Add a filter that determines what types of files are displayed. More... | |
void | clan::OpenFileDialog::clear_filters () |
Clears all filters. More... | |
void | clan::OpenFileDialog::set_filter_index (int filter_index) |
Sets a default filter, on a 0-based index. More... | |
void | clan::OpenFileDialog::set_initial_directory (const std::string &path) |
Sets the initial directory that is displayed. More... | |
void | clan::OpenFileDialog::set_title (const std::string &title) |
Sets the text that appears in the title bar. More... | |
bool | clan::OpenFileDialog::show () |
Shows the file dialog. More... | |
Construction | |
clan::PopupMenu::PopupMenu () | |
virtual | clan::PopupMenu::~PopupMenu () |
static PopupMenu | clan::PopupMenu::create_null_object () |
Create null object. More... | |
Attributes | |
bool | clan::PopupMenu::is_null () const |
Returns true if this object is invalid. More... | |
void | clan::PopupMenu::throw_if_null () const |
Throw an exception if this object is invalid. More... | |
std::string | clan::PopupMenu::get_class () const |
Get Class name. More... | |
PopupMenuItem | clan::PopupMenu::get_item (int id) |
Get item. More... | |
PopupMenuItem | clan::PopupMenu::get_item_at (int index) |
Get item at. More... | |
int | clan::PopupMenu::get_item_count () const |
Item count. More... | |
int | clan::PopupMenu::get_minimum_width () const |
Get Minimum width. More... | |
virtual Size | clan::PopupMenu::get_css_size () const |
Get Preferred size. More... | |
Events | |
Callback_v0 & | clan::PopupMenu::func_close () |
bool func_close() More... | |
Operations | |
void | clan::PopupMenu::start (GUIComponent *parent, const Point &pos) |
Start the popup menu for dialog (not modal) More... | |
PopupMenuItem | clan::PopupMenu::insert_item (const std::string &text, int id=-1, int index=-1) |
Insert item. More... | |
PopupMenuItem | clan::PopupMenu::insert_item_accel (const std::string &text, const std::string &accel_text="", int id=-1, int index=-1) |
Insert item accel. More... | |
PopupMenuItem | clan::PopupMenu::insert_separator (int index=-1) |
Insert separator. More... | |
void | clan::PopupMenu::set_minimum_width (int width_pixels) |
Set minimum width. More... | |
void | clan::PopupMenu::set_maximum_height (int height_pixels) |
Set maximum height. More... | |
void | clan::PopupMenu::set_class_name (const std::string &class_name) |
Set class name. More... | |
int | clan::PopupMenu::find_item (const std::string &text, bool case_sensitive=false) |
Returns the index of the item that matches the start or the string furthest. More... | |
void | clan::PopupMenu::clear () |
Delete all menu items. More... | |
Implementation | |
class | clan::PopupMenu::MenuBar |
class | clan::PopupMenu::MenuBar_Impl |
class | clan::PopupMenu::PopupMenuWindow |
Construction | |
clan::PopupMenuItem::PopupMenuItem () | |
Construct a null instance. More... | |
clan::PopupMenuItem::PopupMenuItem (int id) | |
Constructs a PopupMenuItem. More... | |
clan::PopupMenuItem::PopupMenuItem (const std::shared_ptr< PopupMenuItem_Impl > &impl) | |
Constructs a PopupMenuItem. More... | |
virtual | clan::PopupMenuItem::~PopupMenuItem () |
Attributes | |
std::string | clan::PopupMenuItem::get_text () const |
Get Text. More... | |
std::string | clan::PopupMenuItem::get_accelerator_text () const |
Get Accelerator text. More... | |
int | clan::PopupMenuItem::get_id () const |
Get Id. More... | |
bool | clan::PopupMenuItem::is_null () const |
Returns true if this object is invalid. More... | |
void | clan::PopupMenuItem::throw_if_null () const |
Throw an exception if this object is invalid. More... | |
bool | clan::PopupMenuItem::has_submenu () const |
Has submenu. More... | |
bool | clan::PopupMenuItem::is_disabled () const |
Is Disabled. More... | |
bool | clan::PopupMenuItem::is_separator () const |
Is Separator. More... | |
PopupMenu | clan::PopupMenuItem::get_submenu () |
Get Submenu. More... | |
bool | clan::PopupMenuItem::is_checkable () const |
Is Checkable. More... | |
bool | clan::PopupMenuItem::is_checked () const |
Is Checked. More... | |
PixelBuffer | clan::PopupMenuItem::get_icon () const |
Get Icon. More... | |
Events | |
Callback_v0 & | clan::PopupMenuItem::func_clicked () |
Func clicked. More... | |
Operations | |
void | clan::PopupMenuItem::set_id (int id) |
Set id. More... | |
void | clan::PopupMenuItem::set_text (const std::string &text) |
Set text. More... | |
void | clan::PopupMenuItem::set_icon (const PixelBuffer &image) |
Set icon. More... | |
void | clan::PopupMenuItem::set_submenu (PopupMenu &submenu) |
Set submenu. More... | |
void | clan::PopupMenuItem::set_enabled (bool enabled) |
Set enabled. More... | |
void | clan::PopupMenuItem::set_separator (bool separator) |
Set separator. More... | |
void | clan::PopupMenuItem::set_accelerator_text (const std::string &str) |
Set accelerator text. More... | |
void | clan::PopupMenuItem::set_checkable (bool checkable) |
Set checkable. More... | |
void | clan::PopupMenuItem::set_checked (bool checked) |
Set checked. More... | |
Construction | |
clan::ProgressBar::ProgressBar (GUIComponent *parent) | |
Constructs a ProgressBar. More... | |
virtual | clan::ProgressBar::~ProgressBar () |
Attributes | |
static ProgressBar * | clan::ProgressBar::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ProgressBar with the specified component ID name. More... | |
int | clan::ProgressBar::get_min () const |
Get Min. More... | |
int | clan::ProgressBar::get_max () const |
Get Max. More... | |
int | clan::ProgressBar::get_step_size () const |
Get Step size. More... | |
int | clan::ProgressBar::get_position () const |
Get Position. More... | |
bool | clan::ProgressBar::is_marquee_mode () const |
Is Marquee mode. More... | |
int | clan::ProgressBar::get_marquee_animation_speed () const |
Get Marquee animation speed. More... | |
int | clan::ProgressBar::get_marquee_box_width () const |
Get Marquee box width. More... | |
int | clan::ProgressBar::get_marquee_step_size () const |
Get Marquee step size. More... | |
Operations | |
void | clan::ProgressBar::set_min (int progress_min) |
Set min. More... | |
void | clan::ProgressBar::set_max (int progress_max) |
Set max. More... | |
void | clan::ProgressBar::set_range (int progress_min, int progress_max) |
Set range. More... | |
void | clan::ProgressBar::set_step_size (int size) |
Set step size. More... | |
void | clan::ProgressBar::set_position (int pos) |
Set position. More... | |
void | clan::ProgressBar::advance_position (int pos) |
Advance position. More... | |
void | clan::ProgressBar::step_position () |
Step position. More... | |
void | clan::ProgressBar::set_marquee_mode (bool enable) |
Set marquee mode. More... | |
void | clan::ProgressBar::set_marquee_animation_speed (int milliseconds) |
Set marquee animation speed. More... | |
void | clan::ProgressBar::set_marquee_box_width (int width) |
Set marquee box width. More... | |
void | clan::ProgressBar::set_marquee_step_size (int size) |
Set marquee step size. More... | |
Construction | |
clan::PushButton::PushButton (GUIComponent *parent) | |
Constructs a PushButton. More... | |
virtual | clan::PushButton::~PushButton () |
Attributes | |
enum | clan::PushButton::IconPosition { clan::PushButton::icon_left, clan::PushButton::icon_top, clan::PushButton::icon_right, clan::PushButton::icon_bottom } |
static PushButton * | clan::PushButton::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child PushButton with the specified component ID name. More... | |
bool | clan::PushButton::is_pushed () const |
Is Pushed. More... | |
bool | clan::PushButton::is_toggle () const |
Is Toggle. More... | |
Image | clan::PushButton::get_icon () const |
Get Icon. More... | |
IconPosition | clan::PushButton::get_icon_position () const |
Get Icon position. More... | |
const std::string & | clan::PushButton::get_text () const |
float | clan::PushButton::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::PushButton::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Operations | |
void | clan::PushButton::set_pushed (bool enable) |
Set pushed. More... | |
void | clan::PushButton::set_toggle (bool enable) |
Set toggle. More... | |
void | clan::PushButton::set_icon (const Image &icon) |
Set icon. More... | |
void | clan::PushButton::set_icon_position (IconPosition pos) |
Set icon position. More... | |
void | clan::PushButton::set_text (const std::string &text) |
Set text. More... | |
Events | |
Callback_v0 & | clan::PushButton::func_clicked () |
Func clicked. More... | |
Construction | |
clan::RadioButton::RadioButton (GUIComponent *parent) | |
Constructs a RadioButton. More... | |
virtual | clan::RadioButton::~RadioButton () |
Attributes | |
static RadioButton * | clan::RadioButton::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child RadioButton with the specified component ID name. More... | |
std::string | clan::RadioButton::get_text () const |
Get Text. More... | |
int | clan::RadioButton::get_radio_id () const |
Get Id. More... | |
bool | clan::RadioButton::is_selected () const |
Is Selected. More... | |
std::string | clan::RadioButton::get_group_name () const |
Get Group name. More... | |
float | clan::RadioButton::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::RadioButton::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Operations | |
void | clan::RadioButton::set_text (const std::string &text) |
Set text. More... | |
void | clan::RadioButton::set_radio_id (int id) |
Set id. More... | |
void | clan::RadioButton::set_selected (bool selected) |
Set selected. More... | |
void | clan::RadioButton::set_group_name (const std::string &str) |
Set group name. More... | |
Events | |
Callback_v0 & | clan::RadioButton::func_selected () |
Func selected. More... | |
Callback_v0 & | clan::RadioButton::func_unselected () |
Func unselected. More... | |
Callback_v1< RadioButton * > & | clan::RadioButton::func_group_selection_changed () |
Callback invoked when any of the radio buttons in the group is selected. More... | |
Implementation | |
class | clan::RadioButton::RadioButton_Impl |
Construction | |
clan::SaveFileDialog::SaveFileDialog (GUIComponent *owner) | |
Constructs a save file dialog. More... | |
virtual | clan::SaveFileDialog::~SaveFileDialog () |
Attributes | |
std::string | clan::SaveFileDialog::get_filename () const |
Get the full path of the file selected. More... | |
Operations | |
void | clan::SaveFileDialog::set_filename (const std::string &filename) |
Sets a string containing the full path of the file selected. More... | |
void | clan::SaveFileDialog::add_filter (const std::string &filter_description, const std::string &filter_extension, bool is_default=false) |
Add a filter that determines what types of files are displayed. More... | |
void | clan::SaveFileDialog::clear_filters () |
Clears all filters. More... | |
void | clan::SaveFileDialog::set_filter_index (int filter_index) |
Sets a default filter, on a 0-based index. More... | |
void | clan::SaveFileDialog::set_initial_directory (const std::string &path) |
Sets the initial directory that is displayed. More... | |
void | clan::SaveFileDialog::set_title (const std::string &title) |
Sets the text that appears in the title bar. More... | |
bool | clan::SaveFileDialog::show () |
Shows the file dialog. More... | |
Construction | |
clan::ScrollBar::ScrollBar (GUIComponent *parent) | |
Constructs a ScrollBar. More... | |
virtual | clan::ScrollBar::~ScrollBar () |
Attributes | |
static ScrollBar * | clan::ScrollBar::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ScrollBar with the specified component ID name. More... | |
bool | clan::ScrollBar::is_vertical () const |
Is Vertical. More... | |
bool | clan::ScrollBar::is_horizontal () const |
Is Horizontal. More... | |
int | clan::ScrollBar::get_min () const |
Get Min. More... | |
int | clan::ScrollBar::get_max () const |
Get Max. More... | |
int | clan::ScrollBar::get_line_step () const |
Get Line step. More... | |
int | clan::ScrollBar::get_page_step () const |
Get Page step. More... | |
int | clan::ScrollBar::get_position () const |
Get Position. More... | |
Operations | |
void | clan::ScrollBar::set_vertical () |
Set vertical. More... | |
void | clan::ScrollBar::set_horizontal () |
Set horizontal. More... | |
void | clan::ScrollBar::set_min (int scroll_min) |
Set min. More... | |
void | clan::ScrollBar::set_max (int scroll_max) |
Set max. More... | |
void | clan::ScrollBar::set_line_step (int step) |
Set line step. More... | |
void | clan::ScrollBar::set_page_step (int step) |
Set page step. More... | |
void | clan::ScrollBar::set_ranges (int scroll_min, int scroll_max, int line_step, int page_step) |
Set ranges. More... | |
void | clan::ScrollBar::calculate_ranges (int view_size, int total_size) |
Calculate the scrollbar range and page_step size for scrolling in pixels. More... | |
void | clan::ScrollBar::set_position (int pos) |
Set position. More... | |
float | clan::ScrollBar::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::ScrollBar::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Events | |
Callback_v0 & | clan::ScrollBar::func_scroll () |
Called for every type of scrollbar scrolling. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_min () |
Called when scrolled to minimum position. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_max () |
Called when scrolled to maximum position. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_line_decrement () |
Called when decrement button is clicked. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_line_increment () |
Called when increment button is clicked. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_page_decrement () |
Called when decrement track is clicked. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_page_increment () |
Called when increment track is clicked. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_thumb_release () |
Called when user released scroll thumb. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_thumb_track () |
Called as user moves the scroll thumb. More... | |
Callback_v0 & | clan::ScrollBar::func_scroll_end () |
Called when user releases the mouse after scrolling. More... | |
Construction | |
clan::Slider::Slider (GUIComponent *parent) | |
Constructs a Slider. More... | |
virtual | clan::Slider::~Slider () |
Attributes | |
static Slider * | clan::Slider::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child Slider with the specified component ID name. More... | |
bool | clan::Slider::is_vertical () const |
Is Vertical. More... | |
bool | clan::Slider::is_horizontal () const |
Is Horizontal. More... | |
int | clan::Slider::get_min () const |
Get Min. More... | |
int | clan::Slider::get_max () const |
Get Max. More... | |
int | clan::Slider::get_tick_count () const |
Get Tick count. More... | |
int | clan::Slider::get_page_step () const |
Get Page step. More... | |
int | clan::Slider::get_position () const |
Get Position. More... | |
bool | clan::Slider::get_lock_to_ticks () const |
Get Lock to ticks. More... | |
float | clan::Slider::get_preferred_content_width () |
Returns the preferred content width. More... | |
float | clan::Slider::get_preferred_content_height (float width) |
Returns the preferred content height for the specified content width. More... | |
Operations | |
void | clan::Slider::set_vertical (bool enable) |
Set vertical. More... | |
void | clan::Slider::set_horizontal (bool enable) |
Set horizontal. More... | |
void | clan::Slider::set_min (int slider_min) |
Set min. More... | |
void | clan::Slider::set_max (int slider_max) |
Set max. More... | |
void | clan::Slider::set_tick_count (int tick_count) |
Set tick count. More... | |
void | clan::Slider::set_page_step (int steps) |
Set page step. More... | |
void | clan::Slider::set_lock_to_ticks (bool lock) |
Set lock to ticks. More... | |
void | clan::Slider::set_ranges (int slider_min, int slider_max, unsigned int tick_count, int page_step) |
Set ranges. More... | |
void | clan::Slider::set_position (int pos) |
Set position. More... | |
Callbacks | |
Callback_v0 & | clan::Slider::func_value_changed () |
Emitted while the slider is being moved. More... | |
Callback_v0 & | clan::Slider::func_value_decremented () |
Emitted when the slider value is decremented (while moving or when clicking the track). More... | |
Callback_v0 & | clan::Slider::func_value_incremented () |
Emitted when the slider value is incremented. More... | |
Callback_v0 & | clan::Slider::func_slider_moved () |
Emitted after the slider has been moved. More... | |
Construction | |
clan::Spin::Spin (GUIComponent *parent) | |
Constructs a Spin. More... | |
virtual | clan::Spin::~Spin () |
Attributes | |
static Spin * | clan::Spin::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child Spin with the specified component ID name. More... | |
int | clan::Spin::get_value () const |
Get Value. More... | |
float | clan::Spin::get_value_float () const |
Get Value float. More... | |
int | clan::Spin::get_min () const |
Get Min. More... | |
int | clan::Spin::get_max () const |
Get Max. More... | |
float | clan::Spin::get_min_float () const |
Get Min float. More... | |
float | clan::Spin::get_max_float () const |
Get Max float. More... | |
bool | clan::Spin::get_floating_point_mode () const |
Get Floating point mode. More... | |
Operations | |
void | clan::Spin::set_value (int value) |
Set value. More... | |
void | clan::Spin::set_value_float (float value) |
Set value float. More... | |
void | clan::Spin::set_ranges (int min, int max) |
Set ranges. More... | |
void | clan::Spin::set_ranges_float (float min, float max) |
Set ranges float. More... | |
void | clan::Spin::set_step_size (int step_size) |
Set step size. More... | |
void | clan::Spin::set_step_size_float (float step_size) |
Set step size float. More... | |
void | clan::Spin::set_number_of_decimal_places (int decimal_places) |
Set number of decimal places. More... | |
void | clan::Spin::set_floating_point_mode (bool use_floating_point) |
Set floating point mode. More... | |
Events | |
Callback_v0 & | clan::Spin::func_value_changed () |
Func value changed. More... | |
Construction | |
clan::StatusBar::StatusBar (GUIComponent *parent) | |
Constructs a StatusBar. More... | |
virtual | clan::StatusBar::~StatusBar () |
Attributes | |
static StatusBar * | clan::StatusBar::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child StatusBar with the specified component ID name. More... | |
Callback_v0 & | clan::StatusBar::func_part_double_clicked (int id) |
Func part double clicked. More... | |
Operations | |
void | clan::StatusBar::set_status_text (const std::string &text) |
Set status text. More... | |
void | clan::StatusBar::set_part_text (int id, const std::string &text) |
Set part text. More... | |
void | clan::StatusBar::set_part_text (int id, const Image &icon, const std::string &text) |
Set part text. More... | |
void | clan::StatusBar::add_part (int id, int width, GUIComponent *component=0) |
Add part. More... | |
void | clan::StatusBar::show_part (int id, bool show=true) |
Show part. More... | |
void | clan::StatusBar::remove_part (int id) |
Remove part. More... | |
void | clan::StatusBar::show_size_grip (bool show=true) |
Show size grip. More... | |
Construction | |
clan::Tab::Tab (GUIComponent *parent) | |
Constructs a Tab. More... | |
virtual | clan::Tab::~Tab () |
Attributes | |
static Tab * | clan::Tab::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child Tab with the specified component ID name. More... | |
TabPage * | clan::Tab::get_page (int index) const |
Get page. More... | |
TabPage * | clan::Tab::get_page_by_id (int id) const |
Get page by id. More... | |
int | clan::Tab::get_current_page_index () const |
Get Current page index. More... | |
int | clan::Tab::get_current_page_id () const |
Get Current page id. More... | |
int | clan::Tab::get_page_count () const |
returns the number of pages in the tab. More... | |
Events | |
Callback_v1< TabPage * > & | clan::Tab::func_page_selected () |
void func_page_selected(Page *tab_page) More... | |
Operations | |
TabPage * | clan::Tab::add_page (const std::string &label, int id=0) |
Create new tab page. By default the ID of the tab is 0. More... | |
void | clan::Tab::show_page (int index) |
Show a page by its index. More... | |
void | clan::Tab::show_page_by_id (int id) |
Show a page by its ID. In case of non-unique ID's the first match will be shown. More... | |
void | clan::Tab::remove_page (int index) |
Remove a page by its index. More... | |
void | clan::Tab::remove_page_by_id (int id) |
Remove a page by its ID. More... | |
void | clan::Tab::set_label (int index, const std::string &new_label) |
Set the label of the component specified by index. More... | |
void | clan::Tab::set_label_by_id (int id, const std::string &new_label) |
Set the label of the component specified by index. More... | |
Construction | |
clan::TabPage::TabPage (GUIComponent *parent) | |
Constructs a TabPage. More... | |
virtual | clan::TabPage::~TabPage () |
Attributes | |
static TabPage * | clan::TabPage::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ToolTip with the specified component ID name. More... | |
int | clan::TabPage::get_id () const |
Get Id. More... | |
std::string | clan::TabPage::get_label () const |
Get Label. More... | |
Implementation | |
class | clan::TabPage::Tab |
Construction | |
clan::TextEdit::TextEdit (GUIComponent *parent) | |
Constructs a LineEdit. More... | |
virtual | clan::TextEdit::~TextEdit () |
Attributes | |
static TextEdit * | clan::TextEdit::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child TextEdit with the specified component ID name. More... | |
bool | clan::TextEdit::is_read_only () const |
Is Read only. More... | |
bool | clan::TextEdit::is_lowercase () const |
Is Lowercase. More... | |
bool | clan::TextEdit::is_uppercase () const |
Is Uppercase. More... | |
int | clan::TextEdit::get_max_length () const |
Get Max length. More... | |
std::string | clan::TextEdit::get_text () const |
Get Text. More... | |
int | clan::TextEdit::get_line_count () const |
Get line count. More... | |
std::string | clan::TextEdit::get_line_text (int line) const |
Get line text. More... | |
std::string | clan::TextEdit::get_selection () const |
Get Selection. More... | |
int | clan::TextEdit::get_selection_start () const |
Get Selection start. More... | |
int | clan::TextEdit::get_selection_length () const |
Get Selection length. More... | |
int | clan::TextEdit::get_cursor_pos () const |
Get Cursor pos. More... | |
int | clan::TextEdit::get_cursor_line_number () const |
Get Cursor line number. More... | |
int | clan::TextEdit::get_total_height () |
Returns the height required to display all lines with the current width of the control. More... | |
Operations | |
void | clan::TextEdit::set_select_all_on_focus_gain (bool enable) |
void | clan::TextEdit::select_all () |
Select all. More... | |
void | clan::TextEdit::set_read_only (bool enable=true) |
Set read only. More... | |
void | clan::TextEdit::set_lowercase (bool enable=true) |
Set lowercase. More... | |
void | clan::TextEdit::set_uppercase (bool enable=true) |
Set uppercase. More... | |
void | clan::TextEdit::set_max_length (int length) |
Set max length. More... | |
void | clan::TextEdit::set_text (const std::string &text) |
Set text. More... | |
void | clan::TextEdit::add_text (const std::string &text) |
Add text to end. More... | |
void | clan::TextEdit::set_selection (int pos, int length) |
Set selection. More... | |
void | clan::TextEdit::clear_selection () |
Clear selection. More... | |
void | clan::TextEdit::set_cursor_pos (int pos) |
Set cursor pos. More... | |
void | clan::TextEdit::delete_selected_text () |
Delete selected text. More... | |
void | clan::TextEdit::set_input_mask (const std::string &mask) |
Use mask to restrict accepted input. More... | |
void | clan::TextEdit::set_cursor_drawing_enabled (bool enable) |
Set cursor drawing enabled/disabled. More... | |
Events | |
Callback_v1< InputEvent & > & | clan::TextEdit::func_before_edit_changed () |
Callback_v1< InputEvent & > & | clan::TextEdit::func_after_edit_changed () |
Callback_v0 & | clan::TextEdit::func_selection_changed () |
Func selection changed. More... | |
Callback_v0 & | clan::TextEdit::func_focus_gained () |
Callback invoked after the lineedit gained focus. More... | |
Callback_v0 & | clan::TextEdit::func_focus_lost () |
Callback invoked when the lineedit is about to lose focus. More... | |
Callback_v0 & | clan::TextEdit::func_enter_pressed () |
Func enter pressed. More... | |
Construction | |
clan::ToolBar::ToolBar (GUIComponent *parent) | |
Constructs a ToolBar. More... | |
virtual | clan::ToolBar::~ToolBar () |
Attributes | |
static ToolBar * | clan::ToolBar::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ToolBar with the specified component ID name. More... | |
Size | clan::ToolBar::get_css_size () const |
Get Preferred size. More... | |
ToolBarItem | clan::ToolBar::get_item_by_id (int id) |
Get item by id. More... | |
ToolBarItem | clan::ToolBar::get_item (int index) |
Get item. More... | |
int | clan::ToolBar::get_item_index (int id) |
Get item index. More... | |
int | clan::ToolBar::get_item_count () const |
Get Item count. More... | |
Operations | |
ToolBarItem | clan::ToolBar::add_item (const Sprite &icon, int frame, const std::string &text, int id) |
Add item. More... | |
ToolBarItem | clan::ToolBar::insert_item (const Sprite &icon, int frame, const std::string &text, int id=-1, int index=-1) |
Insert item. More... | |
ToolBarItem | clan::ToolBar::insert_separator (int index=-1) |
Insert separator. More... | |
void | clan::ToolBar::delete_item (int index) |
Delete item. More... | |
void | clan::ToolBar::set_single_selection (bool value) |
Set single selection. More... | |
void | clan::ToolBar::clear_selection () |
Clear selection. More... | |
Events | |
Callback_v1< ToolBarItem > & | clan::ToolBar::func_item_clicked () |
Callback_v1< ToolBarItem > & | clan::ToolBar::func_item_selected () |
Callback_v1< ToolBarItem > & | clan::ToolBar::func_item_unselected () |
Callback_v2< Point, int > & | clan::ToolBar::func_mouse_right_up () |
Signal invoked when the toolbar is right-clicked. The parameters are click position and clicked item index. More... | |
Construction | |
clan::ToolBarItem::ToolBarItem () | |
Construct a null instance. More... | |
clan::ToolBarItem::ToolBarItem (int id) | |
Constructs a ToolBarItem. More... | |
clan::ToolBarItem::ToolBarItem (const std::shared_ptr< ToolBarItem_Impl > &impl) | |
Constructs a ToolBarItem. More... | |
virtual | clan::ToolBarItem::~ToolBarItem () |
Attributes | |
std::string | clan::ToolBarItem::get_text () const |
Get Text. More... | |
int | clan::ToolBarItem::get_id () const |
Get Id. More... | |
bool | clan::ToolBarItem::is_null () const |
Returns true if this object is invalid. More... | |
void | clan::ToolBarItem::throw_if_null () const |
Throw an exception if this object is invalid. More... | |
bool | clan::ToolBarItem::is_disabled () const |
Is Disabled. More... | |
bool | clan::ToolBarItem::is_toggling () const |
Is Toggling. More... | |
bool | clan::ToolBarItem::is_pressed () const |
Is Pressed. More... | |
Operations | |
void | clan::ToolBarItem::set_id (int id) |
Set id. More... | |
void | clan::ToolBarItem::set_text (const std::string &text) |
Set text. More... | |
void | clan::ToolBarItem::set_icon (const Sprite &image, int frame=0) |
Set icon. More... | |
void | clan::ToolBarItem::set_toggling (bool toggling) |
Controls if buttons stay down when pressed. More... | |
void | clan::ToolBarItem::set_pressed (bool value) |
Set pressed. More... | |
Implementation | |
class | clan::ToolBarItem::ToolBar |
class | clan::ToolBarItem::ToolBar_Impl |
Construction | |
clan::ToolTip::ToolTip (GUIManager gui_manager) | |
Constructs a ToolTip. More... | |
virtual | clan::ToolTip::~ToolTip () |
Attributes | |
static ToolTip * | clan::ToolTip::get_named_item (GUIComponent *reference_component, const std::string &id) |
Find the child ToolTip with the specified component ID name. More... | |
std::string | clan::ToolTip::get_text () const |
Get Text. More... | |
Operations | |
void | clan::ToolTip::set_text (const std::string &text) |
Set text. More... | |
void | clan::ToolTip::show (const Point &position) |
Show. More... | |
void | clan::ToolTip::show_delayed (const Point &position, int delay_time=750) |
Show delayed. More... | |
void | clan::ToolTip::hide () |
Hide. More... | |
enum clan::MessageBoxIcon |
clan::BrowseFolderDialog::BrowseFolderDialog | ( | GUIComponent * | owner | ) |
Constructs an browse folder dialog.
owner | = Owning GUIComponent |
clan::CheckBox::CheckBox | ( | GUIComponent * | parent | ) |
Constructs a CheckBox.
parent | = GUIComponent |
clan::ComboBox::ComboBox | ( | GUIComponent * | parent | ) |
Constructs a ComboBox.
parent | = GUIComponent |
clan::DragBox::DragBox | ( | GUIComponent * | parent | ) |
Constructs a DragBox.
parent | = GUIComponent |
clan::DragBox::DragBox | ( | GUIManager * | manager, |
const GUITopLevelDescription & | description | ||
) |
Constructs a DragBox.
manager | = GUIManager |
description | = GUITop Level Description |
clan::Frame::Frame | ( | GUIComponent * | parent | ) |
Constructs a Frame.
parent | = GUIComponent |
clan::GroupBox::GroupBox | ( | GUIComponent * | parent | ) |
Constructs a GroupBox.
parent | = GUIComponent |
clan::ImageView::ImageView | ( | GUIComponent * | parent | ) |
Constructs a ImageView.
parent | = GUIComponent |
clan::Label::Label | ( | GUIComponent * | parent | ) |
Constructs a Label.
parent | = GUIComponent |
clan::LineEdit::LineEdit | ( | GUIComponent * | parent | ) |
Constructs a LineEdit.
parent | = GUIComponent |
clan::ListView::ListView | ( | GUIComponent * | parent | ) |
Constructs a ListView.
parent | = GUIComponent |
clan::ListViewColumnData::ListViewColumnData | ( | ) |
clan::ListViewColumnHeader::ListViewColumnHeader | ( | ) |
clan::ListViewHeader::ListViewHeader | ( | GUIComponent * | parent | ) |
Constructs a ListViewHeader.
parent | = GUIComponent |
clan::ListViewIcon::ListViewIcon | ( | ) |
clan::ListViewIconList::ListViewIconList | ( | ) |
clan::ListViewItem::ListViewItem | ( | ) |
Construct a null instance.
clan::ListViewSelectedItem::ListViewSelectedItem | ( | ) |
Contruct a null instance.
clan::ListViewSelectedItem::ListViewSelectedItem | ( | const ListViewItem & | item | ) |
Constructs a ListViewSelectedItem.
item | = List View Item |
clan::ListViewSelection::ListViewSelection | ( | ) |
clan::MenuBar::MenuBar | ( | GUIComponent * | parent | ) |
Constructs a MenuBar.
parent | = GUIComponent |
clan::OpenFileDialog::OpenFileDialog | ( | GUIComponent * | owner | ) |
Constructs an open file dialog.
owner | = Owning GUIComponent |
clan::PopupMenu::PopupMenu | ( | ) |
clan::PopupMenuItem::PopupMenuItem | ( | ) |
Construct a null instance.
clan::PopupMenuItem::PopupMenuItem | ( | int | id | ) |
Constructs a PopupMenuItem.
id | = value |
clan::PopupMenuItem::PopupMenuItem | ( | const std::shared_ptr< PopupMenuItem_Impl > & | impl | ) |
Constructs a PopupMenuItem.
PopupMenuItem_Impl | = Shared Ptr |
clan::ProgressBar::ProgressBar | ( | GUIComponent * | parent | ) |
Constructs a ProgressBar.
parent | = GUIComponent |
clan::PushButton::PushButton | ( | GUIComponent * | parent | ) |
Constructs a PushButton.
parent | = GUIComponent |
clan::RadioButton::RadioButton | ( | GUIComponent * | parent | ) |
Constructs a RadioButton.
parent | = GUIComponent |
clan::SaveFileDialog::SaveFileDialog | ( | GUIComponent * | owner | ) |
Constructs a save file dialog.
owner | = Owning GUIComponent |
clan::ScrollBar::ScrollBar | ( | GUIComponent * | parent | ) |
Constructs a ScrollBar.
parent | = GUIComponent |
clan::Slider::Slider | ( | GUIComponent * | parent | ) |
Constructs a Slider.
parent | = GUIComponent |
clan::Spin::Spin | ( | GUIComponent * | parent | ) |
Constructs a Spin.
parent | = GUIComponent |
clan::StatusBar::StatusBar | ( | GUIComponent * | parent | ) |
Constructs a StatusBar.
parent | = GUIComponent |
clan::Tab::Tab | ( | GUIComponent * | parent | ) |
Constructs a Tab.
parent | = GUIComponent |
clan::TabPage::TabPage | ( | GUIComponent * | parent | ) |
Constructs a TabPage.
parent | = GUIComponent |
clan::TextEdit::TextEdit | ( | GUIComponent * | parent | ) |
Constructs a LineEdit.
parent | = GUIComponent |
clan::ToolBar::ToolBar | ( | GUIComponent * | parent | ) |
Constructs a ToolBar.
parent | = GUIComponent |
clan::ToolBarItem::ToolBarItem | ( | ) |
Construct a null instance.
clan::ToolBarItem::ToolBarItem | ( | int | id | ) |
Constructs a ToolBarItem.
id | = value |
clan::ToolBarItem::ToolBarItem | ( | const std::shared_ptr< ToolBarItem_Impl > & | impl | ) |
Constructs a ToolBarItem.
ToolBarItem_Impl | = Shared Ptr |
clan::ToolTip::ToolTip | ( | GUIManager | gui_manager | ) |
Constructs a ToolTip.
gui_manager | = GUIManager |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
clan::ListViewColumnData::~ListViewColumnData | ( | ) |
clan::ListViewColumnHeader::~ListViewColumnHeader | ( | ) |
clan::ListViewHeader::~ListViewHeader | ( | ) |
clan::ListViewIcon::~ListViewIcon | ( | ) |
clan::ListViewIconList::~ListViewIconList | ( | ) |
clan::ListViewItem::~ListViewItem | ( | ) |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void clan::SaveFileDialog::add_filter | ( | const std::string & | filter_description, |
const std::string & | filter_extension, | ||
bool | is_default = false |
||
) |
Add a filter that determines what types of files are displayed.
filter_description | = filter_description |
filter_extension | = filter_extension |
is_default | = is_default |
void clan::OpenFileDialog::add_filter | ( | const std::string & | filter_description, |
const std::string & | filter_extension, | ||
bool | is_default = false |
||
) |
Add a filter that determines what types of files are displayed.
filter_description | = filter_description |
filter_extension | = filter_extension |
is_default | = is_default |
ToolBarItem clan::ToolBar::add_item | ( | const Sprite & | icon, |
int | frame, | ||
const std::string & | text, | ||
int | id | ||
) |
int clan::MenuBar::add_menu | ( | const std::string & | name, |
PopupMenu | popup_menu | ||
) |
Add menu.
name | = String Ref |
popup_menu | = Popup Menu |
void clan::ListViewItem::add_overlay_icon | ( | int | icon_index | ) |
Add overlay icon.
icon_index | = value |
TabPage* clan::Tab::add_page | ( | const std::string & | label, |
int | id = 0 |
||
) |
Create new tab page. By default the ID of the tab is 0.
void clan::StatusBar::add_part | ( | int | id, |
int | width, | ||
GUIComponent * | component = 0 |
||
) |
Add part.
id | = value |
width | = value |
component | = GUIComponent |
void clan::TextEdit::add_text | ( | const std::string & | text | ) |
Add text to end.
text | = String Ref |
void clan::ProgressBar::advance_position | ( | int | pos | ) |
Advance position.
pos | = value |
ListViewColumnHeader clan::ListViewHeader::append | ( | ListViewColumnHeader | column | ) |
Append.
column | = List View Column Header |
void clan::ListViewSelection::append | ( | const ListViewItem & | item | ) |
Append.
item | = List View Item |
ListViewItem clan::ListViewItem::append_child | ( | ListViewItem & | item | ) |
Append child.
item | = List View Item |
void clan::ScrollBar::calculate_ranges | ( | int | view_size, |
int | total_size | ||
) |
Calculate the scrollbar range and page_step size for scrolling in pixels.
This is equal to calling set_min(0), set_max(total_size-view_size) and set_page_step((total_size-scroll_max)*scroll_max)/(total_size)). The range of the scrollbar will be the amount of pixels the view needs to be moved to show all the data.
void clan::MenuBar::clear | ( | ) |
Clear.
void clan::ListViewIconList::clear | ( | ) |
Clear the icon list.
void clan::ListViewSelection::clear | ( | ) |
Clear.
void clan::PopupMenu::clear | ( | ) |
Delete all menu items.
class_name | = String Ref |
void clan::ListView::clear | ( | ) |
Remove all items.
void clan::SaveFileDialog::clear_filters | ( | ) |
Clears all filters.
void clan::OpenFileDialog::clear_filters | ( | ) |
Clears all filters.
void clan::ToolBar::clear_selection | ( | ) |
Clear selection.
void clan::TextEdit::clear_selection | ( | ) |
Clear selection.
void clan::ListView::clear_selection | ( | ) |
Unselect all selected items.
void clan::LineEdit::clear_selection | ( | ) |
Clear selection.
ListViewColumnHeader clan::ListViewHeader::create_column | ( | const std::string & | column_id, |
const std::string & | caption | ||
) |
Create column.
column_id | = String Ref |
caption | = String Ref |
ListViewItem clan::ListView::create_item | ( | ) |
Create item.
|
static |
Create null object.
void clan::ToolBar::delete_item | ( | int | index | ) |
Delete item.
index | = value |
void clan::TextEdit::delete_selected_text | ( | ) |
Delete selected text.
void clan::LineEdit::delete_selected_text | ( | ) |
Delete selected text.
void clan::ListViewIcon::draw | ( | Canvas & | canvas, |
const Rect & | rect, | ||
ListViewDisplayMode | mode, | ||
const Colorf & | color | ||
) |
void clan::ListViewIconList::erase | ( | int | index | ) |
Erase the icon at the specified index.
ListViewItem clan::ListView::find | ( | const std::string & | col_id, |
const std::string & | str, | ||
bool | recursive = true |
||
) |
Returns a ListViewItem with the string 'str' in the column 'col_id' or a NULL item if none found.
ListViewItem clan::ListView::find | ( | int | id, |
bool | recursive = true |
||
) |
Returns the first ListViewItem with the specified ID, or a NULL item if none found.
ListViewItem clan::ListView::find | ( | std::shared_ptr< ListViewItemUserData > | userdata, |
bool | recursive = true |
||
) |
Returns a ListViewItem with the userdata 'ptr', or a NULL item if none found.
int clan::PopupMenu::find_item | ( | const std::string & | text, |
bool | case_sensitive = false |
||
) |
Returns the index of the item that matches the start or the string furthest.
Callback_v0& clan::ComboBox::func_after_edit_changed | ( | ) |
Func after edit changed.
Callback_v1<InputEvent &>& clan::TextEdit::func_after_edit_changed | ( | ) |
Callback_v1<InputEvent &>& clan::LineEdit::func_after_edit_changed | ( | ) |
Callback_v0& clan::ComboBox::func_before_edit_changed | ( | ) |
Func before edit changed.
Callback_v1<InputEvent &>& clan::TextEdit::func_before_edit_changed | ( | ) |
Callback_v1<InputEvent &>& clan::LineEdit::func_before_edit_changed | ( | ) |
Callback_v0& clan::ListView::func_begin_drag | ( | ) |
Callback called when the user begins a drag'n'drop action.
Callback_v0& clan::CheckBox::func_checked | ( | ) |
Func checked.
Callback_v0& clan::PopupMenuItem::func_clicked | ( | ) |
Func clicked.
Callback_v0& clan::PushButton::func_clicked | ( | ) |
Func clicked.
Callback_v0& clan::PopupMenu::func_close | ( | ) |
bool func_close()
Callback_v1<ListViewColumnHeader>& clan::ListViewHeader::func_column_added | ( | ) |
Callback_v1<ListViewColumnHeader>& clan::ListViewHeader::func_column_removed | ( | ) |
Callback_v1<ListViewColumnHeader>& clan::ListViewHeader::func_column_size_changed | ( | ) |
Callback_v0& clan::ComboBox::func_dropdown_closed | ( | ) |
Func dropdown closed.
Callback_v0& clan::ComboBox::func_dropdown_opened | ( | ) |
Func dropdown opened.
Callback_v0& clan::ComboBox::func_enter_pressed | ( | ) |
Func enter pressed.
Callback_v0& clan::TextEdit::func_enter_pressed | ( | ) |
Func enter pressed.
Callback_v0& clan::LineEdit::func_enter_pressed | ( | ) |
Func enter pressed.
Callback_v0& clan::TextEdit::func_focus_gained | ( | ) |
Callback invoked after the lineedit gained focus.
Callback_v0& clan::LineEdit::func_focus_gained | ( | ) |
Callback invoked after the lineedit gained focus.
Callback_v0& clan::TextEdit::func_focus_lost | ( | ) |
Callback invoked when the lineedit is about to lose focus.
Callback_v0& clan::LineEdit::func_focus_lost | ( | ) |
Callback invoked when the lineedit is about to lose focus.
Callback_v1<RadioButton*>& clan::RadioButton::func_group_selection_changed | ( | ) |
Callback invoked when any of the radio buttons in the group is selected.
The newly selected radio button is passed as parameter to the callback.
Callback_v0& clan::CheckBox::func_indeterminated | ( | ) |
Func indeterminated.
Callback_v1<ToolBarItem>& clan::ToolBar::func_item_clicked | ( | ) |
Callback_v1<const ListViewItem &>& clan::ListView::func_item_closed | ( | ) |
Callback called when an item node is closed.
Callback_v1<const ListViewItem &>& clan::ListView::func_item_doubleclick | ( | ) |
Invoked on double clicking a listview item.
Callback_2<bool, ListViewItem, std::string &>& clan::ListView::func_item_edited | ( | ) |
Invoked when enter is pressed in the ListViews built-in LineEdit control. The caller may change the passed string. Returning false from the callback cancels the edit.
Callback_v1<const ListViewItem &>& clan::ListView::func_item_opened | ( | ) |
Callback called when an item node is opened.
Callback_v1<ToolBarItem>& clan::ToolBar::func_item_selected | ( | ) |
Callback_v1<int>& clan::ComboBox::func_item_selected | ( | ) |
Func after item selected.
Callback_v1<ToolBarItem>& clan::ToolBar::func_item_unselected | ( | ) |
Callback_v1<InputEvent&>& clan::ListView::func_key_pressed | ( | ) |
Callback_v1<InputEvent&>& clan::ListView::func_key_released | ( | ) |
Callback_v2<Point, int>& clan::ToolBar::func_mouse_right_up | ( | ) |
Signal invoked when the toolbar is right-clicked. The parameters are click position and clicked item index.
Callback_v1<Point>& clan::ListView::func_mouse_right_up | ( | ) |
Callback called when the right mouse button is released (a click). Use this callback for listview context menus. Click position sent as parameter.
Callback_v1<TabPage*>& clan::Tab::func_page_selected | ( | ) |
void func_page_selected(Page *tab_page)
Callback_v0& clan::StatusBar::func_part_double_clicked | ( | int | id | ) |
Callback_v1<Rect>& clan::ListViewItem::func_render_icon | ( | ) |
Callback_v0& clan::ScrollBar::func_scroll | ( | ) |
Called for every type of scrollbar scrolling.
Callback_v0& clan::ScrollBar::func_scroll_end | ( | ) |
Called when user releases the mouse after scrolling.
Callback_v0& clan::ScrollBar::func_scroll_line_decrement | ( | ) |
Called when decrement button is clicked.
Callback_v0& clan::ScrollBar::func_scroll_line_increment | ( | ) |
Called when increment button is clicked.
Callback_v0& clan::ScrollBar::func_scroll_max | ( | ) |
Called when scrolled to maximum position.
Callback_v0& clan::ScrollBar::func_scroll_min | ( | ) |
Called when scrolled to minimum position.
Callback_v0& clan::ScrollBar::func_scroll_page_decrement | ( | ) |
Called when decrement track is clicked.
Callback_v0& clan::ScrollBar::func_scroll_page_increment | ( | ) |
Called when increment track is clicked.
Callback_v0& clan::ScrollBar::func_scroll_thumb_release | ( | ) |
Called when user released scroll thumb.
Callback_v0& clan::ScrollBar::func_scroll_thumb_track | ( | ) |
Called as user moves the scroll thumb.
Callback_v0& clan::RadioButton::func_selected | ( | ) |
Func selected.
Callback_v1<int>& clan::ComboBox::func_selection_changed | ( | ) |
Func after selection changed.
Callback_v1<ListViewSelection>& clan::ListView::func_selection_changed | ( | ) |
Selected items are returned as children of the returned item.
Callback_v0& clan::TextEdit::func_selection_changed | ( | ) |
Func selection changed.
Callback_v0& clan::LineEdit::func_selection_changed | ( | ) |
Func selection changed.
Callback_v1<ListViewColumnHeader>& clan::ListViewColumnHeader::func_size_changed | ( | ) |
Callback_v0& clan::Slider::func_slider_moved | ( | ) |
Emitted after the slider has been moved.
Callback_v0& clan::CheckBox::func_state_changed | ( | ) |
Func state changed.
Callback_v0& clan::CheckBox::func_unchecked | ( | ) |
Func unchecked.
Callback_v0& clan::RadioButton::func_unselected | ( | ) |
Func unselected.
Callback_v0& clan::Spin::func_value_changed | ( | ) |
Func value changed.
Callback_v0& clan::Slider::func_value_changed | ( | ) |
Emitted while the slider is being moved.
Callback_v0& clan::Slider::func_value_decremented | ( | ) |
Emitted when the slider value is decremented (while moving or when clicking the track).
Invoked while moving or when clicking the track.
Callback_v0& clan::Slider::func_value_incremented | ( | ) |
Emitted when the slider value is incremented.
Invoked while moving or when clicking the track.
std::string clan::PopupMenuItem::get_accelerator_text | ( | ) | const |
Get Accelerator text.
Alignment clan::Label::get_alignment | ( | ) | const |
Get Alignment.
Alignment clan::LineEdit::get_alignment | ( | ) | const |
Get Alignment.
ListViewColumnHeader::TextAlignment clan::ListViewColumnHeader::get_alignment | ( | ) |
std::string clan::ListViewColumnHeader::get_caption | ( | ) | const |
Get Caption.
int clan::ListViewItem::get_child_count | ( | bool | recursive = false , |
bool | recurse_only_into_open_items = false |
||
) |
Get child count.
recursive | = bool |
recurse_only_into_open_items | = bool |
std::string clan::PopupMenu::get_class | ( | ) | const |
Get Class name.
Colorf clan::ListViewIconList::get_color | ( | ) |
Get Color.
Colorf clan::ListViewIconList::get_color_overlay | ( | ) |
Get Color overlay.
ListViewColumnHeader clan::ListViewHeader::get_column | ( | const std::string & | column_id | ) |
Get column.
column_id | = String Ref |
ListViewColumnData clan::ListViewItem::get_column | ( | const std::string & | column_id | ) |
Get column.
column_id | = String Ref |
std::string clan::ListViewColumnData::get_column_id | ( | ) | const |
Get Column id.
std::string clan::ListViewColumnHeader::get_column_id | ( | ) | const |
Get Column id.
|
virtual |
Get Preferred size.
Size clan::ToolBar::get_css_size | ( | ) | const |
Get Preferred size.
|
virtual |
Get Preferred size.
|
virtual |
Get Preferred size.
Size clan::ListView::get_css_size | ( | ) | const |
Returns the preferred size of the component, as defined in its CSS file.
int clan::Tab::get_current_page_id | ( | ) | const |
Get Current page id.
int clan::Tab::get_current_page_index | ( | ) | const |
Get Current page index.
int clan::TextEdit::get_cursor_line_number | ( | ) | const |
Get Cursor line number.
int clan::TextEdit::get_cursor_pos | ( | ) | const |
Get Cursor pos.
int clan::LineEdit::get_cursor_pos | ( | ) | const |
Get Cursor pos.
ListViewDisplayMode clan::ListView::get_display_mode | ( | ) | const |
Get Display mode.
ListViewItem clan::ListView::get_document_item | ( | ) | const |
Get Document item.
ListViewItem clan::ListViewItem::get_document_item | ( | ) |
Get Document item.
int clan::ComboBox::get_dropdown_height | ( | ) | const |
Get Dropdown height.
std::string clan::SaveFileDialog::get_filename | ( | ) | const |
Get the full path of the file selected.
std::string clan::OpenFileDialog::get_filename | ( | ) | const |
Get the full path of the file selected.
If multiple files are selected, this returns the first file.
std::vector<std::string> clan::OpenFileDialog::get_filenames | ( | ) | const |
Gets an array that contains one file name for each selected file.
ListViewSelectedItem clan::ListViewSelection::get_first | ( | ) |
Get First.
ListViewItem clan::ListViewItem::get_first_child | ( | ) |
Get First child.
ListViewColumnHeader clan::ListViewHeader::get_first_column | ( | ) |
Get First column.
bool clan::Spin::get_floating_point_mode | ( | ) | const |
Get Floating point mode.
std::string clan::RadioButton::get_group_name | ( | ) | const |
Get Group name.
ListViewHeader* clan::ListView::get_header | ( | ) | const |
Get Header.
Sprite clan::Frame::get_header_icon | ( | ) | const |
Get Header icon.
std::string clan::Frame::get_header_text | ( | ) | const |
Get Header text.
ListViewIcon clan::ListViewIconList::get_icon | ( | int | index | ) |
Get icon.
index | = value |
Image clan::PushButton::get_icon | ( | ) | const |
Get Icon.
PixelBuffer clan::PopupMenuItem::get_icon | ( | ) | const |
Get Icon.
int clan::ListViewItem::get_icon | ( | ) | const |
Get the item icon id. Defaults to 0 if unset.
ListViewIconList clan::ListView::get_icon_list | ( | ) | const |
Get Icon list.
IconPosition clan::PushButton::get_icon_position | ( | ) | const |
Get Icon position.
int clan::TabPage::get_id | ( | ) | const |
Get Id.
int clan::ToolBarItem::get_id | ( | ) | const |
Get Id.
int clan::PopupMenuItem::get_id | ( | ) | const |
Get Id.
int clan::ListViewItem::get_id | ( | ) | const |
Get the item id. Defaults to 0 if unset.
Image clan::ImageView::get_image | ( | ) | const |
Get Image.
ListViewItem clan::ListViewSelectedItem::get_item | ( | ) |
Get Item.
PopupMenuItem clan::PopupMenu::get_item | ( | int | id | ) |
Get item.
id | = value |
ToolBarItem clan::ToolBar::get_item | ( | int | index | ) |
Get item.
index | = value |
std::string clan::ComboBox::get_item | ( | int | index | ) | const |
Get item.
index | = value |
PopupMenuItem clan::PopupMenu::get_item_at | ( | int | index | ) |
Get item at.
index | = value |
ToolBarItem clan::ToolBar::get_item_by_id | ( | int | id | ) |
Get item by id.
id | = value |
int clan::PopupMenu::get_item_count | ( | ) | const |
Item count.
int clan::ToolBar::get_item_count | ( | ) | const |
Get Item count.
int clan::ToolBar::get_item_index | ( | int | id | ) |
Get item index.
id | = value |
std::string clan::TabPage::get_label | ( | ) | const |
Get Label.
ListViewSelectedItem clan::ListViewSelection::get_last | ( | ) |
Get Last.
ListViewItem clan::ListViewItem::get_last_child | ( | ) |
Get Last child.
int clan::TextEdit::get_line_count | ( | ) | const |
Get line count.
int clan::ScrollBar::get_line_step | ( | ) | const |
Get Line step.
std::string clan::TextEdit::get_line_text | ( | int | line | ) | const |
Get line text.
bool clan::Slider::get_lock_to_ticks | ( | ) | const |
Get Lock to ticks.
int clan::ProgressBar::get_marquee_animation_speed | ( | ) | const |
Get Marquee animation speed.
int clan::ProgressBar::get_marquee_box_width | ( | ) | const |
Get Marquee box width.
int clan::ProgressBar::get_marquee_step_size | ( | ) | const |
Get Marquee step size.
int clan::ProgressBar::get_max | ( | ) | const |
Get Max.
int clan::ScrollBar::get_max | ( | ) | const |
Get Max.
int clan::Slider::get_max | ( | ) | const |
Get Max.
int clan::Spin::get_max | ( | ) | const |
Get Max.
float clan::Spin::get_max_float | ( | ) | const |
Get Max float.
int clan::TextEdit::get_max_length | ( | ) | const |
Get Max length.
int clan::LineEdit::get_max_length | ( | ) | const |
Get Max length.
PopupMenu clan::MenuBar::get_menu | ( | int | index | ) | const |
Get menu.
index | = value |
int clan::ProgressBar::get_min | ( | ) | const |
Get Min.
int clan::ScrollBar::get_min | ( | ) | const |
Get Min.
int clan::Slider::get_min | ( | ) | const |
Get Min.
int clan::Spin::get_min | ( | ) | const |
Get Min.
float clan::Spin::get_min_float | ( | ) | const |
Get Min float.
int clan::PopupMenu::get_minimum_width | ( | ) | const |
Get Minimum width.
|
static |
Find the child TextEdit with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child CheckBox with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ToolTip with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child RadioButton with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ScrollBar with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child Slider with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ToolTip with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child MenuBar with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ImageView with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ProgressBar with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child Frame with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child Spin with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child StatusBar with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ComboBox with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child GroupBox with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child Tab with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ToolBar with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child PushButton with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child DragBox with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child Label with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child LineEdit with the specified component ID name.
If it was not found, an exception is thrown.
|
static |
Find the child ListView with the specified component ID name.
If it was not found, an exception is thrown.
ListViewSelectedItem clan::ListViewSelectedItem::get_next_sibling | ( | ) |
Get Next sibling.
ListViewItem clan::ListViewItem::get_next_sibling | ( | ) |
Get Next sibling.
ListViewColumnHeader clan::ListViewColumnHeader::get_next_sibling | ( | ) |
Get Next sibling.
Point clan::ListViewIcon::get_offset | ( | ListViewDisplayMode | mode | ) |
std::vector<int> clan::ListViewItem::get_overlay_icons | ( | ) |
TabPage* clan::Tab::get_page | ( | int | index | ) | const |
TabPage* clan::Tab::get_page_by_id | ( | int | id | ) | const |
int clan::Tab::get_page_count | ( | ) | const |
returns the number of pages in the tab.
int clan::ScrollBar::get_page_step | ( | ) | const |
Get Page step.
int clan::Slider::get_page_step | ( | ) | const |
Get Page step.
ListViewItem clan::ListViewItem::get_parent | ( | ) |
Get Parent.
int clan::ListViewItem::get_parent_count | ( | ) |
Get Parent count.
PixelBuffer clan::ListViewIcon::get_pixel_buffer | ( | ListViewDisplayMode | mode | ) |
int clan::ProgressBar::get_position | ( | ) | const |
Get Position.
int clan::Slider::get_position | ( | ) | const |
Get Position.
int clan::ScrollBar::get_position | ( | ) | const |
Get Position.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content height for the specified content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
|
virtual |
Returns the preferred content width.
Override this function if the component has non-css content.
Reimplemented from clan::GUIComponent.
ListViewItem clan::ListViewItem::get_prev_sibling | ( | ) |
Get Prev sibling.
ListViewColumnHeader clan::ListViewColumnHeader::get_prev_sibling | ( | ) |
Get Prev sibling.
int clan::RadioButton::get_radio_id | ( | ) | const |
Get Id.
int clan::ListView::get_scroll_max_position | ( | ) |
Get maximal listview scrollbar position.
int clan::ListView::get_scroll_position | ( | ) |
Get current listview scrollbar position.
bool clan::ListView::get_select_whole_row | ( | ) | const |
Get Select whole row.
Colorf clan::ListViewIconList::get_selected_color | ( | ) |
Get Selected color.
Colorf clan::ListViewIconList::get_selected_color_overlay | ( | ) |
Get Selected color overlay.
int clan::ComboBox::get_selected_item | ( | ) | const |
Get Selected item.
ListViewItem clan::ListView::get_selected_item | ( | ) |
Returns the currently selected item in single selection mode.
If multiple items are selected, the item selected first (chronological order) is returned. If no element is selected, an empty ListViewItem is returned.
ListViewSelection clan::ListView::get_selected_items | ( | ) | const |
Returns a container class holding the selected items in a linked list structure.
std::string clan::BrowseFolderDialog::get_selected_path | ( | ) | const |
Get the full path of the directory selected.
std::string clan::TextEdit::get_selection | ( | ) | const |
Get Selection.
std::string clan::LineEdit::get_selection | ( | ) | const |
Get Selection.
int clan::TextEdit::get_selection_length | ( | ) | const |
Get Selection length.
int clan::LineEdit::get_selection_length | ( | ) | const |
Get Selection length.
int clan::TextEdit::get_selection_start | ( | ) | const |
Get Selection start.
int clan::LineEdit::get_selection_start | ( | ) | const |
Get Selection start.
Sprite clan::ListViewIcon::get_sprite | ( | ListViewDisplayMode | mode | ) |
Sprite clan::ImageView::get_sprite | ( | ) | const |
Get Sprite.
int clan::ProgressBar::get_step_size | ( | ) | const |
Get Step size.
PopupMenu clan::PopupMenuItem::get_submenu | ( | ) |
Get Submenu.
std::string clan::ListViewColumnData::get_text | ( | ) | const |
Get Text.
std::string clan::ToolTip::get_text | ( | ) | const |
Get Text.
std::string clan::RadioButton::get_text | ( | ) | const |
Get Text.
std::string clan::ToolBarItem::get_text | ( | ) | const |
Get Text.
std::string clan::PopupMenuItem::get_text | ( | ) | const |
Get Text.
const std::string& clan::CheckBox::get_text | ( | ) | const |
const std::string& clan::Label::get_text | ( | ) | const |
Get Text.
std::string clan::ComboBox::get_text | ( | ) | const |
Get Text.
std::string clan::TextEdit::get_text | ( | ) | const |
Get Text.
const std::string& clan::PushButton::get_text | ( | ) | const |
std::string clan::LineEdit::get_text | ( | ) | const |
Get Text.
float clan::LineEdit::get_text_float | ( | ) | const |
Returns the text converted to float.
int clan::LineEdit::get_text_int | ( | ) | const |
Returns the text converted to integer.
Size clan::LineEdit::get_text_size | ( | ) |
Returns the size (pixels) of the text in the lineedit, or of the string given as parameter.
Size clan::LineEdit::get_text_size | ( | const std::string & | str | ) |
int clan::Slider::get_tick_count | ( | ) | const |
Get Tick count.
int clan::TextEdit::get_total_height | ( | ) |
Returns the height required to display all lines with the current width of the control.
int clan::ListViewColumnHeader::get_used_width | ( | ) |
Returns the used width (last column expanded to the rest of the list view)
std::shared_ptr<ListViewItemUserData> clan::ListViewItem::get_userdata | ( | ) | const |
Get Userdata.
int clan::Spin::get_value | ( | ) | const |
Get Value.
float clan::Spin::get_value_float | ( | ) | const |
Get Value float.
bool clan::ListViewHeader::get_visible | ( | ) | const |
Get Visible.
int clan::ListViewColumnHeader::get_width | ( | ) |
Get Width.
bool clan::ListViewItem::has_children | ( | ) | const |
Has children.
bool clan::PopupMenuItem::has_submenu | ( | ) | const |
Has submenu.
void clan::ToolTip::hide | ( | ) |
Hide.
ListViewColumnHeader clan::ListViewHeader::insert_after | ( | const std::string & | column_id, |
ListViewColumnHeader | new_column | ||
) |
Insert after.
column_id | = String Ref |
new_column | = List View Column Header |
ListViewColumnHeader clan::ListViewHeader::insert_before | ( | const std::string & | column_id, |
ListViewColumnHeader | new_column | ||
) |
Insert before.
column_id | = String Ref |
new_column | = List View Column Header |
PopupMenuItem clan::PopupMenu::insert_item | ( | const std::string & | text, |
int | id = -1 , |
||
int | index = -1 |
||
) |
Insert item.
text | = String Ref |
id | = value |
index | = value |
ToolBarItem clan::ToolBar::insert_item | ( | const Sprite & | icon, |
int | frame, | ||
const std::string & | text, | ||
int | id = -1 , |
||
int | index = -1 |
||
) |
Insert item.
icon | = Sprite |
frame | = value |
text | = String Ref |
id | = value |
index | = value |
PopupMenuItem clan::PopupMenu::insert_item_accel | ( | const std::string & | text, |
const std::string & | accel_text = "" , |
||
int | id = -1 , |
||
int | index = -1 |
||
) |
Insert item accel.
text | = String Ref |
accel_text | = String Ref |
ToolBarItem clan::ToolBar::insert_separator | ( | int | index = -1 | ) |
Insert separator.
index | = value |
PopupMenuItem clan::PopupMenu::insert_separator | ( | int | index = -1 | ) |
Insert separator.
index | = value |
bool clan::CheckBox::is_3state | ( | ) | const |
Is 3state.
bool clan::PopupMenuItem::is_checkable | ( | ) | const |
Is Checkable.
bool clan::CheckBox::is_checked | ( | ) | const |
Is Checked.
bool clan::PopupMenuItem::is_checked | ( | ) | const |
Is Checked.
bool clan::ToolBarItem::is_disabled | ( | ) | const |
Is Disabled.
bool clan::PopupMenuItem::is_disabled | ( | ) | const |
Is Disabled.
bool clan::ComboBox::is_editable | ( | ) | const |
Is Editable.
bool clan::ListViewItem::is_editable | ( | ) | const |
Is Editable.
bool clan::ScrollBar::is_horizontal | ( | ) | const |
Is Horizontal.
bool clan::Slider::is_horizontal | ( | ) | const |
Is Horizontal.
bool clan::CheckBox::is_indeterminated | ( | ) | const |
Is Indeterminated.
bool clan::ListViewSelectedItem::is_item | ( | ) | const |
Is Item.
bool clan::ListViewItem::is_item | ( | ) | const |
Is Item.
bool clan::TextEdit::is_lowercase | ( | ) | const |
Is Lowercase.
bool clan::LineEdit::is_lowercase | ( | ) | const |
Is Lowercase.
bool clan::ProgressBar::is_marquee_mode | ( | ) | const |
Is Marquee mode.
|
inline |
Returns true if this object is invalid.
|
inline |
Returns true if this object is invalid.
|
inline |
Returns true if this object is invalid.
|
inline |
Returns true if this object is invalid.
|
inline |
Returns true if this object is invalid.
|
inline |
Returns true if this object is invalid.
bool clan::ListViewItem::is_open | ( | ) | const |
Is Open.
bool clan::LineEdit::is_password_mode | ( | ) | const |
Is Password mode.
bool clan::ToolBarItem::is_pressed | ( | ) | const |
Is Pressed.
bool clan::PushButton::is_pushed | ( | ) | const |
Is Pushed.
bool clan::TextEdit::is_read_only | ( | ) | const |
Is Read only.
bool clan::LineEdit::is_read_only | ( | ) | const |
Is Read only.
bool clan::ListViewIcon::is_scalable | ( | ) | const |
Is Scalable.
bool clan::RadioButton::is_selected | ( | ) | const |
Is Selected.
bool clan::ListViewItem::is_selected | ( | ) | const |
Is Selected.
bool clan::PopupMenuItem::is_separator | ( | ) | const |
Is Separator.
bool clan::PushButton::is_toggle | ( | ) | const |
Is Toggle.
bool clan::ToolBarItem::is_toggling | ( | ) | const |
Is Toggling.
bool clan::TextEdit::is_uppercase | ( | ) | const |
Is Uppercase.
bool clan::LineEdit::is_uppercase | ( | ) | const |
Is Uppercase.
bool clan::Slider::is_vertical | ( | ) | const |
Is Vertical.
bool clan::ScrollBar::is_vertical | ( | ) | const |
Is Vertical.
MessageBoxResult clan::message_box | ( | GUIComponent * | owner, |
std::string | title, | ||
std::string | detail_text, | ||
MessageBoxButtons | buttons, | ||
MessageBoxIcon | icon | ||
) |
MessageBoxResult clan::message_box | ( | GUIManager * | gui_manager, |
std::string | title, | ||
std::string | detail_text, | ||
MessageBoxButtons | buttons, | ||
MessageBoxIcon | icon | ||
) |
void clan::ListView::on_process_message | ( | std::shared_ptr< GUIMessage > & | msg | ) |
On process message.
msg | = GUIMessage |
bool clan::ListViewItem::operator!= | ( | ListViewItem & | other | ) | const |
bool clan::ListViewItem::operator== | ( | ListViewItem & | other | ) | const |
ListViewSelectedItem clan::ListViewSelectedItem::prev | ( | ) |
Prev.
ListViewColumnHeader clan::ListViewHeader::remove | ( | const std::string & | column_id | ) |
Remove.
column_id | = String Ref |
void clan::ListViewSelection::remove | ( | const ListViewItem & | item | ) |
Remove.
item | = List View Item |
ListViewItem clan::ListViewItem::remove | ( | ) |
Removes this item from the item tree.
void clan::ListViewItem::remove_children | ( | ) |
Remove all children of this item.
void clan::MenuBar::remove_menu | ( | int | index | ) |
Remove menu.
index | = value |
void clan::ListViewItem::remove_overlay_icon | ( | int | icon_index | ) |
Remove overlay icon.
icon_index | = value |
void clan::Tab::remove_page | ( | int | index | ) |
Remove a page by its index.
void clan::Tab::remove_page_by_id | ( | int | id | ) |
Remove a page by its ID.
In case of non-unique ID's the first match will be shown. The pointer returned by add_page() will become invalid.
void clan::StatusBar::remove_part | ( | int | id | ) |
Remove part.
id | = value |
void clan::LineEdit::resize_to_fit | ( | int | max_width | ) |
Resize the components width so that its whole text becomes visible.
void clan::TextEdit::select_all | ( | ) |
Select all.
void clan::LineEdit::select_all | ( | ) |
Select all.
void clan::CheckBox::set_3state | ( | bool | enable | ) |
Set 3state.
enable | = bool |
void clan::PopupMenuItem::set_accelerator_text | ( | const std::string & | str | ) |
Set accelerator text.
str | = String Ref |
void clan::ListViewColumnHeader::set_alignment | ( | ListViewColumnHeader::TextAlignment | align | ) |
Set alignment.
TextAlignment | = List View Column Header |
void clan::Label::set_alignment | ( | Alignment | alignment | ) |
Set alignment.
alignment | = Alignment |
void clan::LineEdit::set_alignment | ( | Alignment | alignment | ) |
Set alignment.
alignment | = Alignment |
void clan::ListViewColumnHeader::set_caption | ( | const std::string & | str | ) |
Set caption.
str | = String Ref |
void clan::PopupMenuItem::set_checkable | ( | bool | checkable | ) |
Set checkable.
checkable | = bool |
void clan::CheckBox::set_checked | ( | bool | enable | ) |
Set checked.
enable | = bool |
void clan::PopupMenuItem::set_checked | ( | bool | checked | ) |
Set checked.
checked | = bool |
void clan::PopupMenu::set_class_name | ( | const std::string & | class_name | ) |
Set class name.
class_name | = String Ref |
void clan::ListViewIconList::set_color_overlay | ( | const Colorf & | color | ) |
Set color overlay.
color | = Colorf |
void clan::ListViewColumnData::set_column_id | ( | const std::string & | column_id | ) |
Set column id.
column_id | = String Ref |
void clan::ListViewColumnHeader::set_column_id | ( | const std::string & | str | ) |
Set column id.
str | = String Ref |
void clan::ListViewItem::set_column_text | ( | const std::string & | column_id, |
const std::string & | text | ||
) |
Set column text.
column_id | = String Ref |
text | = String Ref |
void clan::TextEdit::set_cursor_drawing_enabled | ( | bool | enable | ) |
Set cursor drawing enabled/disabled.
void clan::LineEdit::set_cursor_drawing_enabled | ( | bool | enable | ) |
Set cursor drawing enabled/disabled.
void clan::TextEdit::set_cursor_pos | ( | int | pos | ) |
Set cursor pos.
pos | = value |
void clan::LineEdit::set_cursor_pos | ( | int | pos | ) |
Set cursor pos.
pos | = value |
void clan::LineEdit::set_decimal_character | ( | const std::string & | decimal_char | ) |
Set decimal character.
decimal_char | = String Ref |
void clan::ListViewHeader::set_display_mode | ( | ListViewDisplayMode | mode | ) |
Set display mode.
mode | = List View Display Mode |
void clan::ListView::set_display_mode | ( | ListViewDisplayMode | mode | ) |
Set display mode.
mode | = List View Display Mode |
void clan::ComboBox::set_dropdown_height | ( | int | height | ) |
Set dropdown height.
height | = value |
void clan::ComboBox::set_dropdown_minimum_width | ( | int | min_width | ) |
Set dropdown minimum width.
min_width | = value |
void clan::ComboBox::set_editable | ( | bool | enable = true | ) |
Set editable.
enable | = bool |
void clan::ListViewItem::set_editable | ( | bool | editable | ) |
Set editable.
editable | = bool |
void clan::PopupMenuItem::set_enabled | ( | bool | enabled | ) |
Set enabled.
enabled | = bool |
void clan::SaveFileDialog::set_filename | ( | const std::string & | filename | ) |
Sets a string containing the full path of the file selected.
filename | = filename |
void clan::OpenFileDialog::set_filename | ( | const std::string & | filename | ) |
Sets a string containing the full path of the file selected.
filename | = filename |
void clan::SaveFileDialog::set_filter_index | ( | int | filter_index | ) |
Sets a default filter, on a 0-based index.
filter_index | = filter_index |
void clan::OpenFileDialog::set_filter_index | ( | int | filter_index | ) |
Sets a default filter, on a 0-based index.
filter_index | = filter_index |
void clan::Spin::set_floating_point_mode | ( | bool | use_floating_point | ) |
Set floating point mode.
use_floating_point | = bool |
void clan::RadioButton::set_group_name | ( | const std::string & | str | ) |
Set group name.
str | = String Ref |
void clan::Frame::set_header_text | ( | const std::string & | text | ) |
Set header text.
text | = String Ref |
void clan::ScrollBar::set_horizontal | ( | ) |
Set horizontal.
void clan::Slider::set_horizontal | ( | bool | enable | ) |
Set horizontal.
enable | = bool |
void clan::ListViewIconList::set_icon | ( | int | index, |
const ListViewIcon & | icon | ||
) |
Set the icon at the specified index.
void clan::ToolBarItem::set_icon | ( | const Sprite & | image, |
int | frame = 0 |
||
) |
Set icon.
image | = Sprite |
frame | = value |
void clan::PopupMenuItem::set_icon | ( | const PixelBuffer & | image | ) |
Set icon.
image | = Pixel Buffer |
void clan::ListViewItem::set_icon | ( | int | icon_index | ) |
Set icon.
icon_index | = value |
void clan::PushButton::set_icon_position | ( | IconPosition | pos | ) |
Set icon position.
pos | = Icon Position |
void clan::ToolBarItem::set_id | ( | int | id | ) |
Set id.
id | = value |
void clan::PopupMenuItem::set_id | ( | int | id | ) |
Set id.
id | = value |
void clan::ListViewItem::set_id | ( | int | id | ) |
Set the item id. Defaults to 0 if unset.
void clan::ImageView::set_image | ( | const PixelBuffer & | image | ) |
Set image.
image | = Pixel Buffer |
void clan::CheckBox::set_indeterminated | ( | ) |
Set indeterminated.
void clan::BrowseFolderDialog::set_initial_directory | ( | const std::string & | path | ) |
Sets the initial directory that is displayed.
path | = path |
void clan::SaveFileDialog::set_initial_directory | ( | const std::string & | path | ) |
Sets the initial directory that is displayed.
path | = path |
void clan::OpenFileDialog::set_initial_directory | ( | const std::string & | path | ) |
Sets the initial directory that is displayed.
path | = path |
void clan::TextEdit::set_input_mask | ( | const std::string & | mask | ) |
Use mask to restrict accepted input.
void clan::LineEdit::set_input_mask | ( | const std::string & | mask | ) |
Use mask to restrict accepted input.
void clan::Tab::set_label | ( | int | index, |
const std::string & | new_label | ||
) |
Set the label of the component specified by index.
void clan::Tab::set_label_by_id | ( | int | id, |
const std::string & | new_label | ||
) |
Set the label of the component specified by index.
void clan::ScrollBar::set_line_step | ( | int | step | ) |
Set line step.
step | = value |
void clan::Slider::set_lock_to_ticks | ( | bool | lock | ) |
Set lock to ticks.
lock | = bool |
void clan::TextEdit::set_lowercase | ( | bool | enable = true | ) |
Set lowercase.
enable | = bool |
void clan::LineEdit::set_lowercase | ( | bool | enable = true | ) |
Set lowercase.
enable | = bool |
void clan::ProgressBar::set_marquee_animation_speed | ( | int | milliseconds | ) |
Set marquee animation speed.
milliseconds | = value |
void clan::ProgressBar::set_marquee_box_width | ( | int | width | ) |
Set marquee box width.
width | = value |
void clan::ProgressBar::set_marquee_mode | ( | bool | enable | ) |
Set marquee mode.
enable | = bool |
void clan::ProgressBar::set_marquee_step_size | ( | int | size | ) |
Set marquee step size.
size | = value |
void clan::ScrollBar::set_max | ( | int | scroll_max | ) |
Set max.
scroll_max | = value |
void clan::ProgressBar::set_max | ( | int | progress_max | ) |
Set max.
progress_max | = value |
void clan::Slider::set_max | ( | int | slider_max | ) |
Set max.
slider_max | = value |
void clan::TextEdit::set_max_length | ( | int | length | ) |
Set max length.
length | = value |
void clan::LineEdit::set_max_length | ( | int | length | ) |
Set max length.
length | = value |
void clan::PopupMenu::set_maximum_height | ( | int | height_pixels | ) |
Set maximum height.
height_pixels | = value |
void clan::ScrollBar::set_min | ( | int | scroll_min | ) |
Set min.
scroll_min | = value |
void clan::ProgressBar::set_min | ( | int | progress_min | ) |
Set min.
progress_min | = value |
void clan::Slider::set_min | ( | int | slider_min | ) |
Set min.
slider_min | = value |
void clan::PopupMenu::set_minimum_width | ( | int | width_pixels | ) |
Set minimum width.
width_pixels | = value |
void clan::OpenFileDialog::set_multi_select | ( | bool | multiselect | ) |
Sets if multiple files can be selected or not.
multiselect | = When true, multiple items can be selected. |
void clan::ListView::set_multi_select | ( | bool | value | ) |
When true, multiple items can be selected.
void clan::Spin::set_number_of_decimal_places | ( | int | decimal_places | ) |
Set number of decimal places.
decimal_places | = value |
void clan::LineEdit::set_numeric_mode | ( | bool | enable = true , |
bool | decimals = false |
||
) |
Set numeric mode.
enable | = bool |
decimals | = bool |
void clan::ListViewIcon::set_offset | ( | const Point & | offset, |
ListViewDisplayMode | mode | ||
) |
void clan::ListViewItem::set_open | ( | bool | open | ) |
Set open.
open | = bool |
void clan::ScrollBar::set_page_step | ( | int | step | ) |
Set page step.
step | = value |
void clan::Slider::set_page_step | ( | int | steps | ) |
Set page step.
steps | = value |
void clan::StatusBar::set_part_text | ( | int | id, |
const std::string & | text | ||
) |
Set part text.
id | = value |
text | = String Ref |
void clan::StatusBar::set_part_text | ( | int | id, |
const Image & | icon, | ||
const std::string & | text | ||
) |
Set part text.
id | = value |
icon | = Image |
text | = String Ref |
void clan::LineEdit::set_password_mode | ( | bool | enable = true | ) |
Set password mode.
enable | = bool |
void clan::ListViewIcon::set_pixel_buffer | ( | PixelBuffer & | pbuf, |
ListViewDisplayMode | mode | ||
) |
Set pixel buffer.
pbuf | = Pixel Buffer |
mode | = List View Display Mode |
void clan::ComboBox::set_popup_menu | ( | PopupMenu & | menu | ) |
Set popup menu.
menu | = Popup Menu |
void clan::ProgressBar::set_position | ( | int | pos | ) |
Set position.
pos | = value |
void clan::ScrollBar::set_position | ( | int | pos | ) |
Set position.
pos | = value |
void clan::Slider::set_position | ( | int | pos | ) |
Set position.
pos | = value |
void clan::ToolBarItem::set_pressed | ( | bool | value | ) |
Set pressed.
value | = bool |
void clan::PushButton::set_pushed | ( | bool | enable | ) |
Set pushed.
enable | = bool |
void clan::RadioButton::set_radio_id | ( | int | id | ) |
Set id.
id | = value |
void clan::ProgressBar::set_range | ( | int | progress_min, |
int | progress_max | ||
) |
Set range.
progress_min | = value |
progress_max | = value |
void clan::Spin::set_ranges | ( | int | min, |
int | max | ||
) |
Set ranges.
min | = value |
max | = value |
void clan::ScrollBar::set_ranges | ( | int | scroll_min, |
int | scroll_max, | ||
int | line_step, | ||
int | page_step | ||
) |
Set ranges.
scroll_min | = value |
scroll_max | = value |
line_step | = value |
page_step | = value |
void clan::Slider::set_ranges | ( | int | slider_min, |
int | slider_max, | ||
unsigned int | tick_count, | ||
int | page_step | ||
) |
Set ranges.
slider_min | = value |
slider_max | = value |
tick_count | = value |
page_step | = value |
void clan::Spin::set_ranges_float | ( | float | min, |
float | max | ||
) |
Set ranges float.
min | = value |
max | = value |
void clan::TextEdit::set_read_only | ( | bool | enable = true | ) |
Set read only.
enable | = bool |
void clan::LineEdit::set_read_only | ( | bool | enable = true | ) |
Set read only.
enable | = bool |
void clan::ListViewIcon::set_scalable | ( | bool | value | ) |
Set scalable.
value | = bool |
void clan::ImageView::set_scale | ( | float | x, |
float | y | ||
) |
Set scale.
x | = value |
y | = value |
void clan::ImageView::set_scale_to_fit | ( | bool | enable | ) |
Set scale to fit.
void clan::ListView::set_scroll_position | ( | int | pos | ) |
Set listview scrollbar position.
pos | = int |
void clan::TextEdit::set_select_all_on_focus_gain | ( | bool | enable | ) |
void clan::LineEdit::set_select_all_on_focus_gain | ( | bool | enable | ) |
void clan::ListView::set_select_whole_row | ( | bool | value | ) |
When true, the whole row is drawn selected, as opposed to only the first column.
void clan::RadioButton::set_selected | ( | bool | selected | ) |
Set selected.
selected | = bool |
void clan::ListView::set_selected | ( | ListViewItem & | item, |
bool | selected = true |
||
) |
Set selected.
item | = List View Item |
selected | = bool |
void clan::ListViewIconList::set_selected_color | ( | const Colorf & | color | ) |
Set selected color.
color | = Colorf |
void clan::ListViewIconList::set_selected_color_overlay | ( | const Colorf & | color | ) |
Set selected color overlay.
color | = Colorf |
void clan::ComboBox::set_selected_item | ( | int | index | ) |
Set selected item.
index | = value |
void clan::TextEdit::set_selection | ( | int | pos, |
int | length | ||
) |
Set selection.
pos | = value |
length | = value |
void clan::LineEdit::set_selection | ( | int | pos, |
int | length | ||
) |
Set selection.
pos | = value |
length | = value |
void clan::PopupMenuItem::set_separator | ( | bool | separator | ) |
Set separator.
separator | = bool |
void clan::ToolBar::set_single_selection | ( | bool | value | ) |
Set single selection.
value | = bool |
void clan::ListViewIcon::set_sprite | ( | const Sprite & | sprite, |
ListViewDisplayMode | mode | ||
) |
void clan::StatusBar::set_status_text | ( | const std::string & | text | ) |
Set status text.
text | = String Ref |
void clan::Spin::set_step_size | ( | int | step_size | ) |
Set step size.
step_size | = value |
void clan::ProgressBar::set_step_size | ( | int | size | ) |
Set step size.
size | = value |
void clan::Spin::set_step_size_float | ( | float | step_size | ) |
Set step size float.
step_size | = value |
void clan::PopupMenuItem::set_submenu | ( | PopupMenu & | submenu | ) |
Set submenu.
submenu | = Popup Menu |
void clan::ListViewColumnData::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::ToolTip::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::CheckBox::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::RadioButton::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::Label::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::ComboBox::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::ToolBarItem::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::PushButton::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::PopupMenuItem::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::TextEdit::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::LineEdit::set_text | ( | const std::string & | text | ) |
Set text.
text | = String Ref |
void clan::LineEdit::set_text | ( | int | number | ) |
Set text.
number | = value |
void clan::LineEdit::set_text | ( | float | number, |
int | num_decimal_places = 6 |
||
) |
Set text.
number | = value |
num_decimal_places | = number of decimal places |
void clan::Label::set_text_color | ( | const Colorf | color | ) |
void clan::Slider::set_tick_count | ( | int | tick_count | ) |
Set tick count.
tick_count | = value |
void clan::BrowseFolderDialog::set_title | ( | const std::string & | title | ) |
Sets the text that appears in the title bar.
title | = title |
void clan::SaveFileDialog::set_title | ( | const std::string & | title | ) |
Sets the text that appears in the title bar.
title | = title |
void clan::OpenFileDialog::set_title | ( | const std::string & | title | ) |
Sets the text that appears in the title bar.
title | = title |
void clan::PushButton::set_toggle | ( | bool | enable | ) |
Set toggle.
enable | = bool |
void clan::ToolBarItem::set_toggling | ( | bool | toggling | ) |
Controls if buttons stay down when pressed.
void clan::TextEdit::set_uppercase | ( | bool | enable = true | ) |
Set uppercase.
enable | = bool |
void clan::LineEdit::set_uppercase | ( | bool | enable = true | ) |
Set uppercase.
enable | = bool |
void clan::ListViewItem::set_userdata | ( | std::shared_ptr< ListViewItemUserData > | ptr | ) |
Set userdata.
ptr | = Unknown Shared Ptr |
void clan::Spin::set_value | ( | int | value | ) |
Set value.
value | = value |
void clan::Spin::set_value_float | ( | float | value | ) |
Set value float.
value | = value |
void clan::ScrollBar::set_vertical | ( | ) |
Set vertical.
void clan::Slider::set_vertical | ( | bool | enable | ) |
Set vertical.
enable | = bool |
void clan::ListViewColumnHeader::set_width | ( | int | width | ) |
Set width.
width | = value |
bool clan::BrowseFolderDialog::show | ( | ) |
Shows the file dialog.
bool clan::SaveFileDialog::show | ( | ) |
Shows the file dialog.
bool clan::OpenFileDialog::show | ( | ) |
Shows the file dialog.
void clan::ToolTip::show_delayed | ( | const Point & | position, |
int | delay_time = 750 |
||
) |
Show delayed.
position | = Point |
delay_time | = value |
void clan::ListView::show_detail_icon | ( | bool | enable = true | ) |
Set if icons are shown in the detail display mode.
void clan::ListView::show_detail_opener | ( | bool | enable = true | ) |
Set if node opener is shown in the detail display mode.
void clan::Tab::show_page | ( | int | index | ) |
Show a page by its index.
void clan::Tab::show_page_by_id | ( | int | id | ) |
Show a page by its ID. In case of non-unique ID's the first match will be shown.
void clan::StatusBar::show_part | ( | int | id, |
bool | show = true |
||
) |
Show part.
id | = value |
show | = bool |
void clan::StatusBar::show_size_grip | ( | bool | show = true | ) |
Show size grip.
show | = bool |
void clan::PopupMenu::start | ( | GUIComponent * | parent, |
const Point & | pos | ||
) |
Start the popup menu for dialog (not modal)
void clan::ProgressBar::step_position | ( | ) |
Step position.
void clan::ListViewSelectedItem::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
void clan::ListViewColumnHeader::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
void clan::PopupMenu::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
void clan::ListViewItem::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
void clan::ToolBarItem::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
void clan::PopupMenuItem::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |