cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cocos2d::ui Namespace Reference

Classes

class  Button
 
class  CheckBox
 
class  EditBox
 Class for edit box. More...
 
class  EditBoxDelegate
 
class  EditBoxImpl
 
class  EditBoxImplAndroid
 
class  EditBoxImplWin
 
class  HBox
 
class  Helper
 
class  ImageView
 
class  Layout
 
class  LayoutComponent
 
class  LayoutManager
 
class  LayoutParameter
 
class  LayoutParameterProtocol
 
class  LayoutProtocol
 
class  LinearHorizontalLayoutManager
 
class  LinearLayoutParameter
 
class  LinearVerticalLayoutManager
 
class  ListView
 
class  LoadingBar
 
class  Margin
 
class  PageView
 
class  RelativeBox
 
class  RelativeLayoutManager
 
class  RelativeLayoutParameter
 
class  RichElement
 
class  RichElementCustomNode
 
class  RichElementImage
 
class  RichElementText
 
class  RichText
 
class  Scale9Sprite
 A 9-slice sprite for cocos2d. More...
 
class  ScrollView
 
class  Slider
 
class  Text
 For creating a system font or a TTF font Text. More...
 
class  TextAtlas
 
class  TextBMFont
 
class  TextField
 class UITextField : public Widget More...
 
class  UICCTextField
 
class  UIEditBoxImplWp8
 
class  VBox
 
class  Widget
 

Typedefs

typedef void(Ref::* SEL_SelectedStateEvent )(Ref *, CheckBoxEventType)
typedef Widget::TextureResType TextureResType
typedef Widget::PositionType PositionType
typedef Widget::SizeType SizeType
typedef Widget::BrightStyle BrightStyle
typedef Layout::ClippingType LayoutClippingType
typedef Layout::Type LayoutType
typedef Layout::BackGroundColorType LayoutBackGroundColorType
typedef LayoutParameter::Type LayoutParameterType
typedef
LinearLayoutParameter::LinearGravity 
LinearGravity
typedef
RelativeLayoutParameter::RelativeAlign 
RelativeAlign
typedef ListView::Gravity ListViewGravity
typedef LoadingBar::Direction LoadingBarType
typedef PageView::TouchDirection PVTouchDir
typedef RichElement::Type RichElementType
typedef ScrollView::Direction SCROLLVIEW_DIR
typedef void(Ref::* SEL_ListViewEvent )(Ref *, ListViewEventType)
typedef void(Ref::* SEL_PageViewEvent )(Ref *, PageViewEventType)
typedef void(Ref::* SEL_ScrollViewEvent )(Ref *, ScrollviewEventType)
typedef void(Ref::* SEL_SlidPercentChangedEvent )(Ref *, SliderEventType)
typedef void(Ref::* SEL_TextFieldEvent )(Ref *, TextFiledEventType)
typedef void(Ref::* SEL_TouchEvent )(Ref *, TouchEventType)

Enumerations

enum  CheckBoxEventType { CHECKBOX_STATE_EVENT_SELECTED, CHECKBOX_STATE_EVENT_UNSELECTED }
 
enum  ListViewEventType { LISTVIEW_ONSELECTEDITEM_START, LISTVIEW_ONSELECTEDITEM_END }
 
enum  PageViewEventType { PAGEVIEW_EVENT_TURNING }
 
enum  ScrollviewEventType {
  SCROLLVIEW_EVENT_SCROLL_TO_TOP, SCROLLVIEW_EVENT_SCROLL_TO_BOTTOM, SCROLLVIEW_EVENT_SCROLL_TO_LEFT, SCROLLVIEW_EVENT_SCROLL_TO_RIGHT,
  SCROLLVIEW_EVENT_SCROLLING, SCROLLVIEW_EVENT_BOUNCE_TOP, SCROLLVIEW_EVENT_BOUNCE_BOTTOM, SCROLLVIEW_EVENT_BOUNCE_LEFT,
  SCROLLVIEW_EVENT_BOUNCE_RIGHT
}
 
