table-view-cell.hpp 548 B

123456789101112131415161718192021222324
  1. #if defined(Hiro_TableView)
  2. namespace hiro {
  3. struct pTableViewCell : pObject {
  4. Declare(TableViewCell, Object)
  5. auto setAlignment(Alignment alignment) -> void;
  6. auto setBackgroundColor(Color color) -> void;
  7. auto setCheckable(bool checkable) -> void;
  8. auto setChecked(bool checked) -> void;
  9. auto setForegroundColor(Color color) -> void;
  10. auto setIcon(const image& icon) -> void;
  11. auto setText(const string& text) -> void;
  12. auto _parent() -> maybe<pTableViewItem&>;
  13. auto _repaint() -> void;
  14. auto _setState() -> void;
  15. };
  16. }
  17. #endif