mirror of https://github.com/bsnes-emu/bsnes.git
32 lines
782 B
C++
Executable File
32 lines
782 B
C++
Executable File
#if defined(Hiro_TreeView)
|
|
|
|
namespace hiro {
|
|
|
|
struct pTreeViewItem : pObject {
|
|
Declare(TreeViewItem, Object)
|
|
|
|
auto append(sTreeViewItem item) -> void;
|
|
auto remove(sTreeViewItem item) -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setCheckable(bool checkable) -> void;
|
|
auto setChecked(bool checked) -> void;
|
|
auto setExpanded(bool expanded) -> void;
|
|
auto setFocused() -> void;
|
|
auto setForegroundColor(Color color) -> void;
|
|
auto setIcon(const image& icon) -> void;
|
|
auto setSelected() -> void;
|
|
auto setText(const string& text) -> void;
|
|
|
|
auto _minimumWidth(uint depth = 0) -> uint;
|
|
auto _parentItem() -> pTreeViewItem*;
|
|
auto _parentWidget() -> pTreeView*;
|
|
auto _updateWidth() -> void;
|
|
|
|
GtkTreeIter gtkIter;
|
|
uint _width = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|