enum  SliderEventType { SLIDER_PERCENTCHANGED }
 
enum  TextFiledEventType { TEXTFIELD_EVENT_ATTACH_WITH_IME, TEXTFIELD_EVENT_DETACH_WITH_IME, TEXTFIELD_EVENT_INSERT_TEXT, TEXTFIELD_EVENT_DELETE_BACKWARD }
 
enum  TouchEventType { TOUCH_EVENT_BEGAN, TOUCH_EVENT_MOVED, TOUCH_EVENT_ENDED, TOUCH_EVENT_CANCELED }
 

Functions

CC_GUI_DLL const char *  ()
EditBoxImpl (EditBox *pEditBox)
var  ( var pEditBox)
local  ( local pEditBox)

Variables

const Widget::PositionType POSITION_ABSOLUTE = Widget::PositionType::ABSOLUTE
var POSITION_ABSOLUTE = Widget::PositionType::ABSOLUTE
local POSITION_ABSOLUTE = Widget::PositionType::ABSOLUTE
const Widget::PositionType POSITION_PERCENT = Widget::PositionType::PERCENT
var POSITION_PERCENT = Widget::PositionType::PERCENT
local POSITION_PERCENT = Widget::PositionType::PERCENT
const Widget::SizeType SIZE_ABSOLUTE = Widget::SizeType::ABSOLUTE
var SIZE_ABSOLUTE = Widget::SizeType::ABSOLUTE
local SIZE_ABSOLUTE = Widget::SizeType::ABSOLUTE
const Widget::SizeType SIZE_PERCENT = Widget::SizeType::PERCENT
var SIZE_PERCENT = Widget::SizeType::PERCENT
local SIZE_PERCENT = Widget::SizeType::PERCENT
const Widget::TextureResType UI_TEX_TYPE_LOCAL = Widget::TextureResType::LOCAL
var UI_TEX_TYPE_LOCAL = Widget::TextureResType::LOCAL
local UI_TEX_TYPE_LOCAL = Widget::TextureResType::LOCAL
const Widget::TextureResType UI_TEX_TYPE_PLIST = Widget::TextureResType::PLIST
var UI_TEX_TYPE_PLIST = Widget::TextureResType::PLIST
local UI_TEX_TYPE_PLIST = Widget::TextureResType::PLIST
const Widget::BrightStyle BRIGHT_NONE = Widget::BrightStyle::NONE
var BRIGHT_NONE = Widget::BrightStyle::NONE
local BRIGHT_NONE = Widget::BrightStyle::NONE
const Widget::BrightStyle BRIGHT_NORMAL = Widget::BrightStyle::NORMAL
var BRIGHT_NORMAL = Widget::BrightStyle::NORMAL
local BRIGHT_NORMAL = Widget::BrightStyle::NORMAL
const Widget::BrightStyle BRIGHT_HIGHLIGHT = Widget::BrightStyle::HIGHLIGHT
var BRIGHT_HIGHLIGHT = Widget::BrightStyle::HIGHLIGHT
local BRIGHT_HIGHLIGHT = Widget::BrightStyle::HIGHLIGHT
const Layout::ClippingType LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL
var LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL
local LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL
const Layout::ClippingType LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR
var LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR
local LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR
const Layout::Type LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE
var LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE
local LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE
const Layout::Type LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL
var LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL
local LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL
const Layout::Type LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL
var LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL
local LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL
const Layout::Type LAYOUT_RELATIVE = Layout::Type::VERTICAL
var LAYOUT_RELATIVE = Layout::Type::VERTICAL
local LAYOUT_RELATIVE = Layout::Type::VERTICAL
const Layout::BackGroundColorType LAYOUT_COLOR_NONE = Layout::BackGroundColorType::NONE
const Layout::BackGroundColorType LAYOUT_COLOR_SOLID = Layout::BackGroundColorType::SOLID
var LAYOUT_COLOR_SOLID = Layout::BackGroundColorType::SOLID
local LAYOUT_COLOR_SOLID = Layout::BackGroundColorType::SOLID
const Layout::BackGroundColorType LAYOUT_COLOR_GRADIENT = Layout::BackGroundColorType::GRADIENT
var LAYOUT_COLOR_GRADIENT = Layout::BackGroundColorType::GRADIENT
local LAYOUT_COLOR_GRADIENT = Layout::BackGroundColorType::GRADIENT
const LayoutParameter::Type LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE
var LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE
local LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE
const LayoutParameter::Type LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR
var LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR
local LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR
const LayoutParameter::Type LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE
var LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE
local LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_NONE = LinearLayoutParameter::LinearGravity::NONE
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_LEFT = LinearLayoutParameter::LinearGravity::LEFT
var LINEAR_GRAVITY_LEFT = LinearLayoutParameter::LinearGravity::LEFT
local LINEAR_GRAVITY_LEFT = LinearLayoutParameter::LinearGravity::LEFT
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_TOP = LinearLayoutParameter::LinearGravity::TOP
var LINEAR_GRAVITY_TOP = LinearLayoutParameter::LinearGravity::TOP
local LINEAR_GRAVITY_TOP = LinearLayoutParameter::LinearGravity::TOP
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_RIGHT = LinearLayoutParameter::LinearGravity::RIGHT
var LINEAR_GRAVITY_RIGHT = LinearLayoutParameter::LinearGravity::RIGHT
local LINEAR_GRAVITY_RIGHT = LinearLayoutParameter::LinearGravity::RIGHT
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_BOTTOM = LinearLayoutParameter::LinearGravity::BOTTOM
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_CENTER_VERTICAL = LinearLayoutParameter::LinearGravity::CENTER_VERTICAL
const
LinearLayoutParameter::LinearGravity 
LINEAR_GRAVITY_CENTER_HORIZONTAL = LinearLayoutParameter::LinearGravity::CENTER_HORIZONTAL
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_NONE = RelativeLayoutParameter::RelativeAlign::NONE
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_TOP_LEFT = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_LEFT
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_CENTER_HORIZONTAL
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_TOP_RIGHT = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_RIGHT
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL = RelativeLayoutParameter::RelativeAlign::PARENT_LEFT_CENTER_VERTICAL
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_CENTER_IN_PARENT = RelativeLayoutParameter::RelativeAlign::CENTER_IN_PARENT
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL = RelativeLayoutParameter::RelativeAlign::PARENT_RIGHT_CENTER_VERTICAL
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_LEFT_BOTTOM = RelativeLayoutParameter::RelativeAlign::PARENT_LEFT_BOTTOM
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL = RelativeLayoutParameter::RelativeAlign::PARENT_BOTTOM_CENTER_HORIZONTAL
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM = RelativeLayoutParameter::RelativeAlign::PARENT_RIGHT_BOTTOM
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_ABOVE_LEFTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_ABOVE_LEFTALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_ABOVE_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_ABOVE_CENTER
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_ABOVE_RIGHTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_ABOVE_RIGHTALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_LEFT_OF_TOPALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_TOPALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_LEFT_OF_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_CENTER
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_LEFT_OF_BOTTOMALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_BOTTOMALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_RIGHT_OF_TOPALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_TOPALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_RIGHT_OF_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_CENTER
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_RIGHT_OF_BOTTOMALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_BOTTOMALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_BELOW_LEFTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_BELOW_LEFTALIGN
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_BELOW_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_BELOW_CENTER
const
RelativeLayoutParameter::RelativeAlign 
RELATIVE_LOCATION_BELOW_RIGHTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_BELOW_RIGHTALIGN
const ListView::Gravity LISTVIEW_GRAVITY_LEFT = ListView::Gravity::LEFT
local LISTVIEW_GRAVITY_LEFT = ListView::Gravity::LEFT
const ListView::Gravity LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT
var LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT
local LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT
const ListView::Gravity LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL
var LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL
local LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL
const ListView::Gravity LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP
var LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP
local LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP
const ListView::Gravity LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM
var LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM
local LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM
const ListView::Gravity LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL
var LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL
local LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL
const LoadingBar::Direction LoadingBarTypeLeft = LoadingBar::Direction::LEFT
var LoadingBarTypeLeft = LoadingBar::Direction::LEFT
local LoadingBarTypeLeft = LoadingBar::Direction::LEFT
const LoadingBar::Direction LoadingBarTypeRight = LoadingBar::Direction::RIGHT
var LoadingBarTypeRight = LoadingBar::Direction::RIGHT
local LoadingBarTypeRight = LoadingBar::Direction::RIGHT
const PageView::TouchDirection PAGEVIEW_TOUCHLEFT = PageView::TouchDirection::LEFT
var PAGEVIEW_TOUCHLEFT = PageView::TouchDirection::LEFT
local PAGEVIEW_TOUCHLEFT = PageView::TouchDirection::LEFT
const PageView::TouchDirection PAGEVIEW_TOUCHRIGHT = PageView::TouchDirection::RIGHT
var PAGEVIEW_TOUCHRIGHT = PageView::TouchDirection::RIGHT
local PAGEVIEW_TOUCHRIGHT = PageView::TouchDirection::RIGHT
const RichElement::Type RICH_TEXT = RichElement::Type::TEXT
var RICH_TEXT = RichElement::Type::TEXT
local RICH_TEXT = RichElement::Type::TEXT
const RichElement::Type RICH_IMAGE = RichElement::Type::IMAGE
var RICH_IMAGE = RichElement::Type::IMAGE
local RICH_IMAGE = RichElement::Type::IMAGE
const RichElement::Type RICH_CUSTOM = RichElement::Type::CUSTOM
var RICH_CUSTOM = RichElement::Type::CUSTOM
local RICH_CUSTOM = RichElement::Type::CUSTOM
const ScrollView::Direction SCROLLVIEW_DIR_NONE = ScrollView::Direction::NONE
var SCROLLVIEW_DIR_NONE = ScrollView::Direction::NONE
local SCROLLVIEW_DIR_NONE = ScrollView::Direction::NONE
const ScrollView::Direction SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL
var SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL
local SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL
const ScrollView::Direction SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL
var SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL
local SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL
const ScrollView::Direction SCROLLVIEW_DIR_BOTH = ScrollView::Direction::BOTH
var SCROLLVIEW_DIR_BOTH = ScrollView::Direction::BOTH
local SCROLLVIEW_DIR_BOTH = ScrollView::Direction::BOTH
const Margin MarginZero
var MarginZero
local MarginZero

