bsnes/hiro/gtk/widget/tree-view.hpp
byuu 18d2ab6435 v109.4
Rename hiro::Property to hiro::Attribute
Disable XChaCha20 CSPRNG on Android for now due to compilation issues
Add macOS IOKit joypad support [Sintendo]
2019-09-17 03:37:03 +09:00

42 lines
1.4 KiB
C++
Executable file

#if defined(Hiro_TreeView)
namespace hiro {
struct pTreeView : pWidget {
Declare(TreeView, Widget)
auto append(sTreeViewItem item) -> void;
auto remove(sTreeViewItem item) -> void;
auto setActivation(Mouse::Click activation) -> void;
auto setBackgroundColor(Color color) -> void;
auto setFocused() -> void override;
auto setForegroundColor(Color color) -> void;
auto setGeometry(Geometry geometry) -> void;
auto _activatePath(GtkTreePath* gtkPath) -> void;
auto _buttonEvent(GdkEventButton* gdkEvent) -> signed;
auto _doDataFunc(GtkTreeViewColumn* column, GtkCellRenderer* renderer, GtkTreeIter* iter) -> void;
auto _togglePath(string path) -> void;
auto _updateScrollBars() -> void;
auto _updateSelected() -> void;
auto _width(sTreeViewItem item, uint depth = 0) -> uint;
auto _widthRecursive() -> uint;
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;
GtkEntry* gtkEntry = nullptr;
bool suppressActivate = false;
bool suppressChange = false;
};
}
#endif