mirror of https://github.com/axmolengine/axmol.git
407 lines
11 KiB
JSON
407 lines
11 KiB
JSON
|
{
|
||
|
"classname": null,
|
||
|
"name": null,
|
||
|
"animation": {
|
||
|
"classname": null,
|
||
|
"name": "AnimationManager",
|
||
|
"actionlist": []
|
||
|
},
|
||
|
"designHeight": 320,
|
||
|
"designWidth": 480,
|
||
|
"textures": [],
|
||
|
"version": "0.3.2.0",
|
||
|
"widgetTree": {
|
||
|
"classname": "Panel",
|
||
|
"name": null,
|
||
|
"children": [
|
||
|
{
|
||
|
"classname": "Panel",
|
||
|
"name": null,
|
||
|
"children": [],
|
||
|
"options": {
|
||
|
"__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Panel",
|
||
|
"name": "Panel",
|
||
|
"ZOrder": 1,
|
||
|
"actiontag": 109,
|
||
|
"anchorPointX": 0,
|
||
|
"anchorPointY": 0,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 57,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 82,
|
||
|
"touchAble": false,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 480,
|
||
|
"x": 0,
|
||
|
"xProportion": 0,
|
||
|
"y": 263,
|
||
|
"yProportion": 0.821875,
|
||
|
"backGroundImage": null,
|
||
|
"backGroundImageData": {
|
||
|
"path": "ribbon.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"backGroundScale9Enable": true,
|
||
|
"bgColorB": 255,
|
||
|
"bgColorG": 200,
|
||
|
"bgColorOpacity": 100,
|
||
|
"bgColorR": 150,
|
||
|
"bgEndColorB": 255,
|
||
|
"bgEndColorG": 0,
|
||
|
"bgEndColorR": 0,
|
||
|
"bgStartColorB": 255,
|
||
|
"bgStartColorG": 255,
|
||
|
"bgStartColorR": 255,
|
||
|
"capInsetsHeight": 66.6666641,
|
||
|
"capInsetsWidth": 66.6666641,
|
||
|
"capInsetsX": 66.6666641,
|
||
|
"capInsetsY": 66.6666641,
|
||
|
"clipAble": false,
|
||
|
"colorType": 0,
|
||
|
"vectorX": 0,
|
||
|
"vectorY": -0.5
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"classname": "Label",
|
||
|
"name": null,
|
||
|
"children": [],
|
||
|
"options": {
|
||
|
"__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Label",
|
||
|
"name": "UItest",
|
||
|
"ZOrder": 1,
|
||
|
"actiontag": 115,
|
||
|
"anchorPointX": 0.5,
|
||
|
"anchorPointY": 0.5,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 20,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 88,
|
||
|
"touchAble": false,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 70,
|
||
|
"x": 240,
|
||
|
"xProportion": 0.5,
|
||
|
"y": 307,
|
||
|
"yProportion": 0.959375,
|
||
|
"fontName": "SongTypeFont",
|
||
|
"fontSize": 20,
|
||
|
"fontType": 0,
|
||
|
"text": "UI_test",
|
||
|
"touchSacleEnable": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"classname": "Button",
|
||
|
"name": null,
|
||
|
"children": [],
|
||
|
"options": {
|
||
|
"__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Button",
|
||
|
"name": "right_Button",
|
||
|
"ZOrder": 5,
|
||
|
"actiontag": 113,
|
||
|
"anchorPointX": 0.5,
|
||
|
"anchorPointY": 0.5,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 46,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 86,
|
||
|
"touchAble": true,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 79,
|
||
|
"x": 338,
|
||
|
"xProportion": 0.704166651,
|
||
|
"y": 23,
|
||
|
"yProportion": 0.071875,
|
||
|
"capInsetsHeight": 15.333333,
|
||
|
"capInsetsWidth": 26.333334,
|
||
|
"capInsetsX": 26.333334,
|
||
|
"capInsetsY": 15.333333,
|
||
|
"disabled": null,
|
||
|
"disabledData": {
|
||
|
"path": "f2.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"normal": null,
|
||
|
"normalData": {
|
||
|
"path": "f1.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"pressed": null,
|
||
|
"pressedData": {
|
||
|
"path": "f2.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"scale9Enable": false,
|
||
|
"scale9Height": 46,
|
||
|
"scale9Width": 79
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"classname": "Button",
|
||
|
"name": null,
|
||
|
"children": [],
|
||
|
"options": {
|
||
|
"__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Button",
|
||
|
"name": "left_Button",
|
||
|
"ZOrder": 4,
|
||
|
"actiontag": 112,
|
||
|
"anchorPointX": 0.5,
|
||
|
"anchorPointY": 0.5,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 46,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 85,
|
||
|
"touchAble": true,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 79,
|
||
|
"x": 142,
|
||
|
"xProportion": 0.295833319,
|
||
|
"y": 23,
|
||
|
"yProportion": 0.071875,
|
||
|
"capInsetsHeight": 15.333333,
|
||
|
"capInsetsWidth": 26.333334,
|
||
|
"capInsetsX": 26.333334,
|
||
|
"capInsetsY": 15.333333,
|
||
|
"disabled": null,
|
||
|
"disabledData": {
|
||
|
"path": "b2.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"normal": null,
|
||
|
"normalData": {
|
||
|
"path": "b1.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"pressed": null,
|
||
|
"pressedData": {
|
||
|
"path": "b2.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"scale9Enable": false,
|
||
|
"scale9Height": 46,
|
||
|
"scale9Width": 79
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"classname": "Button",
|
||
|
"name": null,
|
||
|
"children": [],
|
||
|
"options": {
|
||
|
"__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Button",
|
||
|
"name": "middle_Button",
|
||
|
"ZOrder": 3,
|
||
|
"actiontag": 111,
|
||
|
"anchorPointX": 0.5,
|
||
|
"anchorPointY": 0.5,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 47,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 84,
|
||
|
"touchAble": true,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 49,
|
||
|
"x": 240,
|
||
|
"xProportion": 0.5,
|
||
|
"y": 23,
|
||
|
"yProportion": 0.071875,
|
||
|
"capInsetsHeight": 15.666667,
|
||
|
"capInsetsWidth": 16.333334,
|
||
|
"capInsetsX": 16.333334,
|
||
|
"capInsetsY": 15.666667,
|
||
|
"disabled": null,
|
||
|
"disabledData": {
|
||
|
"path": "r2.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"normal": null,
|
||
|
"normalData": {
|
||
|
"path": "r1.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"pressed": null,
|
||
|
"pressedData": {
|
||
|
"path": "r2.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"scale9Enable": false,
|
||
|
"scale9Height": 47,
|
||
|
"scale9Width": 49
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"classname": "Panel",
|
||
|
"name": null,
|
||
|
"children": [],
|
||
|
"options": {
|
||
|
"__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Panel",
|
||
|
"name": "background_Panel",
|
||
|
"ZOrder": 2,
|
||
|
"actiontag": 110,
|
||
|
"anchorPointX": 0,
|
||
|
"anchorPointY": 0,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 170,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 83,
|
||
|
"touchAble": false,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 300,
|
||
|
"x": 90,
|
||
|
"xProportion": 0.1875,
|
||
|
"y": 75,
|
||
|
"yProportion": 0.234375,
|
||
|
"backGroundImage": null,
|
||
|
"backGroundImageData": {
|
||
|
"path": "buttonBackground.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"backGroundScale9Enable": true,
|
||
|
"bgColorB": 255,
|
||
|
"bgColorG": 200,
|
||
|
"bgColorOpacity": 100,
|
||
|
"bgColorR": 150,
|
||
|
"bgEndColorB": 255,
|
||
|
"bgEndColorG": 0,
|
||
|
"bgEndColorR": 0,
|
||
|
"bgStartColorB": 255,
|
||
|
"bgStartColorG": 255,
|
||
|
"bgStartColorR": 255,
|
||
|
"capInsetsHeight": 0,
|
||
|
"capInsetsWidth": 0,
|
||
|
"capInsetsX": 0,
|
||
|
"capInsetsY": 0,
|
||
|
"clipAble": false,
|
||
|
"colorType": 1,
|
||
|
"vectorX": 0,
|
||
|
"vectorY": -0.5
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"options": {
|
||
|
"__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI",
|
||
|
"classname": "Panel",
|
||
|
"name": "root_Panel",
|
||
|
"ZOrder": 0,
|
||
|
"actiontag": -1,
|
||
|
"anchorPointX": 0,
|
||
|
"anchorPointY": 0,
|
||
|
"classType": null,
|
||
|
"colorB": 255,
|
||
|
"colorG": 255,
|
||
|
"colorR": 255,
|
||
|
"flipX": false,
|
||
|
"flipY": false,
|
||
|
"height": 320,
|
||
|
"opacity": 255,
|
||
|
"rotation": 0,
|
||
|
"scaleX": 1,
|
||
|
"scaleY": 1,
|
||
|
"tag": 81,
|
||
|
"touchAble": false,
|
||
|
"useMergedTexture": false,
|
||
|
"visible": true,
|
||
|
"width": 480,
|
||
|
"x": 0,
|
||
|
"xProportion": 0,
|
||
|
"y": 0,
|
||
|
"yProportion": 0,
|
||
|
"backGroundImage": null,
|
||
|
"backGroundImageData": {
|
||
|
"path": "background.png",
|
||
|
"plistFile": null,
|
||
|
"resourceType": 0
|
||
|
},
|
||
|
"backGroundScale9Enable": false,
|
||
|
"bgColorB": 255,
|
||
|
"bgColorG": 255,
|
||
|
"bgColorOpacity": 255,
|
||
|
"bgColorR": 255,
|
||
|
"bgEndColorB": 255,
|
||
|
"bgEndColorG": 0,
|
||
|
"bgEndColorR": 0,
|
||
|
"bgStartColorB": 255,
|
||
|
"bgStartColorG": 255,
|
||
|
"bgStartColorR": 255,
|
||
|
"capInsetsHeight": 106.666664,
|
||
|
"capInsetsWidth": 160,
|
||
|
"capInsetsX": 160,
|
||
|
"capInsetsY": 106.666664,
|
||
|
"clipAble": false,
|
||
|
"colorType": 0,
|
||
|
"vectorX": 0,
|
||
|
"vectorY": -0.5
|
||
|
}
|
||
|
}
|
||
|
}
|