mirror of https://github.com/bsnes-emu/bsnes.git
28 lines
643 B
C++
28 lines
643 B
C++
#if defined(Hiro_CheckButton)
|
|
|
|
namespace hiro {
|
|
|
|
struct pCheckButton : pWidget {
|
|
Declare(CheckButton, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setBordered(bool bordered) -> void;
|
|
auto setEnabled(bool enabled) -> void override;
|
|
auto setFont(const Font& font) -> void override;
|
|
auto setChecked(bool checked) -> void;
|
|
auto setIcon(const image& icon) -> void;
|
|
auto setOrientation(Orientation orientation) -> void;
|
|
auto setText(const string& text) -> void;
|
|
auto setVisible(bool visible) -> void override;
|
|
|
|
auto onToggle() -> void;
|
|
|
|
auto _setState() -> void;
|
|
|
|
WindowProc windowProc = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|