mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-17 22:17:19 +01:00
27 lines
476 B
C++
27 lines
476 B
C++
#ifndef CHECK_BOX_H
|
|
#define CHECK_BOX_H
|
|
|
|
/* check_box.h */
|
|
|
|
|
|
#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
|