old-hiro/cocoa/widget/table-view-item.hpp

22 lines
476 B
C++
Raw Normal View History

2016-07-03 11:36:49 +00:00
#if defined(Hiro_TableView)
2016-05-15 10:45:15 +00:00
namespace hiro {
2016-07-03 11:36:49 +00:00
struct pTableViewItem : pObject {
Declare(TableViewItem, Object)
2016-05-15 10:45:15 +00:00
2016-07-03 11:36:49 +00:00
auto append(sTableViewCell cell) -> void;
auto remove(sTableViewCell cell) -> void;
2016-05-15 10:45:15 +00:00
auto setAlignment(Alignment alignment) -> void;
auto setBackgroundColor(Color color) -> void;
auto setFocused() -> void;
auto setForegroundColor(Color color) -> void;
auto setSelected(bool selected) -> void;
2016-07-03 11:36:49 +00:00
auto _parent() -> maybe<pTableView&>;
2016-05-15 10:45:15 +00:00
};
}
#endif