Simulant  21.12-574
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(
17  UIManager* owner,
18  UIConfig* config,
19  Stage* stage,
20  std::shared_ptr<WidgetStyle> shared_style=std::shared_ptr<WidgetStyle>()
21  );
22 };
23 
24 }
25 }
smlt::ui::UIManager
Definition: ui_manager.h:55
smlt::Stage
Definition: stage.h:80
smlt::ui::Button
Definition: button.h:10
smlt
Definition: animation.cpp:25
smlt::ui::Widget
Definition: widget.h:85
smlt::ui::UIConfig
Definition: ui_config.h:244