mirror of https://github.com/bsnes-emu/bsnes.git
37 lines
1.0 KiB
C++
37 lines
1.0 KiB
C++
#if defined(Hiro_ListView)
|
|
|
|
namespace hiro {
|
|
|
|
struct pListViewColumn : pObject {
|
|
Declare(ListViewColumn, Object)
|
|
|
|
auto setActive() -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setEditable(bool editable) -> void;
|
|
auto setFont(const string& font) -> void override;
|
|
auto setForegroundColor(Color color) -> void;
|
|
auto setHorizontalAlignment(double alignment) -> void;
|
|
auto setIcon(const image& icon) -> void;
|
|
auto setResizable(bool resizable) -> void;
|
|
auto setSortable(bool sortable) -> void;
|
|
auto setText(const string& text) -> void;
|
|
auto setVerticalAlignment(double alignment) -> void;
|
|
auto setVisible(bool visible) -> void override;
|
|
auto setWidth(signed width) -> void;
|
|
|
|
auto _parent() -> pListView*;
|
|
auto _setAlignment() -> void;
|
|
|
|
GtkTreeViewColumn* gtkColumn = nullptr;
|
|
GtkWidget* gtkHeader = nullptr;
|
|
GtkWidget* gtkHeaderIcon = nullptr;
|
|
GtkWidget* gtkHeaderText = nullptr;
|
|
GtkCellRenderer* gtkCellToggle = nullptr;
|
|
GtkCellRenderer* gtkCellIcon = nullptr;
|
|
GtkCellRenderer* gtkCellText = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|