pandemonium_engine_minimal/scene/gui/check_box.h

27 lines
476 B
C++
Raw Normal View History

2023-12-14 21:54:22 +01:00
#ifndef CHECK_BOX_H
#define CHECK_BOX_H
2023-12-14 21:54:22 +01:00
/* check_box.h */
2023-12-14 21:54:22 +01:00
#include "scene/gui/button.h"
/**
@author Mariano Suligoy <marianognu.esyrpg@gmail.com>
*/
class CheckBox : public Button {
GDCLASS(CheckBox, Button);
protected:
Size2 get_icon_size() const;
Size2 get_minimum_size() const;
void _notification(int p_what);
bool is_radio();
public:
CheckBox(const String &p_text = String());
~CheckBox();
};
#endif