cocos2d-x
3.3
|
#include "platform/CCPlatformMacros.h"
#include "ui/UIWidget.h"
#include "ui/UILayout.h"
#include "ui/UIListView.h"
#include "ui/UILoadingBar.h"
#include "ui/UIPageView.h"
#include "ui/UIRichText.h"
Namespaces | |
cocos2d | |
Add deprecated global functions and variables here. | |
cocos2d::ui | |
Typedefs | |
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 |
Variables | |
const Widget::PositionType | POSITION_ABSOLUTE = Widget::PositionType::ABSOLUTE |
const Widget::PositionType | POSITION_PERCENT = Widget::PositionType::PERCENT |
const Widget::SizeType | SIZE_ABSOLUTE = Widget::SizeType::ABSOLUTE |
const Widget::SizeType | SIZE_PERCENT = Widget::SizeType::PERCENT |
const Widget::TextureResType | UI_TEX_TYPE_LOCAL = Widget::TextureResType::LOCAL |
const Widget::TextureResType | UI_TEX_TYPE_PLIST = Widget::TextureResType::PLIST |
const Widget::BrightStyle | BRIGHT_NONE = Widget::BrightStyle::NONE |
const Widget::BrightStyle | BRIGHT_NORMAL = Widget::BrightStyle::NORMAL |
const Widget::BrightStyle | BRIGHT_HIGHLIGHT = Widget::BrightStyle::HIGHLIGHT |
const Layout::ClippingType | LAYOUT_CLIPPING_STENCIL = Layout::ClippingType::STENCIL |
const Layout::ClippingType | LAYOUT_CLIPPING_SCISSOR = Layout::ClippingType::SCISSOR |
const Layout::Type | LAYOUT_ABSOLUTE = Layout::Type::ABSOLUTE |
const Layout::Type | LAYOUT_LINEAR_VERTICAL = Layout::Type::VERTICAL |
const Layout::Type | LAYOUT_LINEAR_HORIZONTAL = Layout::Type::HORIZONTAL |
const Layout::Type | LAYOUT_RELATIVE = Layout::Type::VERTICAL |
const Layout::BackGroundColorType | LAYOUT_COLOR_NONE = Layout::BackGroundColorType::NONE |
const Layout::BackGroundColorType | LAYOUT_COLOR_SOLID = Layout::BackGroundColorType::SOLID |
const Layout::BackGroundColorType | LAYOUT_COLOR_GRADIENT = Layout::BackGroundColorType::GRADIENT |
const LayoutParameter::Type | LAYOUT_PARAMETER_NONE = LayoutParameter::Type::NONE |
const LayoutParameter::Type | LAYOUT_PARAMETER_LINEAR = LayoutParameter::Type::LINEAR |
const LayoutParameter::Type | LAYOUT_PARAMETER_RELATIVE = LayoutParameter::Type::RELATIVE |
const LinearLayoutParameter::LinearGravity | LINEAR_GRAVITY_NONE = LinearLayoutParameter::LinearGravity::NONE |
const LinearLayoutParameter::LinearGravity | LINEAR_GRAVITY_LEFT = LinearLayoutParameter::LinearGravity::LEFT |
const LinearLayoutParameter::LinearGravity | LINEAR_GRAVITY_TOP = LinearLayoutParameter::LinearGravity::TOP |
const LinearLayoutParameter::LinearGravity | 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 |
const ListView::Gravity | LISTVIEW_GRAVITY_RIGHT = ListView::Gravity::RIGHT |
const ListView::Gravity | LISTVIEW_GRAVITY_CENTER_HORIZONTAL = ListView::Gravity::CENTER_HORIZONTAL |
const ListView::Gravity | LISTVIEW_GRAVITY_TOP = ListView::Gravity::TOP |
const ListView::Gravity | LISTVIEW_GRAVITY_BOTTOM = ListView::Gravity::BOTTOM |
const ListView::Gravity | LISTVIEW_GRAVITY_CENTER_VERTICAL = ListView::Gravity::CENTER_VERTICAL |
const LoadingBar::Direction | LoadingBarTypeLeft = LoadingBar::Direction::LEFT |
const LoadingBar::Direction | LoadingBarTypeRight = LoadingBar::Direction::RIGHT |
const PageView::TouchDirection | PAGEVIEW_TOUCHLEFT = PageView::TouchDirection::LEFT |
const PageView::TouchDirection | PAGEVIEW_TOUCHRIGHT = PageView::TouchDirection::RIGHT |
const RichElement::Type | RICH_TEXT = RichElement::Type::TEXT |
const RichElement::Type | RICH_IMAGE = RichElement::Type::IMAGE |
const RichElement::Type | RICH_CUSTOM = RichElement::Type::CUSTOM |
const ScrollView::Direction | SCROLLVIEW_DIR_NONE = ScrollView::Direction::NONE |
const ScrollView::Direction | SCROLLVIEW_DIR_VERTICAL = ScrollView::Direction::VERTICAL |
const ScrollView::Direction | SCROLLVIEW_DIR_HORIZONTAL = ScrollView::Direction::HORIZONTAL |
const ScrollView::Direction | SCROLLVIEW_DIR_BOTH = ScrollView::Direction::BOTH |
const Margin | MarginZero |