bsnes/hiro/gtk/widget/label.hpp

21 lines
429 B
C++

#if defined(Hiro_Label)
namespace hiro {
struct pLabel : pWidget {
Declare(Label, Widget)
auto minimumSize() const -> Size override;
auto setAlignment(Alignment alignment) -> void;
auto setBackgroundColor(Color color) -> void;
auto setForegroundColor(Color color) -> void;
auto setText(const string& text) -> void;
auto setVisible(bool visible) -> void override;
GtkWidget* subWidget = nullptr;
};
}
#endif