mirror of https://github.com/bsnes-emu/bsnes.git
18 lines
375 B
C++
18 lines
375 B
C++
|
namespace hiro {
|
||
|
|
||
|
struct pButton : pWidget {
|
||
|
Declare(Button, Widget)
|
||
|
|
||
|
auto minimumSize() const -> Size override;
|
||
|
auto setBordered(bool bordered) -> void;
|
||
|
auto setIcon(const image& icon) -> void;
|
||
|
auto setOrientation(Orientation orientation) -> void;
|
||
|
auto setText(const string& text) -> void;
|
||
|
|
||
|
auto _doActivate() -> void;
|
||
|
|
||
|
GtkButton* gtkButton = nullptr;
|
||
|
};
|
||
|
|
||
|
}
|