2015-12-30 06:41:46 +00:00
|
|
|
#if defined(Hiro_Widget)
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
namespace hiro {
|
|
|
|
|
|
|
|
struct pWidget : pSizable {
|
|
|
|
Declare(Widget, Sizable)
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
auto focused() const -> bool;
|
|
|
|
auto setEnabled(bool enabled) -> void override;
|
|
|
|
auto setFocused() -> void override;
|
|
|
|
auto setFont(const Font& font) -> void override;
|
|
|
|
auto setGeometry(Geometry geometry) -> void override;
|
|
|
|
auto setVisible(bool visible) -> void override;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
NSView* cocoaView = nullptr;
|
|
|
|
bool abstract = false;
|
2013-03-15 13:11:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2015-12-30 06:41:46 +00:00
|
|
|
|
|
|
|
#endif
|