mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
28 lines
523 B
C++
28 lines
523 B
C++
#ifndef NEW_MAP_BUTTON_H
|
|
#define NEW_MAP_BUTTON_H
|
|
|
|
#include <button.h>
|
|
|
|
namespace vb01Gui{
|
|
class Textbox;
|
|
}
|
|
|
|
namespace battleship{
|
|
class NewMapButton : public vb01Gui::Button{
|
|
public:
|
|
class OkButton : public vb01Gui::Button{
|
|
public:
|
|
OkButton(vb01::Vector2, vb01::Vector2, vb01Gui::Textbox*, vb01Gui::Textbox*, vb01Gui::Textbox*);
|
|
void onClick();
|
|
private:
|
|
vb01Gui::Textbox *name, *sizeX, *sizeY;
|
|
};
|
|
|
|
NewMapButton(vb01::Vector2, vb01::Vector2);
|
|
void onClick();
|
|
private:
|
|
};
|
|
}
|
|
|
|
#endif
|