2015-06-12 21:27:20 +08:00
|
|
|
#include "base/ccConfig.h"
|
2015-05-05 10:50:19 +08:00
|
|
|
#ifndef __cocos2dx_ui_h__
|
|
|
|
#define __cocos2dx_ui_h__
|
|
|
|
|
|
|
|
#include "jsapi.h"
|
|
|
|
#include "jsfriendapi.h"
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_LayoutParameter_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_LayoutParameter_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_LayoutParameter_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_LayoutParameter(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_clone(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_getLayoutType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_createCloneInstance(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_copyProperties(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutParameter_LayoutParameter(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_LinearLayoutParameter_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_LinearLayoutParameter_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_LinearLayoutParameter_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_LinearLayoutParameter_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_LinearLayoutParameter(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_LinearLayoutParameter_setGravity(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LinearLayoutParameter_getGravity(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LinearLayoutParameter_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LinearLayoutParameter_LinearLayoutParameter(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RelativeLayoutParameter_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RelativeLayoutParameter_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RelativeLayoutParameter_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RelativeLayoutParameter(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_setAlign(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_getRelativeName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_getRelativeToWidgetName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_setRelativeName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_getAlign(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeLayoutParameter_RelativeLayoutParameter(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Widget_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Widget_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Widget_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Widget_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Widget(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Widget_setLayoutComponentEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setSizePercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getCustomSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getLeftBoundary(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setFlippedX(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setCallbackName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getVirtualRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setPropagateTouchEvents(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isUnifySizeEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getSizePercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setPositionPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setSwallowTouches(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getLayoutSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setHighlighted(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setPositionType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isIgnoreContentAdaptWithSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getVirtualRendererSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isHighlighted(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getLayoutParameter(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_addCCSEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getPositionType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getTopBoundary(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_ignoreContentAdaptWithSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_findNextFocusedWidget(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isFocused(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getTouchBeganPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isTouchEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getCallbackName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getActionTag(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getWorldPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isFocusEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setFocused(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setActionTag(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setTouchEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setFlippedY(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getRightBoundary(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setBrightStyle(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setLayoutParameter(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_clone(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setFocusEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getBottomBoundary(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isBright(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_dispatchFocusEvent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setUnifySizeEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isPropagateTouchEvents(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_hitTest(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isLayoutComponentEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_requestFocus(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_updateSizeAndPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_onFocusChange(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getTouchMovePosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getSizeType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getCallbackType(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_Widget_addTouchEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Widget_getTouchEndPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_getPositionPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_propagateTouchEvent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_addClickEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isFlippedX(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isFlippedY(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isClippingParentContainsPoint(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setSizeType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_interceptTouchEvent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setBright(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_setCallbackType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_isSwallowTouches(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_enableDpadNavigation(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 12:09:43 +08:00
|
|
|
bool js_cocos2dx_ui_Widget_getCurrentFocusedWidget(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Widget_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Widget_Widget(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Layout_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Layout_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Layout_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Layout_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Layout(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundColorVector(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setClippingType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundColorType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setLoopFocus(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundImageColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundColorVector(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getClippingType(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Layout_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Layout_isLoopFocus(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_removeBackGroundImage(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundColorOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_isClippingEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundImageOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundImage(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_requestDoLayout(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundImageCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setClippingEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundImageColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_isBackGroundImageScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundColorType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundEndColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundColorOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundImageOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_isPassFocusToChild(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundImageCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundImageTextureSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_forceDoLayout(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getLayoutType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setPassFocusToChild(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_getBackGroundStartColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_setLayoutType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Layout_Layout(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Button_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Button_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Button_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Button_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Button(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Button_getNormalTextureSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_getTitleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Button_resetPressedRender(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Button_resetDisabledRender(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getTitleRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-15 09:35:59 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getRendererClicked(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getDisabledFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_getCapInsetsDisabledRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setTitleColor(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_resetNormalRender(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-15 09:35:59 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getRendererDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_loadTextureDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setTitleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setCapInsetsNormalRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_loadTexturePressed(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setTitleFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_getCapInsetsNormalRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-27 17:08:33 +08:00
|
|
|
bool js_cocos2dx_ui_Button_setTitleAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getCapInsetsPressedRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_loadTextures(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_loadTextureNormal(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setCapInsetsPressedRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getPressedFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-15 09:35:59 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getRendererNormal(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Button_getTitleFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_getTitleColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setPressedActionEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Button_Button(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2015-07-03 18:37:33 +08:00
|
|
|
extern JSClass *jsb_cocos2d_ui_AbstractCheckButton_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_AbstractCheckButton_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_AbstractCheckButton_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_AbstractCheckButton(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
2015-12-07 11:30:43 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getCrossDisabledFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getBackDisabledFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureBackGroundSelected(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureBackGroundDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getCrossNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_setSelected(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getBackPressedFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-08-24 18:13:27 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getRendererFrontCrossDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getRendererBackground(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureFrontCross(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-08-24 18:13:27 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getRendererBackgroundDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_isSelected(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_init(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getBackNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_loadTextures(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-08-24 18:13:27 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getRendererFrontCross(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_getRendererBackgroundSelected(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureBackGround(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureFrontCrossDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2015-05-05 10:50:19 +08:00
|
|
|
extern JSClass *jsb_cocos2d_ui_CheckBox_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_CheckBox_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_CheckBox_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_CheckBox_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_CheckBox(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_CheckBox_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_CheckBox_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_CheckBox_CheckBox(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2015-07-03 18:37:33 +08:00
|
|
|
extern JSClass *jsb_cocos2d_ui_RadioButton_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RadioButton_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RadioButton_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RadioButton_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RadioButton(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_RadioButton_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_RadioButton_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButton_RadioButton(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RadioButtonGroup_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RadioButtonGroup_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RadioButtonGroup_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RadioButtonGroup(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_removeRadioButton(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_isAllowedNoSelection(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_getSelectedButtonIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_setAllowedNoSelection(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-08-24 18:13:27 +08:00
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_setSelectedButtonWithoutEvent(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-08-24 18:13:27 +08:00
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_removeAllRadioButtons(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_getRadioButtonByIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_getNumberOfRadioButtons(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_addRadioButton(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_setSelectedButton(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RadioButtonGroup_RadioButtonGroup(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2015-05-05 10:50:19 +08:00
|
|
|
extern JSClass *jsb_cocos2d_ui_ImageView_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_ImageView_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_ImageView_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_ImageView_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_ImageView(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_ImageView_loadTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_setTextureRect(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_ImageView_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ImageView_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ImageView_ImageView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Text_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Text_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Text_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Text_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Text(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Text_enableShadow(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getString(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_disableEffect(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getLabelEffectType(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getTextColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_setTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_setFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_setTouchScaleChangeEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getShadowOffset(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_setString(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getOutlineSize(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_init(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getShadowBlurRadius(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_isTouchScaleChangeEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_setTextAreaSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getStringLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getAutoRenderSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_enableOutline(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getEffectColor(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_isShadowEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_setFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-15 12:31:50 +08:00
|
|
|
bool js_cocos2dx_ui_Text_getShadowColor(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Text_setTextColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_enableGlow(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_getTextAreaSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_setTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Text_Text(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_TextAtlas_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_TextAtlas_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_TextAtlas_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_TextAtlas(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_getStringLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_getString(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_setString(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_TextAtlas_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextAtlas_setProperty(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_adaptRenderers(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextAtlas_TextAtlas(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_LoadingBar_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_LoadingBar_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_LoadingBar_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_LoadingBar(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_setPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_loadTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_setDirection(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_LoadingBar_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_LoadingBar_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_getDirection(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_getPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LoadingBar_LoadingBar(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_ScrollView_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_ScrollView_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_ScrollView_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_ScrollView_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_ScrollView(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToTop(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToPercentHorizontal(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-14 13:41:48 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_isInertiaScrollEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-02-01 14:34:11 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToBottom(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getDirection(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarColor(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToBottomLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_getInnerContainer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToBottom(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-14 13:41:48 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setInnerContainerPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setDirection(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToTopLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToTopRight(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-02-01 14:34:11 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToPercentBothDirection(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setInnerContainerSize(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-14 13:41:48 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getInnerContainerPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getInnerContainerSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_isBounceEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToPercentVertical(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarAutoHideTime(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarPositionFromCornerForHorizontal(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setInertiaScrollEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-14 13:41:48 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarAutoHideEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getScrollBarColor(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToTopLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToPercentHorizontal(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToBottomRight(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-01-21 10:37:23 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setTouchTotalTimeThreshold(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_getTouchTotalTimeThreshold(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getScrollBarPositionFromCornerForHorizontal(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setBounceEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-02-01 14:34:11 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_stopAutoScroll(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToTop(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToPercentBothDirection(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getScrollBarPositionFromCornerForVertical(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToPercentVertical(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-14 13:41:48 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_getScrollBarOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToBottomRight(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarPositionFromCorner(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_setScrollBarPositionFromCornerForVertical(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_getScrollBarAutoHideTime(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToRight(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-07 14:05:39 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_isScrollBarEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_getScrollBarWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_isScrollBarAutoHideEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-02-01 14:34:11 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToBottomLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ScrollView_jumpToRight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_scrollToTopRight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollView_ScrollView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_ListView_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_ListView_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_ListView_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_ListView_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_ListView(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_ListView_setGravity(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_removeLastItem(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getCenterItemInCurrentView(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_getCurSelectedIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_getItemsMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-21 18:43:59 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_jumpToItem(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_setMagneticType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_pushBackCustomItem(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_insertDefaultItem(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_setMagneticAllowedOutOfBoundary(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_doLayout(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getTopmostItemInCurrentView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_removeAllItems(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getBottommostItemInCurrentView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getItems(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getLeftmostItemInCurrentView(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_setItemsMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_getMagneticType(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_getItem(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_removeItem(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_scrollToItem(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_pushBackDefaultItem(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-09-11 17:59:04 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_getMagneticAllowedOutOfBoundary(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getClosestItemToPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getRightmostItemInCurrentView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_getClosestItemToPositionInCurrentView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_setItemModel(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_ListView_insertCustomItem(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ListView_ListView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Slider_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Slider_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Slider_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Slider_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Slider(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Slider_setPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-03 18:37:33 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getMaxPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_loadSlidBallTextureNormal(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_loadProgressBarTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getBallNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getBallPressedFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-19 17:12:27 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_setCapInsetProgressBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_loadSlidBallTextures(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_setMaxPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_loadBarTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_getProgressBarFile(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_getCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-19 17:12:27 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getCapInsetsProgressBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_loadSlidBallTexturePressed(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getBackFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-07 11:30:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getBallDisabledFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_setCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_getPercent(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Slider_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Slider_Slider(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_UICCTextField_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_UICCTextField_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_UICCTextField_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_UICCTextField(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_onTextFieldAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setPasswordText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_getDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_getAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_onTextFieldDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_getInsertText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_deleteBackward(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setInsertText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_getDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_getCharCount(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_closeIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_isPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_insertText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setPasswordStyleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_onTextFieldInsertText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_onTextFieldDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_getMaxLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_isMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_openIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setMaxLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_setDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_UICCTextField_UICCTextField(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_TextField_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_TextField_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_TextField_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_TextField_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_TextField(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_TextField_setAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getString(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setPasswordStyleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-27 16:00:53 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_getTextColor(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_getPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getAttachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getInsertText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setInsertText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setString(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_didNotSelectSelf(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setTextAreaSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_attachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getStringLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getAutoRenderSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getPlaceHolderColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getPasswordStyleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_isPasswordEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setDeleteBackward(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-27 16:00:53 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_getTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_setFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setPlaceHolderColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setTextHorizontalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setTextColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getMaxLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_isMaxLengthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setDetachWithIME(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-27 16:00:53 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_getTextVerticalAlignment(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextField_setTouchAreaEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setMaxLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_setTouchSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_getTouchSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextField_TextField(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_TextBMFont_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_TextBMFont_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_TextBMFont_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_TextBMFont_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_TextBMFont(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_TextBMFont_getStringLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextBMFont_getString(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_TextBMFont_setString(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextBMFont_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextBMFont_setFntFile(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-21 19:36:07 +08:00
|
|
|
bool js_cocos2dx_ui_TextBMFont_resetRender(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_TextBMFont_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TextBMFont_TextBMFont(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_PageView_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_PageView_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_PageView_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_PageView_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_PageView(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
2015-11-17 12:09:43 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_setIndicatorSpaceBetweenIndexNodes(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_setIndicatorSelectedIndexColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_getIndicatorSelectedIndexColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_getIndicatorPositionAsAnchorPoint(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_setIndicatorPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_getIndicatorPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_insertPage(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 12:09:43 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_getCurrentPageIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_removePage(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-12-01 12:32:19 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_addEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 12:09:43 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_setCurrentPageIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_getIndicatorEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_scrollToPage(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 12:09:43 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_setIndicatorPositionAsAnchorPoint(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_scrollToItem(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_setIndicatorEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_addPage(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 12:09:43 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_getIndicatorSpaceBetweenIndexNodes(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_removeAllPages(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_removePageAtIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_PageView_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_PageView_PageView(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Helper_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Helper_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Helper_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Helper_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Helper(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Helper_getSubStringOfUTF8String(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-08-09 10:32:59 +08:00
|
|
|
bool js_cocos2dx_ui_Helper_convertBoundingBoxToScreen(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Helper_changeLayoutSystemActiveState(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Helper_seekActionWidgetByActionTag(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Helper_seekWidgetByName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Helper_seekWidgetByTag(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Helper_restrictCapInsetRect(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Helper_doLayout(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RichElement_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RichElement_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RichElement_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RichElement_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RichElement(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RichElement_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichElement_RichElement(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RichElementText_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RichElementText_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RichElementText_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RichElementText_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RichElementText(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RichElementText_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichElementText_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichElementText_RichElementText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RichElementImage_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RichElementImage_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RichElementImage_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RichElementImage_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RichElementImage(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
2016-01-20 18:21:41 +08:00
|
|
|
bool js_cocos2dx_ui_RichElementImage_setHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_RichElementImage_init(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-01-20 18:21:41 +08:00
|
|
|
bool js_cocos2dx_ui_RichElementImage_setWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_RichElementImage_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichElementImage_RichElementImage(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RichElementCustomNode_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RichElementCustomNode_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RichElementCustomNode_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RichElementCustomNode_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RichElementCustomNode(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RichElementCustomNode_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichElementCustomNode_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichElementCustomNode_RichElementCustomNode(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RichText_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RichText_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RichText_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RichText_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RichText(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RichText_insertElement(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichText_pushBackElement(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-01-22 22:25:59 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_setWrapMode(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_setVerticalSpace(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-01-22 22:25:59 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_getWrapMode(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_formatText(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-01-20 18:21:41 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_initWithXML(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_removeElement(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RichText_create(JSContext *cx, uint32_t argc, jsval *vp);
|
2016-01-20 18:21:41 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_createWithXML(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_RichText_RichText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_HBox_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_HBox_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_HBox_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_HBox_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_HBox(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_HBox_initWithSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_HBox_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_HBox_HBox(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_VBox_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_VBox_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_VBox_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_VBox_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_VBox(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_VBox_initWithSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_VBox_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_VBox_VBox(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_RelativeBox_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_RelativeBox_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_RelativeBox_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_RelativeBox_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_RelativeBox(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_RelativeBox_initWithSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeBox_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_RelativeBox_RelativeBox(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_Scale9Sprite_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_Scale9Sprite_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_Scale9Sprite_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_Scale9Sprite(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_disableCascadeColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_updateWithSprite(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_isFlippedX(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setFlippedY(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setFlippedX(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_resizableSpriteWithCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_disableCascadeOpacity(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-07-15 16:23:23 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getState(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setState(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setInsetBottom(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrameName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getSprite(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setInsetTop(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 10:56:26 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setRenderingType(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_init(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setPreferredSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setSpriteFrame(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getBlendFunc(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getInsetBottom(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-25 17:28:43 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_resetRender(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-11-17 10:56:26 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getRenderingType(JSContext *cx, uint32_t argc, jsval *vp);
|
2015-05-05 10:50:19 +08:00
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getInsetRight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getOriginalSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_initWithFile(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setBlendFunc(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getInsetTop(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setInsetLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_initWithSpriteFrame(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getPreferredSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_isFlippedY(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_getInsetLeft(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_setInsetRight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrameName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_createWithSpriteFrame(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_Scale9Sprite_Scale9Sprite(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_EditBox_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_EditBox_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_EditBox_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_EditBox_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_EditBox(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_EditBox_getText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setPlaceholderFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_getPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setPlaceholderFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setInputMode(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setPlaceholderFontColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setFontColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setPlaceholderFont(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_initWithSizeAndBackgroundSprite(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setPlaceHolder(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setReturnType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setInputFlag(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_getMaxLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setMaxLength(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_setFont(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_EditBox_EditBox(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_LayoutComponent_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_LayoutComponent_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_LayoutComponent_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_LayoutComponent(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setStretchWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPercentWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getAnchorPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPositionPercentXEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setStretchHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setActiveEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getRightMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setAnchorPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_refreshLayout(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_isPercentWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setVerticalEdge(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getTopMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setSizeWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getVerticalEdge(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPercentWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_isStretchWidthEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setLeftMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getSizeWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPositionPercentYEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getSizeHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getPositionPercentY(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getPositionPercentX(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setTopMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getPercentHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getUsingPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPositionPercentY(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPositionPercentX(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setRightMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_isPositionPercentYEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPercentHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPercentOnlyEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setHorizontalEdge(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setUsingPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getLeftMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getPosition(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setSizeHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_isPositionPercentXEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getBottomMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPercentHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setPercentContentSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_isPercentHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getPercentWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_getHorizontalEdge(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_isStretchHeightEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setBottomMargin(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_setSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_bindLayoutComponent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_LayoutComponent_LayoutComponent(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2016-03-04 16:14:39 +08:00
|
|
|
extern JSClass *jsb_cocos2d_ui_TabHeader_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_TabHeader_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_TabHeader_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_TabHeader_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_TabHeader(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_getIndexInTabControl(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_getTitleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_setTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_setTitleFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_getTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_getTitleFontName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_getTitleColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_getTitleRenderer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_setTitleText(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_setTitleColor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabHeader_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
|
|
|
extern JSClass *jsb_cocos2d_ui_TabControl_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_TabControl_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_TabControl_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_TabControl_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_TabControl(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_TabControl_setHeaderWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_removeTab(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getTabCount(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getHeaderDockPlace(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getSelectedTabIndex(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_insertTab(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_ignoreHeadersTextureSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getHeaderWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_setHeaderDockPlace(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_setSelectTab(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getTabHeader(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_isIgnoreHeadersTextureSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_setTabChangedEventListener(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_setHeaderSelectedZoom(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_setHeaderHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_indexOfTabHeader(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getTabContainer(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getHeaderSelectedZoom(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_getHeaderHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_TabControl_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2015-07-30 18:50:00 +08:00
|
|
|
extern JSClass *jsb_cocos2d_ui_ScrollViewBar_class;
|
|
|
|
extern JSObject *jsb_cocos2d_ui_ScrollViewBar_prototype;
|
|
|
|
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
void js_cocos2dx_ui_ScrollViewBar_finalize(JSContext *cx, JSObject *obj);
|
|
|
|
void js_register_cocos2dx_ui_ScrollViewBar(JSContext *cx, JS::HandleObject global);
|
|
|
|
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_setAutoHideEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_onScrolled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_isAutoHideEnabled(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_setAutoHideTime(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_getWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_getPositionFromCorner(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_setPositionFromCorner(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_getAutoHideTime(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_setWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
bool js_cocos2dx_ui_ScrollViewBar_ScrollViewBar(JSContext *cx, uint32_t argc, jsval *vp);
|
|
|
|
|
2015-06-12 21:27:20 +08:00
|
|
|
#endif // __cocos2dx_ui_h__
|