object.hpp 640 B

123456789101112131415161718192021222324252627
  1. #if defined(Hiro_Object)
  2. namespace hiro {
  3. struct pObject : Lock {
  4. pObject(mObject& reference) : reference(reference) {}
  5. virtual ~pObject() = default;
  6. virtual auto construct() -> void;
  7. virtual auto destruct() -> void;
  8. virtual auto reconstruct() -> void;
  9. virtual auto focused() const -> bool;
  10. virtual auto remove() -> void;
  11. virtual auto reset() -> void;
  12. virtual auto setEnabled(bool enabled) -> void;
  13. virtual auto setFocused() -> void;
  14. virtual auto setFont(const Font& font) -> void;
  15. virtual auto setGroup(sGroup group) -> void;
  16. virtual auto setVisible(bool visible) -> void;
  17. mObject& reference;
  18. };
  19. }
  20. #endif