25 lines
539 B
C++
Executable File
25 lines
539 B
C++
Executable File
#include "SmallButton.h"
|
|
|
|
SmallButton::SmallButton( int id, int x, int y, const std::string& msg )
|
|
: super(id, x, y, 150, 20, msg),
|
|
option(NULL)
|
|
{
|
|
}
|
|
|
|
SmallButton::SmallButton( int id, int x, int y, int width, int height, const std::string& msg )
|
|
: super(id, x, y, width, height, msg),
|
|
option(NULL)
|
|
{
|
|
}
|
|
|
|
SmallButton::SmallButton( int id, int x, int y, Options::Option* item, const std::string& msg )
|
|
: super(id, x, y, 150, 20, msg),
|
|
option(item)
|
|
{
|
|
}
|
|
|
|
Options::Option* SmallButton::getOption()
|
|
{
|
|
return option;
|
|
}
|