cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UICheckBox.h File Reference
#include "ui/UIWidget.h"
#include "ui/GUIExport.h"

Classes

class  CheckBox
 Checkbox is a specific type of two-states button that can be either checked or unchecked. More...
 

Namespaces

 cocos2d
 
 cocos2d::ui
 

Macros

#define checkboxselectedeventselector(_SELECTOR)   (SEL_SelectedStateEvent)(&_SELECTOR)

Typedefs

typedef void(Ref::* SEL_SelectedStateEvent )(Ref *, CheckBoxEventType)
 A callback which will be called after checkbox event happens. More...
 

Enumerations

enum  CheckBoxEventType { CHECKBOX_STATE_EVENT_SELECTED, CHECKBOX_STATE_EVENT_UNSELECTED }
 Checkbox event type, there are two type here: More...
 

Macro Definition Documentation

#define
checkboxselectedeventselector
(   _SELECTOR)    (SEL_SelectedStateEvent)(&_SELECTOR)
var checkboxselectedeventselector (   var)    (SEL_SelectedStateEvent)(&_SELECTOR)
local checkboxselectedeventselector (   local)    (SEL_SelectedStateEvent)(&_SELECTOR)