old-hiro/cocoa/widget/table-view-item.hpp
2016-07-03 13:36:49 +02:00

21 lines
476 B
C++

#if defined(Hiro_TableView)
namespace hiro {
struct pTableViewItem : pObject {
Declare(TableViewItem, Object)
auto append(sTableViewCell cell) -> void;
auto remove(sTableViewCell cell) -> void;
auto setAlignment(Alignment alignment) -> void;
auto setBackgroundColor(Color color) -> void;
auto setFocused() -> void;
auto setForegroundColor(Color color) -> void;
auto setSelected(bool selected) -> void;
auto _parent() -> maybe<pTableView&>;
};
}
#endif