Typedef Documentation

local BrightStyle
local LayoutType
local PositionType
local PVTouchDir
typedef void(Ref::*
SEL_ListViewEvent)(Ref
*, ListViewEventType)
typedef void(Ref::*
SEL_ListViewEvent)(Ref
*, ListViewEventType)
typedef void(Ref::*
SEL_ListViewEvent)(Ref
*, ListViewEventType)
typedef void(Ref::*
SEL_PageViewEvent)(Ref
*, PageViewEventType)
typedef void(Ref::*
SEL_PageViewEvent)(Ref
*, PageViewEventType)
typedef void(Ref::*
SEL_PageViewEvent)(Ref
*, PageViewEventType)
typedef void(Ref::*
SEL_ScrollViewEvent)(Ref
*, ScrollviewEventType)
typedef void(Ref::*
SEL_ScrollViewEvent)(Ref
*, ScrollviewEventType)
typedef void(Ref::*
SEL_SelectedStateEvent)(Ref
*, CheckBoxEventType)
typedef void(Ref::*
SEL_SelectedStateEvent)(Ref
*, CheckBoxEventType)
typedef void(Ref::*
SEL_SelectedStateEvent)(Ref
*, CheckBoxEventType)
typedef void(Ref::*
SEL_SlidPercentChangedEvent)(Ref
*, SliderEventType)
typedef void(Ref::*
SEL_SlidPercentChangedEvent)(Ref
*, SliderEventType)
typedef void(Ref::*
SEL_TextFieldEvent)(Ref
*, TextFiledEventType)
typedef void(Ref::*
SEL_TextFieldEvent)(Ref
*, TextFiledEventType)
typedef void(Ref::*
SEL_TextFieldEvent)(Ref
*, TextFiledEventType)
typedef void(Ref::*
SEL_TouchEvent)(Ref
*, TouchEventType)
typedef void(Ref::*
SEL_TouchEvent)(Ref
*, TouchEventType)
typedef void(Ref::*
SEL_TouchEvent)(Ref
*, TouchEventType)
var SizeType
local SizeType

