blob: 09e8695a4ffeff7f2ae03d6a8cf10a6f781b0ebc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
ui/button.cc
This file is part of the Osirion project and is distributed under
the terms of the GNU General Public License version 2
*/
#include "ui/button.h"
namespace ui {
Button::Button (Widget *parent, char const *text, char const *command) : Label(parent, text)
{
set_label("button");
if (command)
button_command.assign(command);
}
Button::~Button()
{
}
void Button::draw()
{
Label::draw();
}
}
|