mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-23 00:13:31 +00:00
25 lines
521 B
C++
25 lines
521 B
C++
#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, Option* item, const std::string& msg )
|
|
: super(id, x, y, 150, 20, msg),
|
|
option(item)
|
|
{
|
|
}
|
|
|
|
Option* SmallButton::getOption()
|
|
{
|
|
return option;
|
|
}
|