cocos2d-x  3.5
Classes | Typedefs | Enumerations | Functions
cocos2d::ui Namespace Reference

Classes

class   Button
  Represents a push-button widget. More...
 
class   CheckBox
  Checkbox is a specific type of two-states button that can be either checked or unchecked. More...
 
class   EditBox
  Class for edit box. More...
 
class   EditBoxDelegate
  Editbox delgate class. More...
 
class   EditBoxImpl
 
 
class   EditBoxImplWin
 
class   HBox
  HBox is just a convenient wrapper class for horizontal layout type. More...
 
class   Helper
 
class   ImageView
  A widget to display images. More...
 
class   Layout
  A container for holding a few child widgets. More...
 
class   LayoutComponent
  A component class used for layout. More...
 
class   LayoutManager
  Base class for managing layout. More...
 
class   LayoutParameter
  Base class for various LayoutParameter. More...
 
  Protocol for getting a LayoutParameter. More...
 
class   LayoutProtocol
  Layout interface for creating LayoutManger and do actual layout. More...
 
  Linear horizontal layouting class. More...
 
  Linear layout parameter. More...
 
  Linear vertical layouting class. More...
 
class   ListView
  ListView is a view group that displays a list of scrollable items. More...
 
class   LoadingBar
  Visual indicator of progress in some operation. More...
 
class   Margin
  Margin of widget's in point. More...
 
class   PageView
  Layout manager that allows the user to flip left and right through pages of data. More...
 
class   RelativeBox
  RelativeBox is just a convenient wrapper class for relative layout type. More...
 
  Relative layouting class. More...
 
  Relative layout parameter. More...
 
class   RichElement
  Rich text element base class. More...
 
  Rich element for displaying custom node type. More...
 
class   RichElementImage
  Rich element for displaying images. More...
 
class   RichElementText
  Rich element for displaying text. More...
 
class   RichText
  A container for displaying various RichElements. More...
 
class   Scale9Sprite
  A 9-slice sprite for cocos2d-x. More...
 
class   ScrollView
  Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display. More...
 
class   sealed
 
class   Slider
  UI Slider widget. More...
 
class   Text
  For creating a system font or a TTF font Text. More...
 
class   TextAtlas
  UI TextAtlas widget. More...
 
class   TextBMFont
  A widget for displaying BMFont label. More...
 
class   TextField
  A widget which allows users to input text. More...
 
class   UICCTextField
  A helper class which inherit from. More...
 
 
class   UIEditBoxImplWp8
 
class   VBox
  VBox is just a convenient wrapper class for vertical layout type. More...
 
class   Widget
  Base class for all ui widgets. More...
 

Typedefs

typedef void(Ref::*  SEL_SelectedStateEvent )(Ref *, CheckBoxEventType)
  A callback which will be called after checkbox event happens. More...
 
typedef void(Ref::*  SEL_ListViewEvent )(Ref *, ListViewEventType)
  A callback which would be called when a ListView item is clicked. More...
 
typedef void(Ref::*  SEL_PageViewEvent )(Ref *, PageViewEventType)
  A callback which would be called when a PageView turning event is happening. More...
 
typedef void(Ref::*  SEL_ScrollViewEvent )(Ref *, ScrollviewEventType)
  A callback which would be called when a ScrollView is scrolling. More...
 
typedef void(Ref::*  SEL_SlidPercentChangedEvent )(Ref *, SliderEventType)
typedef void(Ref::*  SEL_TextFieldEvent )(Ref *, TextFiledEventType)
  A callback which would be called when a TextField event happens. More...
 
typedef void(Ref::*  SEL_TouchEvent )(Ref *, TouchEventType)
  Touch event callback. More...
 

Enumerations

  Checkbox event type, there are two type here: More...
 
  ListView click item event type. More...
 
  PageView page turn event type. More...
 
  Scrollview scroll event type. More...
 
 
  TextField event type. More...
 
  Touch event type. More...
 

Functions

CC_GUI_DLL const char *  ()
  Get current cocos GUI module version string. More...
 
var  ()
  Get current cocos GUI module version string. More...
 
local  ()
  Get current cocos GUI module version string. More...
 
EditBoxImpl *  (EditBox *pEditBox)

Typedef Documentation

typedef void(Ref::*
SEL_ListViewEvent)(Ref
*, ListViewEventType)

A callback which would be called when a ListView item is clicked.

Deprecated:
Use ccListViewCallback instead.
typedef void(Ref::*
SEL_ListViewEvent)(Ref
*, ListViewEventType)

