| 1 |
#if defined(Hiro_ComboButton) |
| 2 |
|
| 3 |
namespace hiro { |
| 4 |
|
| 5 |
struct pComboButton : pWidget { |
| 6 |
Declare(ComboButton, Widget) |
| 7 |
|
| 8 |
auto append(sComboButtonItem item) -> void; |
| 9 |
auto minimumSize() const -> Size override; |
| 10 |
auto remove(sComboButtonItem item) -> void; |
| 11 |
auto reset() -> void override; |
| 12 |
auto setFont(const Font& font) -> void override; |
| 13 |
|
| 14 |
auto _append(sComboButtonItem item) -> void; |
| 15 |
auto _updateSelected() -> void; |
| 16 |
|
| 17 |
GtkListStore* gtkListStore = nullptr; |
| 18 |
GtkTreeModel* gtkTreeModel = nullptr; |
| 19 |
GtkComboBox* gtkComboBox = nullptr; |
| 20 |
GtkCellRenderer* gtkCellIcon = nullptr; |
| 21 |
GtkCellRenderer* gtkCellText = nullptr; |
| 22 |
}; |
| 23 |
|
| 24 |
} |
| 25 |
|
| 26 |
#endif |