mirror of https://github.com/bsnes-emu/bsnes.git
37 lines
1.0 KiB
C++
37 lines
1.0 KiB
C++
#if defined(Hiro_TreeView)
|
|
|
|
namespace hiro {
|
|
|
|
struct pTreeView : pWidget {
|
|
Declare(TreeView, Widget)
|
|
|
|
auto append(sTreeViewItem item) -> void;
|
|
auto collapse() -> void;
|
|
auto expand() -> void;
|
|
auto remove(sTreeViewItem item) -> void;
|
|
auto reset() -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setCheckable(bool checkable) -> void;
|
|
auto setForegroundColor(Color color) -> void;
|
|
|
|
auto _activatePath(GtkTreePath* gtkPath) -> void;
|
|
auto _buttonEvent(GdkEventButton* gdkEvent) -> signed;
|
|
auto _togglePath(string path) -> void;
|
|
auto _updateSelected() -> void;
|
|
|
|
GtkScrolledWindow* gtkScrolledWindow = nullptr;
|
|
GtkWidget* gtkWidgetChild = nullptr;
|
|
GtkTreeStore* gtkTreeStore = nullptr;
|
|
GtkTreeModel* gtkTreeModel = nullptr;
|
|
GtkTreeSelection* gtkTreeSelection = nullptr;
|
|
GtkTreeView* gtkTreeView = nullptr;
|
|
GtkTreeViewColumn* gtkTreeViewColumn = nullptr;
|
|
GtkCellRenderer* gtkCellToggle = nullptr;
|
|
GtkCellRenderer* gtkCellPixbuf = nullptr;
|
|
GtkCellRenderer* gtkCellText = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|