A callback which would be called when a ListView item is clicked.

Deprecated:
Use ccListViewCallback instead.
typedef void(Ref::*
SEL_ListViewEvent)(Ref
*, ListViewEventType)

A callback which would be called when a ListView item is clicked.

Deprecated:
Use ccListViewCallback instead.
typedef void(Ref::*
SEL_PageViewEvent)(Ref
*, PageViewEventType)

A callback which would be called when a PageView turning event is happening.

Deprecated:
Use PageView::ccPageViewCallback instead.
typedef void(Ref::*
SEL_PageViewEvent)(Ref
*, PageViewEventType)

A callback which would be called when a PageView turning event is happening.

Deprecated:
Use PageView::ccPageViewCallback instead.
typedef void(Ref::*
SEL_PageViewEvent)(Ref
*, PageViewEventType)

A callback which would be called when a PageView turning event is happening.

Deprecated:
Use PageView::ccPageViewCallback instead.
typedef void(Ref::*
SEL_ScrollViewEvent)(Ref
*, ScrollviewEventType)

A callback which would be called when a ScrollView is scrolling.

Deprecated:
Use
See also
ccScrollViewCallback instead.
typedef void(Ref::*
SEL_ScrollViewEvent)(Ref
*, ScrollviewEventType)

A callback which would be called when a ScrollView is scrolling.

Deprecated:
Use
See also
ccScrollViewCallback instead.
typedef void(Ref::*
SEL_ScrollViewEvent)(Ref
*, ScrollviewEventType)

A callback which would be called when a ScrollView is scrolling.

Deprecated:
Use
See also
ccScrollViewCallback instead.
typedef void(Ref::*
SEL_SelectedStateEvent)(Ref
*, CheckBoxEventType)

A callback which will be called after checkbox event happens.

Deprecated:
use CheckBox::ccCheckBoxCallback instead.
typedef void(Ref::*
SEL_SelectedStateEvent)(Ref
*, CheckBoxEventType)

A callback which will be called after checkbox event happens.

Deprecated:
use CheckBox::ccCheckBoxCallback instead.
typedef void(Ref::*
SEL_SelectedStateEvent)(Ref
*, CheckBoxEventType)

A callback which will be called after checkbox event happens.

Deprecated:
use CheckBox::ccCheckBoxCallback instead.
typedef void(Ref::*
SEL_SlidPercentChangedEvent)(Ref
*, SliderEventType)
typedef void(Ref::*
SEL_SlidPercentChangedEvent)(Ref
*, SliderEventType)
typedef void(Ref::*
SEL_SlidPercentChangedEvent)(Ref
*, SliderEventType)
typedef void(Ref::*
SEL_TextFieldEvent)(Ref
*, TextFiledEventType)

A callback which would be called when a TextField event happens.

Deprecated:
Use
See also
ccTextFieldCallback instead.
typedef void(Ref::*
SEL_TextFieldEvent)(Ref
*, TextFiledEventType)

A callback which would be called when a TextField event happens.

Deprecated:
Use
See also
ccTextFieldCallback instead.
typedef void(Ref::*
SEL_TextFieldEvent)(Ref
*, TextFiledEventType)

A callback which would be called when a TextField event happens.

Deprecated:
Use
See also
ccTextFieldCallback instead.
typedef void(Ref::*
SEL_TouchEvent)(Ref
*, TouchEventType)

Touch event callback.

Deprecated:
use Widget::ccWidgetTouchCallback instead
typedef void(Ref::*
SEL_TouchEvent)(Ref
*, TouchEventType)

Touch event callback.

Deprecated:
use Widget::ccWidgetTouchCallback instead
typedef void(Ref::*
SEL_TouchEvent)(Ref
*, TouchEventType)

Touch event callback.

Deprecated:
use Widget::ccWidgetTouchCallback instead

Function Documentation

CC_GUI_DLL const char*
cocos2d::ui::CocosGUIVersion ( )

Get current cocos GUI module version string.

Returns
A string representation of GUI module version number
var CocosGUIVersion ( )

Get current cocos GUI module version string.

Returns
A string representation of GUI module version number
local CocosGUIVersion ( )

Get current cocos GUI module version string.

Returns
A string representation of GUI module version number
EditBoxImpl*
cocos2d::ui::__createSystemEditBox ( EditBox *  pEditBox )
var __createSystemEditBox ( var  pEditBox )
local __createSystemEditBox ( local  pEditBox )

AltStyle によって変換されたページ (->オリジナル) /