Enumeration Type Documentation

Enumerator
CHECKBOX_STATE_EVENT_SELECTED 
CHECKBOX_STATE_EVENT_UNSELECTED 
Enumerator
CHECKBOX_STATE_EVENT_SELECTED 
CHECKBOX_STATE_EVENT_UNSELECTED 
Enumerator
CHECKBOX_STATE_EVENT_SELECTED 
CHECKBOX_STATE_EVENT_UNSELECTED 
Enumerator
LISTVIEW_ONSELECTEDITEM_START 
LISTVIEW_ONSELECTEDITEM_END 
Enumerator
LISTVIEW_ONSELECTEDITEM_START 
LISTVIEW_ONSELECTEDITEM_END 
Enumerator
LISTVIEW_ONSELECTEDITEM_START 
LISTVIEW_ONSELECTEDITEM_END 
Enumerator
PAGEVIEW_EVENT_TURNING 
Enumerator
PAGEVIEW_EVENT_TURNING 
Enumerator
PAGEVIEW_EVENT_TURNING 
Enumerator
SCROLLVIEW_EVENT_SCROLL_TO_TOP 
SCROLLVIEW_EVENT_SCROLL_TO_BOTTOM 
SCROLLVIEW_EVENT_SCROLL_TO_LEFT 
SCROLLVIEW_EVENT_SCROLL_TO_RIGHT 
SCROLLVIEW_EVENT_SCROLLING 
SCROLLVIEW_EVENT_BOUNCE_TOP 
SCROLLVIEW_EVENT_BOUNCE_BOTTOM 
SCROLLVIEW_EVENT_BOUNCE_LEFT 
SCROLLVIEW_EVENT_BOUNCE_RIGHT 
Enumerator
SCROLLVIEW_EVENT_SCROLL_TO_TOP 
SCROLLVIEW_EVENT_SCROLL_TO_BOTTOM 
SCROLLVIEW_EVENT_SCROLL_TO_LEFT 
SCROLLVIEW_EVENT_SCROLL_TO_RIGHT 
SCROLLVIEW_EVENT_SCROLLING 
SCROLLVIEW_EVENT_BOUNCE_TOP 
SCROLLVIEW_EVENT_BOUNCE_BOTTOM 
SCROLLVIEW_EVENT_BOUNCE_LEFT 
SCROLLVIEW_EVENT_BOUNCE_RIGHT 
Enumerator
SCROLLVIEW_EVENT_SCROLL_TO_TOP 
SCROLLVIEW_EVENT_SCROLL_TO_BOTTOM 
SCROLLVIEW_EVENT_SCROLL_TO_LEFT 
SCROLLVIEW_EVENT_SCROLL_TO_RIGHT 
SCROLLVIEW_EVENT_SCROLLING 
SCROLLVIEW_EVENT_BOUNCE_TOP 
SCROLLVIEW_EVENT_BOUNCE_BOTTOM 
SCROLLVIEW_EVENT_BOUNCE_LEFT 
SCROLLVIEW_EVENT_BOUNCE_RIGHT 
Enumerator
SLIDER_PERCENTCHANGED 
Enumerator
SLIDER_PERCENTCHANGED 
Enumerator
SLIDER_PERCENTCHANGED 
Enumerator
TEXTFIELD_EVENT_ATTACH_WITH_IME 
TEXTFIELD_EVENT_DETACH_WITH_IME 
TEXTFIELD_EVENT_INSERT_TEXT 
TEXTFIELD_EVENT_DELETE_BACKWARD 
Enumerator
TEXTFIELD_EVENT_ATTACH_WITH_IME 
TEXTFIELD_EVENT_DETACH_WITH_IME 
TEXTFIELD_EVENT_INSERT_TEXT 
TEXTFIELD_EVENT_DELETE_BACKWARD 
Enumerator
TEXTFIELD_EVENT_ATTACH_WITH_IME 
TEXTFIELD_EVENT_DETACH_WITH_IME 
TEXTFIELD_EVENT_INSERT_TEXT 
TEXTFIELD_EVENT_DELETE_BACKWARD 
Enumerator
TOUCH_EVENT_BEGAN 
TOUCH_EVENT_MOVED 
TOUCH_EVENT_ENDED 
TOUCH_EVENT_CANCELED 
Enumerator
TOUCH_EVENT_BEGAN 
TOUCH_EVENT_MOVED 
TOUCH_EVENT_ENDED 
TOUCH_EVENT_CANCELED 
Enumerator
TOUCH_EVENT_BEGAN 
TOUCH_EVENT_MOVED 
TOUCH_EVENT_ENDED 
TOUCH_EVENT_CANCELED 

