mirror of https://github.com/bsnes-emu/bsnes.git
34 lines
998 B
C++
34 lines
998 B
C++
#if defined(Hiro_IconView)
|
|
|
|
namespace hiro {
|
|
|
|
struct pIconView : pWidget {
|
|
Declare(IconView, Widget)
|
|
|
|
auto append(sIconViewItem item) -> void;
|
|
auto remove(sIconViewItem item) -> void;
|
|
auto reset() -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setFlow(Orientation flow) -> void;
|
|
auto setForegroundColor(Color color) -> void;
|
|
auto setGeometry(Geometry geometry) -> void;
|
|
auto setItemIcon(unsigned position, const image& icon) -> void;
|
|
auto setItemSelected(unsigned position, bool selected) -> void;
|
|
auto setItemSelected(const vector<signed>& selections) -> void;
|
|
auto setItemSelectedAll() -> void;
|
|
auto setItemSelectedNone() -> void;
|
|
auto setItemText(unsigned position, const string& text) -> void;
|
|
auto setMultiSelect(bool multiSelect) -> void;
|
|
auto setOrientation(Orientation orientation) -> void;
|
|
|
|
auto _updateSelected() -> void;
|
|
|
|
GtkWidget* subWidget = nullptr;
|
|
GtkListStore* store = nullptr;
|
|
vector<unsigned> currentSelection;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|