35 #include "../api_gui.h"
38 class CL_ListViewItem_Impl;
70 void throw_if_null()
const;
117 int get_parent_count();
125 int get_child_count(
bool recursive=
false,
bool recurse_only_into_open_items=
false);
130 bool has_children()
const;
135 bool is_open()
const;
140 bool is_selected()
const;
145 bool is_editable()
const;
148 int get_icon()
const;
156 CL_SharedPtr<CL_ListViewItemUserData> get_userdata()
const;
162 std::vector<int> get_overlay_icons();
181 void remove_children();
192 void set_open(
bool open);
197 void set_icon(
int icon_index);
205 void add_overlay_icon(
int icon_index);
210 void remove_overlay_icon(
int icon_index);
215 void set_editable(
bool editable);
220 void set_userdata(CL_SharedPtr<CL_ListViewItemUserData> ptr);
240 CL_SharedPtr<CL_ListViewItem_Impl> impl;
243 friend class CL_ListView_Impl;
245 friend class CL_ListViewLayout;