2015-05-13 18:47:23 +00:00
|
|
|
#ifndef GCN_UAECHECKBOX_HPP
|
|
|
|
#define GCN_UAECHECKBOX_HPP
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
|
2016-10-15 20:49:53 +02:00
|
|
|
#include "guichan/keylistener.hpp"
|
|
|
|
#include "guichan/mouselistener.hpp"
|
|
|
|
#include "guichan/platform.hpp"
|
|
|
|
#include "guichan/widget.hpp"
|
|
|
|
#include "guichan/widgets/checkbox.hpp"
|
2015-05-13 18:47:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace gcn
|
|
|
|
{
|
2016-09-01 13:53:43 +02:00
|
|
|
class GCN_CORE_DECLSPEC UaeCheckBox : public CheckBox
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
UaeCheckBox();
|
2015-05-13 18:47:23 +00:00
|
|
|
|
2016-09-01 13:53:43 +02:00
|
|
|
UaeCheckBox(const std::string &caption,
|
|
|
|
bool selected = false);
|
2015-05-13 18:47:23 +00:00
|
|
|
|
2016-09-01 13:53:43 +02:00
|
|
|
virtual ~UaeCheckBox();
|
2015-05-13 18:47:23 +00:00
|
|
|
|
2016-09-01 13:53:43 +02:00
|
|
|
virtual void draw(Graphics* graphics);
|
2015-05-13 18:47:23 +00:00
|
|
|
|
2016-09-01 13:53:43 +02:00
|
|
|
protected:
|
|
|
|
virtual void drawBox(Graphics *graphics);
|
2015-05-13 18:47:23 +00:00
|
|
|
|
2016-09-01 13:53:43 +02:00
|
|
|
};
|
2015-05-13 18:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif // end GCN_UAECHECKBOX_HPP
|