Simulant  21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
button.h
1 #pragma once
2 
3 #include "../../generic/managed.h"
4 #include "widget.h"
5 
6 namespace smlt {
7 namespace ui {
8 
9 class Button:
10  public Widget {
11 
12 public:
13  using Widget::init; // Pull in init to satisfy Managed<Button>
14  using Widget::clean_up;
15 
16  Button(UIManager* owner, UIConfig* config, std::shared_ptr<WidgetStyle> shared_style=std::shared_ptr<WidgetStyle>());
17 };
18 
19 }
20 }
smlt::ui::UIManager
Definition: ui_manager.h:54
smlt::ui::Button
Definition: button.h:10
smlt
Definition: animation.cpp:25
smlt::ui::Widget
Definition: widget.h:84
smlt::ui::UIConfig
Definition: ui_config.h:172