5#ifndef DCPP_I_GUI_CHECKBOX_HPP_INCLUDED
6#define DCPP_I_GUI_CHECKBOX_HPP_INCLUDED
8#include <duckcpp/core/engine/IGUIElement.hpp>
GUI Check box interface.
Definition IGUICheckBox.hpp:20
virtual void setChecked(bool checked)=0
Set if box is checked.
virtual bool isDrawBorderEnabled() const =0
Checks if border drawing is enabled.
virtual void setDrawBorder(bool draw)=0
Sets whether to draw the border.
IGUICheckBox(IGUIEnvironment *environment, IGUIElement *parent, i32 id, nub::rect< i32 > rectangle)
constructor
Definition IGUICheckBox.hpp:24
virtual bool isDrawBackgroundEnabled() const =0
Checks if background drawing is enabled.
virtual bool isChecked() const =0
Returns true if box is checked.
virtual void setDrawBackground(bool draw)=0
Sets whether to draw the background.
Base class of all GUI elements.
Definition IGUIElement.hpp:24
virtual void draw()
Draws the element and its children.
Definition IGUIElement.hpp:331
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.hpp:73
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
@ EGUIET_CHECK_BOX
A check box (IGUICheckBox)
Definition EGUIElementTypes.hpp:23
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int i32
32 bit signed variable.
Definition irrTypes.hpp:72