Function Documentation

CC_GUI_DLL const char*
cocos2d::ui::CocosGUIVersion
( )
var CocosGUIVersion ( )
local CocosGUIVersion ( )
EditBoxImpl*
cocos2d::ui::__createSystemEditBox
( EditBox *  pEditBox)
var __createSystemEditBox ( var  pEditBox)
local __createSystemEditBox ( local  pEditBox)

Variable Documentation

var BRIGHT_HIGHLIGHT = Widget::BrightStyle::HIGHLIGHT
local BRIGHT_HIGHLIGHT = Widget::BrightStyle::HIGHLIGHT
var BRIGHT_NONE = Widget::BrightStyle::NONE
local BRIGHT_NONE = Widget::BrightStyle::NONE
var BRIGHT_NORMAL = Widget::BrightStyle::NORMAL
local BRIGHT_NORMAL = Widget::BrightStyle::NORMAL
const Layout::Type LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE
var LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE
local LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE
const Layout::ClippingType
LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR
var LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR
local LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR
const Layout::ClippingType
LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL
var LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL
local LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL
var LAYOUT_COLOR_GRADIENT = Layout::BackGroundColorType::GRADIENT
local LAYOUT_COLOR_GRADIENT = Layout::BackGroundColorType::GRADIENT
var LAYOUT_COLOR_NONE = Layout::BackGroundColorType::NONE
local LAYOUT_COLOR_NONE = Layout::BackGroundColorType::NONE
var LAYOUT_COLOR_SOLID = Layout::BackGroundColorType::SOLID
local LAYOUT_COLOR_SOLID = Layout::BackGroundColorType::SOLID
const Layout::Type
LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL
var LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL
local LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL
const Layout::Type
LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL
var LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL
local LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL
const LayoutParameter::Type
LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR
var LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR
local LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR
const LayoutParameter::Type
LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE
var LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE
local LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE
const LayoutParameter::Type
LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE
var LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE
local LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE
const Layout::Type LAYOUT_RELATIVE = Layout::Type::VERTICAL
var LAYOUT_RELATIVE = Layout::Type::VERTICAL
local LAYOUT_RELATIVE = Layout::Type::VERTICAL
var LINEAR_GRAVITY_BOTTOM = LinearLayoutParameter::LinearGravity::BOTTOM
local LINEAR_GRAVITY_BOTTOM = LinearLayoutParameter::LinearGravity::BOTTOM
var
LINEAR_GRAVITY_CENTER_HORIZONTAL = LinearLayoutParameter::LinearGravity::CENTER_HORIZONTAL
local
LINEAR_GRAVITY_CENTER_HORIZONTAL = LinearLayoutParameter::LinearGravity::CENTER_HORIZONTAL
var LINEAR_GRAVITY_CENTER_VERTICAL = LinearLayoutParameter::LinearGravity::CENTER_VERTICAL
local
LINEAR_GRAVITY_CENTER_VERTICAL = LinearLayoutParameter::LinearGravity::CENTER_VERTICAL
var LINEAR_GRAVITY_LEFT = LinearLayoutParameter::LinearGravity::LEFT
local LINEAR_GRAVITY_LEFT = LinearLayoutParameter::LinearGravity::LEFT
var LINEAR_GRAVITY_NONE = LinearLayoutParameter::LinearGravity::NONE
local LINEAR_GRAVITY_NONE = LinearLayoutParameter::LinearGravity::NONE
var LINEAR_GRAVITY_RIGHT = LinearLayoutParameter::LinearGravity::RIGHT
local LINEAR_GRAVITY_RIGHT = LinearLayoutParameter::LinearGravity::RIGHT
local LINEAR_GRAVITY_TOP = LinearLayoutParameter::LinearGravity::TOP
const ListView::Gravity
LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM
var LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM
local LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM
const ListView::Gravity
LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL
var
LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL
local
LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL
const ListView::Gravity
LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL
var
LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL
local
LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL
const ListView::Gravity
LISTVIEW_GRAVITY_LEFT = ListView::Gravity::LEFT
var LISTVIEW_GRAVITY_LEFT = ListView::Gravity::LEFT
local LISTVIEW_GRAVITY_LEFT = ListView::Gravity::LEFT
const ListView::Gravity
LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT
var LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT
local LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT
const ListView::Gravity
LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP
var LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP
local LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP
var LoadingBarTypeLeft = LoadingBar::Direction::LEFT
local LoadingBarTypeLeft = LoadingBar::Direction::LEFT
var LoadingBarTypeRight = LoadingBar::Direction::RIGHT
local LoadingBarTypeRight = LoadingBar::Direction::RIGHT
const Margin MarginZero
var MarginZero
local MarginZero
var PAGEVIEW_TOUCHLEFT = PageView::TouchDirection::LEFT
local PAGEVIEW_TOUCHLEFT = PageView::TouchDirection::LEFT
var PAGEVIEW_TOUCHRIGHT = PageView::TouchDirection::RIGHT
local PAGEVIEW_TOUCHRIGHT = PageView::TouchDirection::RIGHT
var POSITION_ABSOLUTE = Widget::PositionType::ABSOLUTE
local POSITION_ABSOLUTE = Widget::PositionType::ABSOLUTE
var POSITION_PERCENT = Widget::PositionType::PERCENT
local POSITION_PERCENT = Widget::PositionType::PERCENT
local RELATIVE_ALIGN_NONE = RelativeLayoutParameter::RelativeAlign::NONE
var
RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL = RelativeLayoutParameter::RelativeAlign::PARENT_BOTTOM_CENTER_HORIZONTAL
local
RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL = RelativeLayoutParameter::RelativeAlign::PARENT_BOTTOM_CENTER_HORIZONTAL
var
RELATIVE_ALIGN_PARENT_LEFT_BOTTOM = RelativeLayoutParameter::RelativeAlign::PARENT_LEFT_BOTTOM
local
RELATIVE_ALIGN_PARENT_LEFT_BOTTOM = RelativeLayoutParameter::RelativeAlign::PARENT_LEFT_BOTTOM
var
RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL = RelativeLayoutParameter::RelativeAlign::PARENT_LEFT_CENTER_VERTICAL
local
RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL = RelativeLayoutParameter::RelativeAlign::PARENT_LEFT_CENTER_VERTICAL
var
RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM = RelativeLayoutParameter::RelativeAlign::PARENT_RIGHT_BOTTOM
local
RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM = RelativeLayoutParameter::RelativeAlign::PARENT_RIGHT_BOTTOM
var
RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL = RelativeLayoutParameter::RelativeAlign::PARENT_RIGHT_CENTER_VERTICAL
local
RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL = RelativeLayoutParameter::RelativeAlign::PARENT_RIGHT_CENTER_VERTICAL
var
RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_CENTER_HORIZONTAL
local
RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_CENTER_HORIZONTAL
var RELATIVE_ALIGN_PARENT_TOP_LEFT = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_LEFT
local
RELATIVE_ALIGN_PARENT_TOP_LEFT = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_LEFT
var RELATIVE_ALIGN_PARENT_TOP_RIGHT = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_RIGHT
local
RELATIVE_ALIGN_PARENT_TOP_RIGHT = RelativeLayoutParameter::RelativeAlign::PARENT_TOP_RIGHT
local
RELATIVE_LOCATION_ABOVE_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_ABOVE_CENTER
local
RELATIVE_LOCATION_ABOVE_LEFTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_ABOVE_LEFTALIGN
local
RELATIVE_LOCATION_ABOVE_RIGHTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_ABOVE_RIGHTALIGN
local
RELATIVE_LOCATION_BELOW_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_BELOW_CENTER
local
RELATIVE_LOCATION_BELOW_LEFTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_BELOW_LEFTALIGN
local
RELATIVE_LOCATION_BELOW_RIGHTALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_BELOW_RIGHTALIGN
var
RELATIVE_LOCATION_LEFT_OF_BOTTOMALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_BOTTOMALIGN
local
RELATIVE_LOCATION_LEFT_OF_BOTTOMALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_BOTTOMALIGN
local
RELATIVE_LOCATION_LEFT_OF_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_CENTER
local
RELATIVE_LOCATION_LEFT_OF_TOPALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_LEFT_OF_TOPALIGN
var
RELATIVE_LOCATION_RIGHT_OF_BOTTOMALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_BOTTOMALIGN
local
RELATIVE_LOCATION_RIGHT_OF_BOTTOMALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_BOTTOMALIGN
local
RELATIVE_LOCATION_RIGHT_OF_CENTER = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_CENTER
var
RELATIVE_LOCATION_RIGHT_OF_TOPALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_TOPALIGN
local
RELATIVE_LOCATION_RIGHT_OF_TOPALIGN = RelativeLayoutParameter::RelativeAlign::LOCATION_RIGHT_OF_TOPALIGN
var RICH_CUSTOM = RichElement::Type::CUSTOM
local RICH_CUSTOM = RichElement::Type::CUSTOM
var RICH_IMAGE = RichElement::Type::IMAGE
local RICH_IMAGE = RichElement::Type::IMAGE
var RICH_TEXT = RichElement::Type::TEXT
local RICH_TEXT = RichElement::Type::TEXT
var SCROLLVIEW_DIR_BOTH = ScrollView::Direction::BOTH
local SCROLLVIEW_DIR_BOTH = ScrollView::Direction::BOTH
const ScrollView::Direction
SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL
var SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL
local SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL
var SCROLLVIEW_DIR_NONE = ScrollView::Direction::NONE
local SCROLLVIEW_DIR_NONE = ScrollView::Direction::NONE
const ScrollView::Direction
SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL
var SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL
local SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL
var SIZE_ABSOLUTE = Widget::SizeType::ABSOLUTE
local SIZE_ABSOLUTE = Widget::SizeType::ABSOLUTE
var SIZE_PERCENT = Widget::SizeType::PERCENT
local SIZE_PERCENT = Widget::SizeType::PERCENT
var UI_TEX_TYPE_LOCAL = Widget::TextureResType::LOCAL
local UI_TEX_TYPE_LOCAL = Widget::TextureResType::LOCAL
var UI_TEX_TYPE_PLIST = Widget::TextureResType::PLIST
local UI_TEX_TYPE_PLIST = Widget::TextureResType::PLIST