Merge pull request #11949 from jianglong0156/modifyTestResource

Modify test resource
This commit is contained in:
minggo 2015-05-22 09:49:08 +08:00
commit 1a1860e126
44 changed files with 641 additions and 641 deletions

Binary file not shown.

Binary file not shown.

View File

@ -558,9 +558,9 @@ var TestParticleDisplay = ArmatureTestLayer.extend({
this.armature.getAnimation().setSpeedScale(0.5);
this.addChild(this.armature);
var p1 = new cc.ParticleSystem("res/Particles/SmallSun.plist");
var p1 = new cc.ParticleSystem("Particles/SmallSun.plist");
p1.setTotalParticles(30);
var p2 = new cc.ParticleSystem("res/Particles/SmallSun.plist");
var p2 = new cc.ParticleSystem("Particles/SmallSun.plist");
p2.setTotalParticles(30);
var bone = new ccs.Bone("p1");
bone.addDisplay(p1, 0);

View File

@ -42,7 +42,7 @@ var ComponentsTestLayer = cc.LayerColor.extend({
createGameScene: function () {
var root = new cc.Node();
var winSize = cc.director.getWinSize();
var player = new cc.Sprite("res/components/Player.png", cc.rect(0, 0, 27, 40));
var player = new cc.Sprite("components/Player.png", cc.rect(0, 0, 27, 40));
player.x = 30;
player.y = winSize.height / 2;
root.addChild(player, 1, 1);
@ -59,7 +59,7 @@ var ComponentsTestLayer = cc.LayerColor.extend({
},
toExtensionsMainLayer: function (sender) {
cc.audioEngine.stopMusic("res/Sound/background-music-aac.wav");
cc.audioEngine.stopMusic("background-music-aac.wav");
var scene = new CocoStudioTestScene();
scene.runThisTest();
}

View File

@ -44,14 +44,14 @@ var PlayerController = ccs.ComController.extend({
onTouchesEnded: function (touch, event) {
var location = touch[0].getLocation();
var projectile = new cc.Sprite("res/components/Projectile.png", cc.rect(0, 0, 20, 20));
var projectile = new cc.Sprite("components/Projectile.png", cc.rect(0, 0, 20, 20));
this.getOwner().parent.addChild(projectile, 1, 4);
var com = ProjectileController.create();
projectile.addComponent(com);
com.move(location.x, location.y);
this.getOwner().getComponent("Audio").playEffect("res/Sound/pew-pew-lei.wav");
this.getOwner().getComponent("Audio").playEffect("pew-pew-lei.wav");
},
onExit:function(){
cc.eventManager.removeListener(this._listener1);

View File

@ -43,7 +43,7 @@ var SceneController = ccs.ComController.extend({
this._addTargetTime = 1;
this._targets = [];
this._projectiles = [];
this.getOwner().getComponent("Audio").playBackgroundMusic("res/Sound/background-music-aac.wav", true);
this.getOwner().getComponent("Audio").playBackgroundMusic("background-music-aac.wav", true);
this.getOwner().getComponent("CCComAttribute").setInt("KillCount", 0);
},
@ -60,7 +60,7 @@ var SceneController = ccs.ComController.extend({
},
addTarget: function () {
var target = new cc.Sprite("res/components/Target.png", cc.rect(0, 0, 27, 40));
var target = new cc.Sprite("components/Target.png", cc.rect(0, 0, 27, 40));
this.getOwner().addChild(target, 1, 2);
target.addComponent(EnemyController.create());
target.tag = 2;

View File

@ -33,7 +33,7 @@ var CustomImageLayer = cc.Layer.extend({
customImageViewReader,
customImageViewReader.setProperties);
var layout = guiReader.widgetFromJsonFile("res/cocosui/CustomImageViewTest/NewProject_2_1.ExportJson");
var layout = guiReader.widgetFromJsonFile("css-res/cocosui/CustomImageViewTest/NewProject_2_1.ExportJson");
this.addChild(layout);
}
});

View File

@ -35,7 +35,7 @@ var CustomParticleWidgetLayer = cc.Layer.extend({
var custom = CustomParticleWidget.create();
custom.setPosition(cc.p(370, 210));
custom.setParticlePlist("res/Particles/BoilingFoam.plist");
custom.setParticlePlist("Particles/BoilingFoam.plist");
this.addChild(custom, 10, -1);
}

View File

@ -27,7 +27,7 @@
var UIButtonEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/Button/Button_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UIButton/Button_1.json");
this._mainNode.addChild(root);
var back_label = ccui.helper.seekWidgetByName(root, "back");

View File

@ -29,7 +29,7 @@ var UICheckBoxEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var left_button = new ccui.Button();
left_button.loadTextures("res/Images/b1.png", "res/Images/b2.png", "");
left_button.loadTextures("Images/b1.png", "Images/b2.png", "");
left_button.x = 240-50;
left_button.y = 50;
left_button.anchorX = 0.5;
@ -38,7 +38,7 @@ var UICheckBoxEditorTest = UIBaseLayer.extend({
this._mainNode.addChild(left_button, 999);
var right_button = new ccui.Button();
right_button.loadTextures("res/Images/f1.png", "res/Images/f2.png", "");
right_button.loadTextures("Images/f1.png", "Images/f2.png", "");
right_button.x = 240+50;
right_button.y = 50;
right_button.anchorX = 0.5;
@ -86,7 +86,7 @@ var UICheckBoxEditorTest = UIBaseLayer.extend({
var UICheckBoxOldTest = UICheckBoxEditorTest.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/CheckBox/checkbox_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UICheckBox/checkbox_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");
@ -100,7 +100,7 @@ var UICheckBoxOldTest = UICheckBoxEditorTest.extend({
var UICheckBoxNewTest = UICheckBoxEditorTest.extend({
ctor: function () {
this._super();
var root = ccs.load("res/cocosui/CCS/CheckBox/MainScene.json");
var root = ccs.load("ccs-res/cocosui/UIEditorTest/UICheckBox/MainScene.json");
this._mainNode.addChild(root.node);
var checkbox = ccui.helper.seekWidgetByName(root.node, "CheckBox_1");
checkbox.addEventListener(this.selectedStateEvent,this);

View File

@ -27,7 +27,7 @@
var UIImageViewEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/ImageView/ImageView_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UIImageView/ImageView_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -24,15 +24,15 @@
THE SOFTWARE.
****************************************************************************/
var LAYOUT_RES = [
"res/cocosui/CCS/Layout/Layout/layout_1.json",
"res/cocosui/CCS/Layout/Color/color_1.json",
"res/cocosui/CCS/Layout/Gradient_Color/gradient_color_1.json",
"res/cocosui/CCS/Layout/BackgroundImage/backgroundimage_1.json",
"res/cocosui/CCS/Layout/Scale9/scale9.json",
"res/cocosui/CCS/Layout/Linear_Vertical/linear_vertical.json",
"res/cocosui/CCS/Layout/Linear_Horizontal/linear_horizontal.json",
"res/cocosui/CCS/Layout/Relative_Align_Parent/relative_align_parent.json",
"res/cocosui/CCS/Layout/Relative_Align_Location/relative_align_location.json"
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/layout_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/color_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/gradient_color_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/backgroundimage_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/scale9.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/linear_vertical.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/linear_horizontal.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/relative_align_parent.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/relative_align_location.json"
];
var LAYOUT_INDEX = 0;
var UILayoutEditorTest = UIBaseLayer.extend({
@ -45,7 +45,7 @@ var UILayoutEditorTest = UIBaseLayer.extend({
back_label.addTouchEventListener(this.backEvent, this);
var left_button = new ccui.Button();
left_button.loadTextures("res/Images/b1.png", "res/Images/b2.png", "");
left_button.loadTextures("Images/b1.png", "Images/b2.png", "");
left_button.x = 240-50;
left_button.y = 50;
left_button.anchorX = 0.5;
@ -55,7 +55,7 @@ var UILayoutEditorTest = UIBaseLayer.extend({
this._mainNode.addChild(left_button);
var right_button = new ccui.Button();
right_button.loadTextures("res/Images/f1.png", "res/Images/f2.png", "");
right_button.loadTextures("Images/f1.png", "Images/f2.png", "");
right_button.x = 240+50;
right_button.y = 50;
right_button.zOrder = 999;

View File

@ -24,8 +24,8 @@
THE SOFTWARE.
****************************************************************************/
var LISTVIEW_RES = [
"res/cocosui/CCS/ListView/Vertical/vertical_1.json",
"res/cocosui/CCS/ListView/Horizontal/horizontal_1.json"
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/vertical_1.json",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/horizontal_1.json"
];
var LISTVIEW_INDEX = 0;
var UIListViewEditorTest = UIBaseLayer.extend({
@ -41,7 +41,7 @@ var UIListViewEditorTest = UIBaseLayer.extend({
listView.addEventListener(this.selectedItemEvent,this);
var left_button = new ccui.Button();
left_button.loadTextures("res/Images/b1.png", "res/Images/b2.png", "");
left_button.loadTextures("Images/b1.png", "Images/b2.png", "");
left_button.x = 240-50;
left_button.y = 50;
left_button.anchorX = 0.5;
@ -51,7 +51,7 @@ var UIListViewEditorTest = UIBaseLayer.extend({
this._mainNode.addChild(left_button);
var right_button = new ccui.Button();
right_button.loadTextures("res/Images/f1.png", "res/Images/f2.png", "");
right_button.loadTextures("Images/f1.png", "Images/f2.png", "");
right_button.x = 240+50;
right_button.y = 50;
right_button.zOrder = 999;

View File

@ -30,7 +30,7 @@ var UILoadingBarEditorTest = UIBaseLayer.extend({
_loadingBar_right_to_left:null,
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/LoadingBar/loadingbar_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UILoadingBar/loadingbar_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -27,13 +27,13 @@
var UIWidgetAddNodeEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/WidgetAddNode/widget_add_node.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UIWidgetAddNode/widget_add_node.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");
back_label.addTouchEventListener(this.backEvent,this);
var sprite = new cc.Sprite("res/cocosui/ccicon.png");
var sprite = new cc.Sprite("ccs-res/cocosui/ccicon.png");
sprite.x = 240;
sprite.y = 160;
root.addNode(sprite,9999);

View File

@ -27,7 +27,7 @@
var UIPageViewEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/PageView/pageview_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UIPageView/pageview_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -35,7 +35,7 @@ var UIRichTextTest = UISceneEditor.extend({
var widgetSize = this._widget.getContentSize();
var button = new ccui.Button();
button.setTouchEnabled(true);
button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
button.setTitleText("switch");
button.setPosition(cc.p(widgetSize.width / 2, widgetSize.height / 2 + button.getContentSize().height * 2.5));
button.addTouchEventListener(this.touchEvent,this);
@ -53,9 +53,9 @@ var UIRichTextTest = UISceneEditor.extend({
var re4 = new ccui.RichElementText(4, cc.color.GREEN, 255, "And green. ", "Helvetica", 10);
var re5 = new ccui.RichElementText(5, cc.color.RED, 255, "Last one is red ", "Helvetica", 10);
var reimg = new ccui.RichElementImage(6, cc.color.WHITE, 255, "res/cocosui/sliderballnormal.png");
var reimg = new ccui.RichElementImage(6, cc.color.WHITE, 255, "ccs-res/cocosui/sliderballnormal.png");
ccs.armatureDataManager.addArmatureFileInfo("res/cocosui/100/100.ExportJson");
ccs.armatureDataManager.addArmatureFileInfo("ccs-res/cocosui/100/100.ExportJson");
var pAr = new ccs.Armature("100");
pAr.getAnimation().play("Animation1");

View File

@ -25,9 +25,9 @@
****************************************************************************/
var SCROLLVIEW_RES = [
"res/cocosui/CCS/ScrollView/Vertical/vertical_1.json",
"res/cocosui/CCS/ScrollView/Horizontal/horizontal_1.json",
"res/cocosui/CCS/ScrollView/Both/both_1.json"
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/vertical_1.json",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/horizontal_1.json",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/both_1.json"
];
var SCROLLVIEW_INDEX = 0;
var UIScrollViewEditorTest = UIBaseLayer.extend({
@ -40,7 +40,7 @@ var UIScrollViewEditorTest = UIBaseLayer.extend({
back_label.addTouchEventListener(this.backEvent, this);
var left_button = new ccui.Button();
left_button.loadTextures("res/Images/b1.png", "res/Images/b2.png", "");
left_button.loadTextures("Images/b1.png", "Images/b2.png", "");
left_button.x = 240-50;
left_button.y = 50;
left_button.anchorX = 0.5;
@ -50,7 +50,7 @@ var UIScrollViewEditorTest = UIBaseLayer.extend({
this._mainNode.addChild(left_button);
var right_button = new ccui.Button();
right_button.loadTextures("res/Images/f1.png", "res/Images/f2.png", "");
right_button.loadTextures("Images/f1.png", "Images/f2.png", "");
right_button.x = 240+50;
right_button.y = 50;
right_button.zOrder = 999;

View File

@ -27,7 +27,7 @@
var UISliderEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/Slider/slider_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UISlider/slider_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -28,7 +28,7 @@
var UITextAtlasEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/LabelAtlas/labelatlas_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UILabelAtlas/labelatlas_1.json");
this._mainNode.addChild(root);

View File

@ -28,7 +28,7 @@
var UITextBMFontEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/LabelBMFont/labelbmfont_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UILabelBMFont/labelbmfont_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -27,7 +27,7 @@
var UITextFieldEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/TextField/textfield_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UITextField/textfield_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -28,7 +28,7 @@
var UITextEditorTest = UIBaseLayer.extend({
ctor: function () {
this._super();
var root = this._parseUIFile("res/cocosui/CCS/Label/label_1.json");
var root = this._parseUIFile("ccs-res/cocosui/UIEditorTest/UILabel/label_1.json");
this._mainNode.addChild(root);
var back_label =ccui.helper.seekWidgetByName(root, "back");

View File

@ -27,22 +27,22 @@ var g_parsersTests = [
{
title: "cocostudio 1.3",
test: function(){
new CocostudioParserJsonScene("res/cocosui/CCS/ccs1_3/CCSV1_3_1.ExportJson").runThisTest();
new CocostudioParserJsonScene("ccs-res/cocosui/UIEditorTest/cocostudio1_3/CocostudioV1_3_1.ExportJson").runThisTest();
}
},{
title: "cocostudio 1.4",
test: function(){
new CocostudioParserJsonScene("res/cocosui/CCS/ccs1_4/CCS1_4_1.ExportJson").runThisTest();
new CocostudioParserJsonScene("ccs-res/cocosui/UIEditorTest/cocostudio1_4/Cocostudio1_4_1.ExportJson").runThisTest();
}
},{
title: "cocostudio 1.5",
test: function(){
new CocostudioParserJsonScene("res/cocosui/CCS/ccs1_5/CCS1_5_1.ExportJson").runThisTest();
new CocostudioParserJsonScene("ccs-res/cocosui/UIEditorTest/cocostudio1_5/Cocostudio1_5_1.ExportJson").runThisTest();
}
},{
title: "cocostudio 2.1",
test: function(){
new CocostudioParserJsonScene("res/cocosui/CCS/2.1/MainScene.json").runThisTest();
new CocostudioParserJsonScene("ccs-res/cocosui/UIEditorTest/2.1/MainScene.json").runThisTest();
}
}
];

View File

@ -151,7 +151,7 @@ var LoadSceneEdtiorFileTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/LoadSceneEdtiorFileTest/FishJoy2.json";
file = "ccs-res/scenetest/LoadSceneEdtiorFileTest/FishJoy2.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -183,7 +183,7 @@ var SpriteComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/SpriteComponentTest/SpriteComponentTest.json";
file = "ccs-res/scenetest/SpriteComponentTest/SpriteComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -219,7 +219,7 @@ var ArmatureComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/ArmatureComponentTest/ArmatureComponentTest.json";
file = "ccs-res/scenetest/ArmatureComponentTest/ArmatureComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -254,7 +254,7 @@ var UIComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/UIComponentTest/UIComponentTest.json";
file = "ccs-res/scenetest/UIComponentTest/UIComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -299,7 +299,7 @@ var TmxMapComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/TmxMapComponentTest/TmxMapComponentTest.json";
file = "ccs-res/scenetest/TmxMapComponentTest/TmxMapComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -340,7 +340,7 @@ var ParticleComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/ParticleComponentTest/ParticleComponentTest.json";
file = "ccs-res/scenetest/ParticleComponentTest/ParticleComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -374,7 +374,7 @@ var EffectComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/EffectComponentTest/EffectComponentTest.json";
file = "ccs-res/scenetest/EffectComponentTest/EffectComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -414,7 +414,7 @@ var BackgroundComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/BackgroundComponentTest/BackgroundComponentTest.json";
file = "ccs-res/scenetest/BackgroundComponentTest/BackgroundComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -450,7 +450,7 @@ var AttributeComponentTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/AttributeComponentTest/AttributeComponentTest.json";
file = "ccs-res/scenetest/AttributeComponentTest/AttributeComponentTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);
@ -488,7 +488,7 @@ var TriggerTest = SceneEditorTestLayer.extend({
onEnter: function () {
this._super();
var node,
file = "res/scenetest/TriggerTest/TriggerTest.json";
file = "ccs-res/scenetest/TriggerTest/TriggerTest.json";
if(cocoStudioOldApiFlag == 0){
cc.log("ccs.load : %s", file);
var json = ccs.load(file);

View File

@ -115,12 +115,12 @@ var AssetsManagerLoaderScene = TestScene.extend({
icon.y = cc.winSize.height/2;
layer.addChild(icon);
this._loadingBar = new ccui.LoadingBar("res/cocosui/sliderProgress.png");
this._loadingBar = new ccui.LoadingBar("ccs-res/cocosui/sliderProgress.png");
this._loadingBar.x = cc.visibleRect.center.x;
this._loadingBar.y = cc.visibleRect.top.y - 40;
layer.addChild(this._loadingBar);
this._fileLoadingBar = new ccui.LoadingBar("res/cocosui/sliderProgress.png");
this._fileLoadingBar = new ccui.LoadingBar("ccs-res/cocosui/sliderProgress.png");
this._fileLoadingBar.x = cc.visibleRect.center.x;
this._fileLoadingBar.y = cc.visibleRect.top.y - 80;
layer.addChild(this._fileLoadingBar);

View File

@ -34,7 +34,7 @@ var UIButtonTest = UIScene.extend({
// Create the button
var button = new ccui.Button();
button.setTouchEnabled(true);
button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
button.x = widgetSize.width / 2.0;
button.y = widgetSize.height / 2.0;
button.addTouchEventListener(this.touchEvent, this);
@ -79,7 +79,7 @@ var UIButtonTest_Scale9 = UIScene.extend({
var button = new ccui.Button();
button.setTouchEnabled(true);
button.setScale9Enabled(true);
button.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
button.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
button.x = this._widget.width / 2.0;
button.y = this._widget.height / 2.0;
button.setContentSize(cc.size(150, 48));
@ -124,7 +124,7 @@ var UIButtonTest_PressedAction = UIScene.extend({
var button = new ccui.Button();
button.setTouchEnabled(true);
button.setPressedActionEnabled(true);
button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
button.x = widgetSize.width / 2;
button.y = widgetSize.height / 2;
button.addTouchEventListener(this.touchEvent ,this);
@ -165,7 +165,7 @@ var UIButtonTest_Title = UIScene.extend({
// Create the text button
var textButton = new ccui.Button();
textButton.setTouchEnabled(true);
textButton.loadTextures("res/cocosui/backtotopnormal.png", "res/cocosui/backtotoppressed.png", "");
textButton.loadTextures("ccs-res/cocosui/backtotopnormal.png", "ccs-res/cocosui/backtotoppressed.png", "");
textButton.setTitleText("Title Button");
textButton.x = widgetSize.width / 2.0;
textButton.y = widgetSize.height / 2.0;
@ -218,8 +218,8 @@ var UIButtonTestRemoveSelf = UIScene.extend({
this._mainNode.addChild(layout);
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png",
"res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png",
"ccs-res/cocosui/animationbuttonpressed.png");
button.setPosition(layout.width / 2.0, layout.height / 2.0);
button.addTouchEventListener(this.touchEvent, this);
layout.addChild(button);
@ -264,8 +264,8 @@ var UIButtonTestSwitchScale9 = UIScene.extend({
this._bottomDisplayLabel.setString("");
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png",
"res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png",
"ccs-res/cocosui/animationbuttonpressed.png");
button.setPosition(widgetSize.width / 2.0, widgetSize.height / 2.0);
button.addTouchEventListener(this.touchEvent, this);
button.setTitleText("Button Title");
@ -313,7 +313,7 @@ var UIButtonTestZoomScale = UIScene.extend({
this._bottomDisplayLabel.setString("");
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button.setPosition(widgetSize.width / 2.0, widgetSize.height / 2.0 );
button.setPressedActionEnabled(true);
button.addClickEventListener(function () {
@ -324,9 +324,9 @@ var UIButtonTestZoomScale = UIScene.extend({
button.setZoomScale(-0.5);
var slider = new ccui.Slider();
slider.loadBarTexture("res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png", "res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("res/cocosui/sliderProgress.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png", "ccs-res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("ccs-res/cocosui/sliderProgress.png");
slider.setPosition(widgetSize.width / 2.0 , widgetSize.height / 2.0 - 50);
slider.addEventListener(this.sliderEvent, this);
slider.setPercent(button.getZoomScale() * 100);
@ -382,7 +382,7 @@ var UIButtonIgnoreContentSizeTest = UIScene.extend({
this._bottomDisplayLabel.setString("");
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button.ignoreContentAdaptWithSize(false);
button.setContentSize(200,100);
button.setNormalizedPosition(0.3, 0.5);
@ -396,7 +396,7 @@ var UIButtonIgnoreContentSizeTest = UIScene.extend({
this.addChild(button);
// Create the button
var button2 = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button2 = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button2.ignoreContentAdaptWithSize(false);
button2.setContentSize(200,100);
button2.setNormalizedPosition(0.8, 0.5);
@ -425,10 +425,10 @@ var UIButtonTitleEffectTest = UIScene.extend({
this._bottomDisplayLabel.setString("");
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button.setNormalizedPosition(0.3, 0.5);
button.setTitleText("PLAY GAME");
//button.setTitleFontName("fonts/Marker Felt.ttf");
//button.setTitleFontName("Marker Felt");
button.setZoomScale(0.3);
button.setScale(2.0);
button.setPressedActionEnabled(true);
@ -438,7 +438,7 @@ var UIButtonTitleEffectTest = UIScene.extend({
this.addChild(button);
// Create the button
var button2 = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button2 = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button2.setNormalizedPosition(0.8, 0.5);
button2.setTitleText("PLAY GAME");
var title2 = button2.getTitleRenderer();
@ -459,10 +459,10 @@ var UIButtonFlipTest = UIScene.extend({
this._bottomDisplayLabel.setString("");
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button.setNormalizedPosition(0.3, 0.5);
button.setTitleText("PLAY GAME");
//button.setTitleFontName("fonts/Marker Felt.ttf");
//button.setTitleFontName("Marker Felt");
button.setZoomScale(0.3);
button.setScale(2.0);
button.setFlippedX(true);
@ -474,7 +474,7 @@ var UIButtonFlipTest = UIScene.extend({
this.addChild(titleLabel);
// Create the button
var button2 = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button2 = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button2.setNormalizedPosition(0.8, 0.5);
button2.setTitleText("PLAY GAME");
button2.setFlippedY(true);
@ -506,14 +506,14 @@ var UIButtonNormalDefaultTest = UIScene.extend({
this._mainNode.addChild(alert);
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png");
button.setPosition(widgetSize.width / 2.0 - 80, widgetSize.height / 2.0 + 40);
button.setZoomScale(0.4);
button.setPressedActionEnabled(true);
this._mainNode.addChild(button);
// Create the button
var buttonScale9 = new ccui.Button("res/cocosui/button.png");
var buttonScale9 = new ccui.Button("ccs-res/cocosui/button.png");
// open scale9 render
buttonScale9.setScale9Enabled(true);
buttonScale9.setPosition(widgetSize.width / 2.0 + 50, widgetSize.height / 2.0 + 40);
@ -541,7 +541,7 @@ var UIButtonDisableDefaultTest = UIScene.extend({
this._mainNode.addChild(alert);
// Create the button
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png");
button.setPosition(widgetSize.width / 2.0 - 80, widgetSize.height / 2.0 + 40);
button.setZoomScale(0.4);
button.setPressedActionEnabled(true);
@ -552,7 +552,7 @@ var UIButtonDisableDefaultTest = UIScene.extend({
this._mainNode.addChild(button);
// Create the button
var buttonScale9 = new ccui.Button("res/cocosui/button.png");
var buttonScale9 = new ccui.Button("ccs-res/cocosui/button.png");
// open scale9 render
buttonScale9.setScale9Enabled(true);
buttonScale9.setPosition(widgetSize.width / 2.0 + 50, widgetSize.height / 2.0 + 40);

View File

@ -34,11 +34,11 @@ var UICheckBoxTest = UIScene.extend({
// Create the checkbox
var checkBox = new ccui.CheckBox();
checkBox.setTouchEnabled(true);
checkBox.loadTextures("res/cocosui/check_box_normal.png",
"res/cocosui/check_box_normal_press.png",
"res/cocosui/check_box_active.png",
"res/cocosui/check_box_normal_disable.png",
"res/cocosui/check_box_active_disable.png");
checkBox.loadTextures("ccs-res/cocosui/check_box_normal.png",
"ccs-res/cocosui/check_box_normal_press.png",
"ccs-res/cocosui/check_box_active.png",
"ccs-res/cocosui/check_box_normal_disable.png",
"ccs-res/cocosui/check_box_active_disable.png");
checkBox.x = widgetSize.width / 2.0;
checkBox.y = widgetSize.height / 2.0;
checkBox.addEventListener(this.selectedStateEvent, this);
@ -85,14 +85,14 @@ var UICheckBoxDefaultBehaviorTest = UIScene.extend({
this._mainNode.addChild(alert);
// Create the checkbox
var checkBox = new ccui.CheckBox("res/cocosui/check_box_normal.png", "res/cocosui/check_box_active.png");
var checkBox = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png", "ccs-res/cocosui/check_box_active.png");
checkBox.setPosition(cc.p(widgetSize.width / 2 - 50, widgetSize.height / 2));
this._mainNode.addChild(checkBox);
// Create the checkbox
var checkBox2 = new ccui.CheckBox("res/cocosui/check_box_normal.png", "res/cocosui/check_box_active.png");
var checkBox2 = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png", "ccs-res/cocosui/check_box_active.png");
checkBox2.setPosition(cc.p(widgetSize.width / 2 - 150, widgetSize.height / 2));
checkBox2.ignoreContentAdaptWithSize(false);
checkBox2.setZoomScale(0.5);
@ -102,13 +102,13 @@ var UICheckBoxDefaultBehaviorTest = UIScene.extend({
// Create the checkbox
var checkBoxDisabled = new ccui.CheckBox("res/cocosui/check_box_normal.png", "res/cocosui/check_box_active.png");
var checkBoxDisabled = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png", "ccs-res/cocosui/check_box_active.png");
checkBoxDisabled.setPosition(cc.p(widgetSize.width / 2 + 20, widgetSize.height / 2));
checkBoxDisabled.setEnabled(false);
checkBoxDisabled.setBright(false);
this._mainNode.addChild(checkBoxDisabled);
var checkBoxDisabled2 = new ccui.CheckBox("res/cocosui/check_box_normal.png", "res/cocosui/check_box_active.png");
var checkBoxDisabled2 = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png", "ccs-res/cocosui/check_box_active.png");
checkBoxDisabled2.setPosition(cc.p(widgetSize.width / 2 + 70, widgetSize.height / 2));
checkBoxDisabled2.setBright(false);
checkBoxDisabled2.setSelected(true);

View File

@ -128,7 +128,7 @@ var UIFocusTestHorizontal = UIFocusTestBase.extend({
var count = 3;
for (var i=0; i<count; ++i) {
var w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
var w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setTouchEnabled(true);
w.setTag(i);
w.addTouchEventListener(this.onImageViewClicked, this);
@ -140,7 +140,7 @@ var UIFocusTestHorizontal = UIFocusTestBase.extend({
this._loopText.setColor(cc.color.GREEN);
this.addChild(this._loopText);
var btn = new ccui.Button("res/cocosui/switch-mask.png");
var btn = new ccui.Button("ccs-res/cocosui/switch-mask.png");
btn.setTitleText("Toggle Loop");
btn.setPosition(60, winSize.height - 50);
btn.setTitleColor(cc.color.RED);
@ -183,7 +183,7 @@ var UIFocusTestVertical = UIFocusTestBase.extend({
var count = 3;
for (var i=0; i<count; ++i) {
var w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
var w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setTouchEnabled(true);
w.setTag(i);
w.addTouchEventListener(this.onImageViewClicked, this);
@ -197,7 +197,7 @@ var UIFocusTestVertical = UIFocusTestBase.extend({
this._loopText.setColor(cc.color.GREEN);
this.addChild(this._loopText);
var btn = new ccui.Button("res/cocosui/switch-mask.png");
var btn = new ccui.Button("ccs-res/cocosui/switch-mask.png");
btn.setTitleText("Toggle Loop");
btn.setPosition(60, winSize.height - 50);
btn.setTitleColor(cc.color.RED);
@ -240,7 +240,7 @@ var UIFocusTestNestedLayout1 = UIFocusTestBase.extend({
var count1 = 1, i, w;
for (i = 0; i < count1; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setAnchorPoint(0, 0);
w.setTouchEnabled(true);
w.setScaleX(2.5);
@ -256,7 +256,7 @@ var UIFocusTestNestedLayout1 = UIFocusTestBase.extend({
var count2 = 2;
for (i=0; i < count2; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setAnchorPoint(0,1);
w.setScaleY(2.0);
w.setTouchEnabled(true);
@ -272,7 +272,7 @@ var UIFocusTestNestedLayout1 = UIFocusTestBase.extend({
var count3 = 2;
for (i=0; i<count3; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setTouchEnabled(true);
w.setTag(i+count1+count2+count3);
w.addTouchEventListener(this.onImageViewClicked, this);
@ -283,7 +283,7 @@ var UIFocusTestNestedLayout1 = UIFocusTestBase.extend({
this._loopText.setColor(cc.color.GREEN);
this.addChild(this._loopText);
var btn = new ccui.Button("res/cocosui/switch-mask.png");
var btn = new ccui.Button("ccs-res/cocosui/switch-mask.png");
btn.setTitleText("Toggle Loop");
btn.setPosition(60, winSize.height - 50);
btn.setTitleColor(cc.color.RED);
@ -326,7 +326,7 @@ var UIFocusTestNestedLayout2 = UIFocusTestBase.extend({
var count1 = 2, i, w;
for (i=0; i<count1; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setAnchorPoint(0,1);
w.setTouchEnabled(true);
w.setTag(i+count1);
@ -342,7 +342,7 @@ var UIFocusTestNestedLayout2 = UIFocusTestBase.extend({
this._horizontalLayout.addChild(vbox);
var count2 = 2;
for (i=0; i < count2; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setAnchorPoint(0,1);
w.setScaleX(2.0);
w.setTouchEnabled(true);
@ -358,7 +358,7 @@ var UIFocusTestNestedLayout2 = UIFocusTestBase.extend({
//innerVBox.setFocusEnabled(false);
var count3 = 2;
for (i = 0; i < count3; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setTouchEnabled(true);
w.setTag(i + count1 + count2 + count3);
w.addTouchEventListener(this.onImageViewClicked, this);
@ -370,7 +370,7 @@ var UIFocusTestNestedLayout2 = UIFocusTestBase.extend({
this._loopText.setColor(cc.color.GREEN);
this.addChild(this._loopText);
var btn = new ccui.Button("res/cocosui/switch-mask.png");
var btn = new ccui.Button("ccs-res/cocosui/switch-mask.png");
btn.setTitleText("Toggle Loop");
btn.setPosition(60, winSize.height - 50);
btn.setTitleColor(cc.color.RED);
@ -431,7 +431,7 @@ var UIFocusTestNestedLayout3 = UIFocusTestBase.extend({
var count1 = 3;
for (var j = 0; j < count1; ++j) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setTouchEnabled(true);
w.setTag(j + firstVbox.getTag() + 1);
w.addTouchEventListener(this.onImageViewClicked, this);
@ -448,7 +448,7 @@ var UIFocusTestNestedLayout3 = UIFocusTestBase.extend({
var bottomParams = new ccui.LinearLayoutParameter();
bottomParams.setMargin(new ccui.Margin(0, 0, 8, 0));
for (i = 0; i < count; ++i) {
w = new ccui.ImageView("res/cocosui/scrollviewbg.png");
w = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
w.setLayoutParameter(bottomParams);
w.setTouchEnabled(true);
w.setTag(i + 601);
@ -462,7 +462,7 @@ var UIFocusTestNestedLayout3 = UIFocusTestBase.extend({
this._loopText.setColor(cc.color.GREEN);
this.addChild(this._loopText);
var btn = new ccui.Button("res/cocosui/switch-mask.png");
var btn = new ccui.Button("ccs-res/cocosui/switch-mask.png");
btn.setTitleText("Toggle Loop");
btn.setPosition(60, winSize.height - 50);
btn.setTitleColor(cc.color.RED);
@ -496,7 +496,7 @@ var UIFocusTestListView = UIFocusTestBase.extend({
this._listView = new ccui.ListView();
this._listView.setDirection(ccui.ScrollView.DIR_VERTICAL);
this._listView.setBounceEnabled(true);
this._listView.setBackGroundImage("res/cocosui/green_edit.png");
this._listView.setBackGroundImage("ccs-res/cocosui/green_edit.png");
this._listView.setBackGroundImageScale9Enabled(true);
this._listView.setContentSize(240, 130);
@ -510,7 +510,7 @@ var UIFocusTestListView = UIFocusTestBase.extend({
this._firstFocusedWidget = this._listView;
// create model
var default_button = new ccui.Button("res/cocosui/backtotoppressed.png", "res/cocosui/backtotopnormal.png");
var default_button = new ccui.Button("ccs-res/cocosui/backtotoppressed.png", "ccs-res/cocosui/backtotopnormal.png");
default_button.setName("Title Button");
// set model
@ -530,7 +530,7 @@ var UIFocusTestListView = UIFocusTestBase.extend({
this._loopText.setColor(cc.color.GREEN);
this.addChild(this._loopText);
var btn = new ccui.Button("res/cocosui/switch-mask.png");
var btn = new ccui.Button("ccs-res/cocosui/switch-mask.png");
btn.setTitleText("Toggle Loop");
btn.setPosition(60, winSize.height - 50);
btn.setTitleColor(cc.color.RED);

View File

@ -32,7 +32,7 @@ var UIImageViewTest = UIScene.extend({
var widgetSize = this._widget.getContentSize();
// Create the imageview
var imageView = new ccui.ImageView("res/cocosui/ccicon.png");
var imageView = new ccui.ImageView("ccs-res/cocosui/ccicon.png");
imageView.x = widgetSize.width / 2;
imageView.y = widgetSize.height / 2 + imageView.height / 4;
this._mainNode.addChild(imageView);
@ -54,7 +54,7 @@ var UIImageViewTest_Scale9 = UIScene.extend({
// Create the imageview
var imageView = new ccui.ImageView();
imageView.setScale9Enabled(true);
imageView.loadTexture("res/cocosui/buttonHighlighted.png");
imageView.loadTexture("ccs-res/cocosui/buttonHighlighted.png");
imageView.setContentSize(cc.size(200, 85));
imageView.x = widgetSize.width / 2;
imageView.y = widgetSize.height / 2 + imageView.getContentSize().height / 4;
@ -85,12 +85,12 @@ var UIImageViewTest_ContentSize = UIScene.extend({
this._mainNode.addChild(status,20);
// Create the imageview
var imageView = new ccui.ImageView("res/cocosui/buttonHighlighted.png");
var imageView = new ccui.ImageView("ccs-res/cocosui/buttonHighlighted.png");
imageView.setScale9Enabled(true);
imageView.setContentSize(cc.size(200, 80));
imageView.setPosition(cc.p(widgetSize.width / 2, widgetSize.height / 2));
var imageViewChild = new ccui.ImageView("res/cocosui/buttonHighlighted.png");
var imageViewChild = new ccui.ImageView("ccs-res/cocosui/buttonHighlighted.png");
imageViewChild.setScale9Enabled(true);
imageViewChild.setSizeType(ccui.Widget.SIZE_PERCENT);
imageViewChild.setPositionType(ccui.Widget.POSITION_PERCENT);
@ -98,7 +98,7 @@ var UIImageViewTest_ContentSize = UIScene.extend({
imageViewChild.setPositionPercent(cc.p(0.5, 0.5));
//imageViewChild.setPosition(cc.p(widgetSize.width / 2, widgetSize.height / 2));
var imageViewChild2 = new ccui.ImageView("res/cocosui/buttonHighlighted.png");
var imageViewChild2 = new ccui.ImageView("ccs-res/cocosui/buttonHighlighted.png");
imageViewChild2.setScale9Enabled(true);
imageViewChild2.setSizeType(ccui.Widget.SIZE_PERCENT);
imageViewChild2.setPositionType(ccui.Widget.POSITION_PERCENT);
@ -130,7 +130,7 @@ var UIImageViewTest_ContentSize = UIScene.extend({
var UIImageViewFlipTest = UIScene.extend({
init: function(){
if (this._super()) {
cc.spriteFrameCache.addSpriteFrames("res/Images/blocks9ss.plist");
cc.spriteFrameCache.addSpriteFrames("Images/blocks9ss.plist");
var widgetSize = this._widget.getContentSize();
this._bottomDisplayLabel.setString("ImageView flip test");

View File

@ -33,7 +33,7 @@ var UILabelAtlasTest = UIScene.extend({
// Create the label atlas
var textAtlas = new ccui.TextAtlas();
textAtlas.setProperty("1234567890", "res/cocosui/labelatlas.png", 17, 22, "0");
textAtlas.setProperty("1234567890", "ccs-res/cocosui/labelatlas.png", 17, 22, "0");
textAtlas.x = this._widget.width / 2;
textAtlas.y = this._widget.height / 2;

View File

@ -33,7 +33,7 @@ var UILabelBMFontTest = UIScene.extend({
// Create the LabelBMFont
var labelBMFont = new ccui.TextBMFont();
labelBMFont.setFntFile("res/cocosui/bitmapFontTest2.fnt");
labelBMFont.setFntFile("ccs-res/cocosui/bitmapFontTest2.fnt");
labelBMFont.setString("BMFont");
labelBMFont.x = this._widget.width / 2;
labelBMFont.y = this._widget.height / 2.0 + labelBMFont.height / 8.0;

View File

@ -51,14 +51,14 @@ var UILayoutTestBase = UIScene.extend({
this.button = new ccui.Button();
this.button.setTouchEnabled(true);
this.button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
this.button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
this.button.x = this.button.width / 2;
this.button.y = layoutRect.height - this.button.height / 2;
this.layout.addChild(this.button);
this.textButton = new ccui.Button();
this.textButton.setTouchEnabled(true);
this.textButton.loadTextures("res/cocosui/backtotopnormal.png", "res/cocosui/backtotoppressed.png", "");
this.textButton.loadTextures("ccs-res/cocosui/backtotopnormal.png", "ccs-res/cocosui/backtotoppressed.png", "");
this.textButton.setTitleText("Text Button");
this.textButton.x = layoutRect.width / 2;
this.textButton.y = layoutRect.height / 2;
@ -67,7 +67,7 @@ var UILayoutTestBase = UIScene.extend({
this.button_scale9 = new ccui.Button();
this.button_scale9.setTouchEnabled(true);
this.button_scale9.setScale9Enabled(true);
this.button_scale9.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
this.button_scale9.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
this.button_scale9.width = 100;
this.button_scale9.height = 32;
this.button_scale9.x = layoutRect.width - this.button_scale9.width / 2;
@ -129,7 +129,7 @@ var UILayoutTest_BackGroundImage = UILayoutTestBase.extend({
createLayout: function () {
var layout = new ccui.Layout();
layout.setClippingEnabled(true);
layout.setBackGroundImage("res/cocosui/Hello.png");
layout.setBackGroundImage("ccs-res/cocosui/Hello.png");
layout.setContentSize(cc.size(280, 150));
return layout;
},
@ -142,7 +142,7 @@ var UILayoutTest_BackGroundImage_Scale9 = UILayoutTestBase.extend({
createLayout: function () {
var layout = new ccui.Layout();
layout.setBackGroundImageScale9Enabled(true);
layout.setBackGroundImage("res/cocosui/green_edit.png");
layout.setBackGroundImage("ccs-res/cocosui/green_edit.png");
layout.setContentSize(cc.size(280, 150));
return layout;
},
@ -265,7 +265,7 @@ var UILayoutTest_Layout_Relative_Align_Parent = UIScene.extend({
this._mainNode.addChild(layout);
// top left
var button_TopLeft = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_TopLeft = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_TopLeft);
var rp_TopLeft = new ccui.RelativeLayoutParameter();
@ -273,7 +273,7 @@ var UILayoutTest_Layout_Relative_Align_Parent = UIScene.extend({
button_TopLeft.setLayoutParameter(rp_TopLeft);
// top center horizontal
var button_TopCenter = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_TopCenter = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_TopCenter);
var rp_TopCenter = new ccui.RelativeLayoutParameter();
@ -281,21 +281,21 @@ var UILayoutTest_Layout_Relative_Align_Parent = UIScene.extend({
button_TopCenter.setLayoutParameter(rp_TopCenter);
// top right
var button_TopRight = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_TopRight = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_TopRight);
var rp_TopRight = new ccui.RelativeLayoutParameter();
rp_TopRight.setAlign(ccui.RelativeLayoutParameter.PARENT_TOP_RIGHT);
button_TopRight.setLayoutParameter(rp_TopRight);
// left center
var button_LeftCenter = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_LeftCenter = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_LeftCenter);
var rp_LeftCenter = new ccui.RelativeLayoutParameter();
rp_LeftCenter.setAlign(ccui.RelativeLayoutParameter.PARENT_LEFT_CENTER_VERTICAL);
button_LeftCenter.setLayoutParameter(rp_LeftCenter);
// center
var buttonCenter = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var buttonCenter = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(buttonCenter);
var rpCenter = new ccui.RelativeLayoutParameter();
@ -303,7 +303,7 @@ var UILayoutTest_Layout_Relative_Align_Parent = UIScene.extend({
buttonCenter.setLayoutParameter(rpCenter);
// right center
var button_RightCenter = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_RightCenter = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_RightCenter);
var rp_RightCenter = new ccui.RelativeLayoutParameter();
rp_RightCenter.setAlign(ccui.RelativeLayoutParameter.PARENT_RIGHT_CENTER_VERTICAL);
@ -311,21 +311,21 @@ var UILayoutTest_Layout_Relative_Align_Parent = UIScene.extend({
// left bottom
var button_LeftBottom = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_LeftBottom = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_LeftBottom);
var rp_LeftBottom = new ccui.RelativeLayoutParameter();
rp_LeftBottom.setAlign(ccui.RelativeLayoutParameter.PARENT_LEFT_BOTTOM);
button_LeftBottom.setLayoutParameter(rp_LeftBottom);
// bottom center
var button_BottomCenter = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_BottomCenter = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_BottomCenter);
var rp_BottomCenter = new ccui.RelativeLayoutParameter();
rp_BottomCenter.setAlign(ccui.RelativeLayoutParameter.PARENT_BOTTOM_CENTER_HORIZONTAL);
button_BottomCenter.setLayoutParameter(rp_BottomCenter);
// right bottom
var button_RightBottom = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button_RightBottom = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
layout.addChild(button_RightBottom);
var rp_RightBottom = new ccui.RelativeLayoutParameter();
rp_RightBottom.setAlign(ccui.RelativeLayoutParameter.PARENT_RIGHT_BOTTOM);
@ -343,7 +343,7 @@ var UILayoutTest_Layout_Relative_Location = UIScene.extend({
var widgetSize = this._widget.getContentSize();
// Add the alert
var alert = new ccui.Text("Layout Relative Location", "fonts/Marker Felt.ttf", 20);
var alert = new ccui.Text("Layout Relative Location", "Marker Felt", 20);
alert.setColor(cc.color(159, 168, 176));
alert.setPosition(widgetSize.width / 2.0, widgetSize.height / 2.0 - alert.height * 4.5);
this._mainNode.addChild(alert);
@ -361,7 +361,7 @@ var UILayoutTest_Layout_Relative_Location = UIScene.extend({
this._mainNode.addChild(layout);
// center
var imageView_Center = new ccui.ImageView("res/cocosui/scrollviewbg.png");
var imageView_Center = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
layout.addChild(imageView_Center);
var rp_Center = new ccui.RelativeLayoutParameter();
rp_Center.setRelativeName("rp_Center");
@ -369,7 +369,7 @@ var UILayoutTest_Layout_Relative_Location = UIScene.extend({
imageView_Center.setLayoutParameter(rp_Center);
// above center
var imageView_AboveCenter = new ccui.ImageView("res/cocosui/switch-mask.png");
var imageView_AboveCenter = new ccui.ImageView("ccs-res/cocosui/switch-mask.png");
layout.addChild(imageView_AboveCenter);
var rp_AboveCenter = new ccui.RelativeLayoutParameter();
rp_AboveCenter.setRelativeToWidgetName("rp_Center");
@ -377,7 +377,7 @@ var UILayoutTest_Layout_Relative_Location = UIScene.extend({
imageView_AboveCenter.setLayoutParameter(rp_AboveCenter);
// below center
var imageView_BelowCenter = new ccui.ImageView("res/cocosui/switch-mask.png");
var imageView_BelowCenter = new ccui.ImageView("ccs-res/cocosui/switch-mask.png");
layout.addChild(imageView_BelowCenter);
var rp_BelowCenter = new ccui.RelativeLayoutParameter();
rp_BelowCenter.setRelativeToWidgetName("rp_Center");
@ -385,7 +385,7 @@ var UILayoutTest_Layout_Relative_Location = UIScene.extend({
imageView_BelowCenter.setLayoutParameter(rp_BelowCenter);
// left center
var imageView_LeftCenter = new ccui.ImageView("res/cocosui/switch-mask.png");
var imageView_LeftCenter = new ccui.ImageView("ccs-res/cocosui/switch-mask.png");
layout.addChild(imageView_LeftCenter);
var rp_LeftCenter = new ccui.RelativeLayoutParameter();
rp_LeftCenter.setRelativeToWidgetName("rp_Center");
@ -393,7 +393,7 @@ var UILayoutTest_Layout_Relative_Location = UIScene.extend({
imageView_LeftCenter.setLayoutParameter(rp_LeftCenter);
// right center
var imageView_RightCenter = new ccui.ImageView("res/cocosui/switch-mask.png");
var imageView_RightCenter = new ccui.ImageView("ccs-res/cocosui/switch-mask.png");
layout.addChild(imageView_RightCenter);
var rp_RightCenter = new ccui.RelativeLayoutParameter();
rp_RightCenter.setRelativeToWidgetName("rp_Center");
@ -418,7 +418,7 @@ var UILayoutComponentTest = UIScene.extend({
this._baseLayer.setContentSize(200, 200);
this._mainNode.addChild(this._baseLayer);
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png");
cc.log("content size should be greater than 0: width = %f, height = %f", button.width, button.height);
button.setPosition(widgetSize.width / 2.0, widgetSize.height / 2.0);
button.addTouchEventListener(this.touchEvent, this);
@ -456,25 +456,25 @@ var UILayoutComponentTest = UIScene.extend({
var UILayoutComponent_Berth_Test = UILayoutComponentTest.extend({
init: function(){
if (this._super()){
var leftTopSprite = new cc.Sprite("res/cocosui/CloseSelected.png");
var leftTopSprite = new cc.Sprite("ccs-res/cocosui/CloseSelected.png");
var leftTop = ccui.LayoutComponent.bindLayoutComponent(leftTopSprite);
leftTop.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.LEFT);
leftTop.setVerticalEdge(ccui.LayoutComponent.verticalEdge.TOP);
this._baseLayer.addChild(leftTopSprite);
var leftBottomSprite = new cc.Sprite("res/cocosui/CloseSelected.png");
var leftBottomSprite = new cc.Sprite("ccs-res/cocosui/CloseSelected.png");
var leftBottom = ccui.LayoutComponent.bindLayoutComponent(leftBottomSprite);
leftBottom.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.LEFT);
leftBottom.setVerticalEdge(ccui.LayoutComponent.verticalEdge.BOTTOM);
this._baseLayer.addChild(leftBottomSprite);
var rightTopSprite = new cc.Sprite("res/cocosui/CloseSelected.png");
var rightTopSprite = new cc.Sprite("ccs-res/cocosui/CloseSelected.png");
var rightTop = ccui.LayoutComponent.bindLayoutComponent(rightTopSprite);
rightTop.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.RIGHT);
rightTop.setVerticalEdge(ccui.LayoutComponent.verticalEdge.TOP);
this._baseLayer.addChild(rightTopSprite);
var rightBottomSprite = new cc.Sprite("res/cocosui/CloseSelected.png");
var rightBottomSprite = new cc.Sprite("ccs-res/cocosui/CloseSelected.png");
var rightBottom = ccui.LayoutComponent.bindLayoutComponent(rightBottomSprite);
rightBottom.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.RIGHT);
rightBottom.setVerticalEdge(ccui.LayoutComponent.verticalEdge.BOTTOM);
@ -490,7 +490,7 @@ var UILayoutComponent_Berth_Test = UILayoutComponentTest.extend({
var UILayoutComponent_Berth_Stretch_Test = UILayoutComponentTest.extend({
init: function(){
if (this._super()) {
var leftTopSprite = new ccui.ImageView("res/cocosui/CloseSelected.png");
var leftTopSprite = new ccui.ImageView("ccs-res/cocosui/CloseSelected.png");
leftTopSprite.ignoreContentAdaptWithSize(false);
var leftTop = ccui.LayoutComponent.bindLayoutComponent(leftTopSprite);
leftTop.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.LEFT);
@ -502,7 +502,7 @@ var UILayoutComponent_Berth_Stretch_Test = UILayoutComponentTest.extend({
leftTop.setLeftMargin(0);
leftTop.setTopMargin(0);
var leftBottomSprite = new ccui.ImageView("res/cocosui/CloseSelected.png");
var leftBottomSprite = new ccui.ImageView("ccs-res/cocosui/CloseSelected.png");
leftBottomSprite.ignoreContentAdaptWithSize(false);
var leftBottom = ccui.LayoutComponent.bindLayoutComponent(leftBottomSprite);
leftBottom.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.LEFT);
@ -514,7 +514,7 @@ var UILayoutComponent_Berth_Stretch_Test = UILayoutComponentTest.extend({
leftBottom.setLeftMargin(0);
leftBottom.setBottomMargin(0);
var rightTopSprite = new ccui.ImageView("res/cocosui/CloseSelected.png");
var rightTopSprite = new ccui.ImageView("ccs-res/cocosui/CloseSelected.png");
rightTopSprite.ignoreContentAdaptWithSize(false);
var rightTop = ccui.LayoutComponent.bindLayoutComponent(rightTopSprite);
rightTop.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.RIGHT);
@ -526,7 +526,7 @@ var UILayoutComponent_Berth_Stretch_Test = UILayoutComponentTest.extend({
rightTop.setTopMargin(0);
rightTop.setRightMargin(0);
var rightBottomSprite = new ccui.ImageView("res/cocosui/CloseSelected.png");
var rightBottomSprite = new ccui.ImageView("ccs-res/cocosui/CloseSelected.png");
rightBottomSprite.ignoreContentAdaptWithSize(false);
var rightBottom = ccui.LayoutComponent.bindLayoutComponent(rightBottomSprite);
rightBottom.setHorizontalEdge(ccui.LayoutComponent.horizontalEdge.RIGHT);

View File

@ -45,7 +45,7 @@ var UIListViewTest_Vertical = UIScene.extend({
listView.setDirection(ccui.ScrollView.DIR_NONE);
listView.setTouchEnabled(false);
listView.setBounceEnabled(false);
listView.setBackGroundImage("res/cocosui/green_edit.png");
listView.setBackGroundImage("ccs-res/cocosui/green_edit.png");
listView.setBackGroundImageScale9Enabled(true);
listView.setContentSize(cc.size(240, 130));
listView.x = (widgetSize.width - backgroundSize.width) / 2 + (backgroundSize.width - listView.width) / 2;
@ -57,7 +57,7 @@ var UIListViewTest_Vertical = UIScene.extend({
var default_button = new ccui.Button();
default_button.setName("TextButton");
default_button.setTouchEnabled(true);
default_button.loadTextures("res/cocosui/backtotoppressed.png", "res/cocosui/backtotopnormal.png", "");
default_button.loadTextures("ccs-res/cocosui/backtotoppressed.png", "ccs-res/cocosui/backtotopnormal.png", "");
var default_item = new ccui.Layout();
default_item.setTouchEnabled(true);
@ -86,7 +86,7 @@ var UIListViewTest_Vertical = UIScene.extend({
custom_button.setName("TextButton");
custom_button.setTouchEnabled(true);
custom_button.setScale9Enabled(true);
custom_button.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
custom_button.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
custom_button.setContentSize(default_button.getContentSize());
var custom_item = new ccui.Layout();
@ -105,7 +105,7 @@ var UIListViewTest_Vertical = UIScene.extend({
custom_button.setName("TextButton");
custom_button.setTouchEnabled(true);
custom_button.setScale9Enabled(true);
custom_button.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
custom_button.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
custom_button.setContentSize(default_button.getContentSize());
var custom_item = new ccui.Layout();
@ -177,7 +177,7 @@ var UIListViewTest_Horizontal = UIScene.extend({
listView.setDirection(ccui.ScrollView.DIR_HORIZONTAL);
listView.setTouchEnabled(true);
listView.setBounceEnabled(true);
listView.setBackGroundImage("res/cocosui/green_edit.png");
listView.setBackGroundImage("ccs-res/cocosui/green_edit.png");
listView.setBackGroundImageScale9Enabled(true);
listView.setContentSize(cc.size(240, 130));
listView.x = (widgetSize.width - backgroundSize.width) / 2 + (backgroundSize.width - listView.width) / 2;
@ -189,7 +189,7 @@ var UIListViewTest_Horizontal = UIScene.extend({
var default_button = new ccui.Button();
default_button.setName("TextButton");
default_button.setTouchEnabled(true);
default_button.loadTextures("res/cocosui/backtotoppressed.png", "res/cocosui/backtotopnormal.png", "");
default_button.loadTextures("ccs-res/cocosui/backtotoppressed.png", "ccs-res/cocosui/backtotopnormal.png", "");
var default_item = new ccui.Layout();
default_item.setTouchEnabled(true);
@ -217,7 +217,7 @@ var UIListViewTest_Horizontal = UIScene.extend({
custom_button.setName("TextButton");
custom_button.setTouchEnabled(true);
custom_button.setScale9Enabled(true);
custom_button.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
custom_button.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
custom_button.setContentSize(default_button.getContentSize());
var custom_item = new ccui.Layout();
@ -235,7 +235,7 @@ var UIListViewTest_Horizontal = UIScene.extend({
custom_button.setName("TextButton");
custom_button.setTouchEnabled(true);
custom_button.setScale9Enabled(true);
custom_button.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
custom_button.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
custom_button.setContentSize(default_button.getContentSize());
var custom_item = new ccui.Layout();

View File

@ -77,7 +77,7 @@ var UILoadingBarTest_Left = UILoadingBarTest.extend({
var widgetSize = this._widget.getContentSize();
var loadingBar = new ccui.LoadingBar();
loadingBar.setName("LoadingBar");
loadingBar.loadTexture("res/cocosui/sliderProgress.png");
loadingBar.loadTexture("ccs-res/cocosui/sliderProgress.png");
loadingBar.setPercent(0);
loadingBar.x = widgetSize.width / 2;
loadingBar.y = widgetSize.height / 2 + loadingBar.height / 4;
@ -91,7 +91,7 @@ var UILoadingBarTest_Right = UILoadingBarTest.extend({
var widgetSize = this._widget.getContentSize();
var loadingBar = new ccui.LoadingBar();
loadingBar.setName("LoadingBar");
loadingBar.loadTexture("res/cocosui/sliderProgress.png");
loadingBar.loadTexture("ccs-res/cocosui/sliderProgress.png");
loadingBar.setDirection(ccui.LoadingBar.TYPE_RIGHT);
loadingBar.setPercent(0);
loadingBar.x = widgetSize.width / 2;
@ -106,7 +106,7 @@ var UILoadingBarTest_Fix = UILoadingBarTest.extend({
var widgetSize = this._widget.getContentSize();
var loadingBar = new ccui.LoadingBar();
loadingBar.setName("LoadingBar");
loadingBar.loadTexture("res/cocosui/sliderProgress.png");
loadingBar.loadTexture("ccs-res/cocosui/sliderProgress.png");
loadingBar.setDirection(ccui.LoadingBar.TYPE_RIGHT);
loadingBar.setPercent(40);
loadingBar.x = widgetSize.width / 2;
@ -122,7 +122,7 @@ var UILoadingBarTest_Left_Scale9 = UILoadingBarTest.extend({
var loadingBar = new ccui.LoadingBar();
loadingBar.setName("LoadingBar");
loadingBar.setScale9Enabled(true);
loadingBar.loadTexture("res/cocosui/slider_bar_active_9patch.png");
loadingBar.loadTexture("ccs-res/cocosui/slider_bar_active_9patch.png");
loadingBar.setCapInsets(cc.rect(0, 0, 0, 0));
loadingBar.setContentSize(cc.size(300, 30));
loadingBar.setPercent(0);
@ -139,7 +139,7 @@ var UILoadingBarTest_Right_Scale9 = UILoadingBarTest.extend({
var loadingBar = new ccui.LoadingBar();
loadingBar.setName("LoadingBar");
loadingBar.setScale9Enabled(true);
loadingBar.loadTexture("res/cocosui/slider_bar_active_9patch.png");
loadingBar.loadTexture("ccs-res/cocosui/slider_bar_active_9patch.png");
loadingBar.setCapInsets(cc.rect(0, 0, 0, 0));
loadingBar.setContentSize(cc.size(300, 30));
loadingBar.setDirection(ccui.LoadingBar.TYPE_RIGHT);
@ -157,7 +157,7 @@ var UILoadingBarTest_Fix_Scale9 = UILoadingBarTest.extend({
var loadingBar = new ccui.LoadingBar();
loadingBar.setName("LoadingBar");
loadingBar.setScale9Enabled(true);
loadingBar.loadTexture("res/cocosui/slider_bar_active_9patch.png");
loadingBar.loadTexture("ccs-res/cocosui/slider_bar_active_9patch.png");
loadingBar.setPercent(40);
loadingBar.setCapInsets(cc.rect(0, 0, 0, 0));
loadingBar.setContentSize(cc.size(300, 30));

View File

@ -37,7 +37,7 @@ var UIWidgetAddNodeTest = UIScene.extend({
nodeContainer.y = widgetSize.height / 2;
this._mainNode.addChild(nodeContainer);
var sprite = new cc.Sprite("res/cocosui/ccicon.png");
var sprite = new cc.Sprite("ccs-res/cocosui/ccicon.png");
sprite.x = 0;
sprite.y = sprite.getBoundingBox().height / 4;
nodeContainer.addNode(sprite);

View File

@ -52,7 +52,7 @@ var UIPageViewTest = UIScene.extend({
var imageView = new ccui.ImageView();
imageView.setTouchEnabled(true);
imageView.setScale9Enabled(true);
imageView.loadTexture("res/cocosui/scrollviewbg.png");
imageView.loadTexture("ccs-res/cocosui/scrollviewbg.png");
imageView.setContentSize(cc.size(240, 130));
imageView.x = layoutRect.width / 2;
imageView.y = layoutRect.height / 2;
@ -126,7 +126,7 @@ var UIPageViewButtonTest = UIScene.extend({
var innerBox = new ccui.VBox();
for (var j = 0; j < 3; j++) {
var btn = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var btn = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
btn.setName("button " + j);
btn.addTouchEventListener( this.onButtonClicked, this);
innerBox.addChild(btn);
@ -196,7 +196,7 @@ var UIPageViewCustomScrollThreshold = UIScene.extend({
var layout = new ccui.Layout();
layout.setContentSize(cc.size(240.0, 130.0));
var imageView = new ccui.ImageView("res/cocosui/scrollviewbg.png");
var imageView = new ccui.ImageView("ccs-res/cocosui/scrollviewbg.png");
imageView.setScale9Enabled(true);
imageView.setContentSize(cc.size(240, 130));
imageView.setPosition(cc.p(layout.getContentSize().width / 2.0, layout.getContentSize().height / 2.0));
@ -214,9 +214,9 @@ var UIPageViewCustomScrollThreshold = UIScene.extend({
pageView.setName("pageView");
var slider = new ccui.Slider();
slider.loadBarTexture("res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png", "res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("res/cocosui/sliderProgress.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png", "ccs-res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("ccs-res/cocosui/sliderProgress.png");
slider.setPosition(cc.p(widgetSize.width / 2.0 , widgetSize.height / 2.0 - 40));
slider.addEventListener(this.sliderEvent, this);
slider.setPercent(50);
@ -275,7 +275,7 @@ var UIPageViewTouchPropagationTest = UIScene.extend({
var innerBox = new ccui.VBox();
for (var j = 0; j < 3; j++) {
var btn = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var btn = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
btn.setName("button " + j);
btn.addTouchEventListener(this.onButtonClicked, this);
innerBox.addChild(btn);
@ -318,11 +318,11 @@ var UIPageViewTouchPropagationTest = UIScene.extend({
this._mainNode.addChild(swallowTouchText);
// Create the checkbox
var checkBox1 = new ccui.CheckBox("res/cocosui/check_box_normal.png",
"res/cocosui/check_box_normal_press.png",
"res/cocosui/check_box_active.png",
"res/cocosui/check_box_normal_disable.png",
"res/cocosui/check_box_active_disable.png");
var checkBox1 = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png",
"ccs-res/cocosui/check_box_normal_press.png",
"ccs-res/cocosui/check_box_active.png",
"ccs-res/cocosui/check_box_normal_disable.png",
"ccs-res/cocosui/check_box_active_disable.png");
var propagationPosition = propagationText.getPosition();
checkBox1.setPosition(
propagationPosition.x + propagationText.getContentSize().width/2,
@ -333,11 +333,11 @@ var UIPageViewTouchPropagationTest = UIScene.extend({
this._mainNode.addChild(checkBox1);
// Create the checkbox
var checkBox2 = new ccui.CheckBox("res/cocosui/check_box_normal.png",
"res/cocosui/check_box_normal_press.png",
"res/cocosui/check_box_active.png",
"res/cocosui/check_box_normal_disable.png",
"res/cocosui/check_box_active_disable.png");
var checkBox2 = new ccui.CheckBox("ccs-res/cocosui/check_box_normal.png",
"ccs-res/cocosui/check_box_normal_press.png",
"ccs-res/cocosui/check_box_active.png",
"ccs-res/cocosui/check_box_normal_disable.png",
"ccs-res/cocosui/check_box_active_disable.png");
var swallowPosition = swallowTouchText.getPosition();
checkBox2.setPosition(
swallowPosition.x + swallowTouchText.getContentSize().width/2,
@ -431,8 +431,8 @@ var UIPageViewDynamicAddAndRemoveTest = UIScene.extend({
for (var k = 0; k < 2; ++k){
var innerBox = new ccui.VBox();
for (var j = 0; j < 3; j++){
var btn = new ccui.Button("res/cocosui/animationbuttonnormal.png",
"res/cocosui/animationbuttonpressed.png");
var btn = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png",
"ccs-res/cocosui/animationbuttonpressed.png");
btn.setName("button " + j);
innerBox.addChild(btn);
}
@ -465,8 +465,8 @@ var UIPageViewDynamicAddAndRemoveTest = UIScene.extend({
for (var k = 0; k < 2; ++k){
var innerBox = new ccui.VBox();
for (var j = 0; j < 3; j++){
var btn = new ccui.Button("res/cocosui/animationbuttonnormal.png",
"res/cocosui/animationbuttonpressed.png");
var btn = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png",
"ccs-res/cocosui/animationbuttonpressed.png");
btn.setName("button " + j);
innerBox.addChild(btn);
}

View File

@ -34,7 +34,7 @@ var UIRichTextTest = UIScene.extend({
var widgetSize = this._widget.getContentSize();
var button = new ccui.Button();
button.setTouchEnabled(true);
button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
button.setTitleText("switch");
button.setPosition(cc.p(widgetSize.width / 2, widgetSize.height / 2 + button.getContentSize().height * 2.5));
button.addTouchEventListener(this.touchEvent,this);
@ -52,9 +52,9 @@ var UIRichTextTest = UIScene.extend({
var re4 = new ccui.RichElementText(4, cc.color.GREEN, 255, "And green. ", "Helvetica", 10);
var re5 = new ccui.RichElementText(5, cc.color.RED, 255, "Last one is red ", "Helvetica", 10);
var reimg = new ccui.RichElementImage(6, cc.color.WHITE, 255, "res/cocosui/sliderballnormal.png");
var reimg = new ccui.RichElementImage(6, cc.color.WHITE, 255, "ccs-res/cocosui/sliderballnormal.png");
ccs.armatureDataManager.addArmatureFileInfo("res/cocosui/100/100.ExportJson");
ccs.armatureDataManager.addArmatureFileInfo("ccs-res/cocosui/100/100.ExportJson");
var pAr = new ccs.Armature("100");
pAr.getAnimation().play("Animation1");

View File

@ -45,18 +45,27 @@ UIScene = cc.Scene.extend({
var widget;
if(cocoStudioOldApiFlag == 0){
var json = ccs.load("res/cocosui/UITest/UITest.json");
var json = ccs.load("ccs-res/cocosui/UITest/UITest.json");
widget = json.node;
}else{
//old api
widget = ccs.uiReader.widgetFromJsonFile("res/cocosui/UITest/UITest.json");
widget = ccs.uiReader.widgetFromJsonFile("ccs-res/cocosui/UITest/UITest.json");
}
mainNode.addChild(widget,-1);
this._sceneTitle = widget.getChildByName("UItest");
var back_label = widget.getChildByName("back");
back_label.addTouchEventListener(this.toExtensionsMainLayer, this);
var label = new cc.LabelTTF("Main Menu", "Arial", 20);
var menuItem = new cc.MenuItemLabel(label, this.toExtensionsMainLayer, this);
var menu = new cc.Menu(menuItem);
menu.x = 0;
menu.y = 0;
menuItem.x = winSize.width - 50;
menuItem.y = 25;
this.addChild(menu, 1);
var left_button = widget.getChildByName("left_Button");
left_button.addTouchEventListener(this.previousCallback ,this);
@ -104,18 +113,9 @@ UIScene = cc.Scene.extend({
setSceneTitle: function (title) {
this._sceneTitle.setString(title);
},
toExtensionsMainLayer: function (sender, type) {
if (type == ccui.Widget.TOUCH_ENDED) {
UISceneManager.purge();
/*
var scene = new cc.Scene();
var layer = new TestController();
scene.addChild(layer);
var transition = new cc.TransitionProgressRadialCCW(0.5,scene);
director.runScene(transition);
*/
GUITestScene.prototype.runThisTest();
}
toExtensionsMainLayer: function (sender) {
UISceneManager.purge();
GUITestScene.prototype.runThisTest();
},
previousCallback: function (sender, type) {

View File

@ -551,7 +551,7 @@
global.GUITestScene = cc.Class.extend({
runThisTest: function(){
if(guiTestScene === null)
if(guiTestScene === null || !cc.sys.isObjectValid(guiTestScene))
guiTestScene = new listScene;
cc.director.runScene(guiTestScene);
}

View File

@ -48,7 +48,7 @@ var UIScrollViewTest_Vertical = UIScene.extend({
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView();
imageView.loadTexture("res/cocosui/ccicon.png");
imageView.loadTexture("ccs-res/cocosui/ccicon.png");
var innerWidth = scrollView.width;
var innerHeight = scrollView.height + imageView.height;
@ -57,14 +57,14 @@ var UIScrollViewTest_Vertical = UIScene.extend({
var button = new ccui.Button();
button.setTouchEnabled(true);
button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
button.x = innerWidth / 2;
button.y = scrollView.getInnerContainerSize().height - button.height / 2;
scrollView.addChild(button);
var textButton = new ccui.Button();
textButton.setTouchEnabled(true);
textButton.loadTextures("res/cocosui/backtotopnormal.png", "res/cocosui/backtotoppressed.png", "");
textButton.loadTextures("ccs-res/cocosui/backtotopnormal.png", "ccs-res/cocosui/backtotoppressed.png", "");
textButton.setTitleText("Text Button");
textButton.x = innerWidth / 2;
textButton.y = button.getBottomBoundary() - button.height;
@ -73,7 +73,7 @@ var UIScrollViewTest_Vertical = UIScene.extend({
var button_scale9 = new ccui.Button();
button_scale9.setTouchEnabled(true);
button_scale9.setScale9Enabled(true);
button_scale9.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
button_scale9.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
button_scale9.width = 100;
button_scale9.height = 32;
button_scale9.x = innerWidth / 2;
@ -117,7 +117,7 @@ var UIScrollViewTest_Horizontal = UIScene.extend({
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView();
imageView.loadTexture("res/cocosui/ccicon.png");
imageView.loadTexture("ccs-res/cocosui/ccicon.png");
var innerWidth = scrollViewRect.width + imageView.getContentSize().width;
var innerHeight = scrollViewRect.height;
@ -126,14 +126,14 @@ var UIScrollViewTest_Horizontal = UIScene.extend({
var button = new ccui.Button();
button.setTouchEnabled(true);
button.loadTextures("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png", "");
button.loadTextures("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png", "");
button.x = button.width / 2;
button.y = scrollView.getInnerContainerSize().height - button.height / 2;
scrollView.addChild(button);
var textButton = new ccui.Button();
textButton.setTouchEnabled(true);
textButton.loadTextures("res/cocosui/backtotopnormal.png", "res/cocosui/backtotoppressed.png", "");
textButton.loadTextures("ccs-res/cocosui/backtotopnormal.png", "ccs-res/cocosui/backtotoppressed.png", "");
textButton.setTitleText("Text Button");
textButton.x = button.getRightBoundary() + button.width / 2;
textButton.y = button.getBottomBoundary() - button.height;
@ -142,7 +142,7 @@ var UIScrollViewTest_Horizontal = UIScene.extend({
var button_scale9 = new ccui.Button();
button_scale9.setTouchEnabled(true);
button_scale9.setScale9Enabled(true);
button_scale9.loadTextures("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png", "");
button_scale9.loadTextures("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png", "");
button_scale9.width = 100;
button_scale9.height = 32;
button_scale9.x = textButton.getRightBoundary() + textButton.width / 2;
@ -179,7 +179,7 @@ var UIScrollViewTest_Both = UIScene.extend({
scrollView.setTouchEnabled(true);
scrollView.setBounceEnabled(true);
scrollView.setBackGroundImageScale9Enabled(true);
scrollView.setBackGroundImage("res/cocosui/green_edit.png");
scrollView.setBackGroundImage("ccs-res/cocosui/green_edit.png");
scrollView.setContentSize(cc.size(210, 122));
var scrollViewSize = scrollView.getContentSize();
@ -188,7 +188,7 @@ var UIScrollViewTest_Both = UIScene.extend({
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView();
imageView.loadTexture("res/cocosui/b11.png");
imageView.loadTexture("ccs-res/cocosui/b11.png");
scrollView.addChild(imageView);
scrollView.setInnerContainerSize(cc.size(imageView.width, imageView.height));
@ -230,7 +230,7 @@ var UIScrollViewTest_ScrollToPercentBothDirection = UIScene.extend({
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView();
imageView.loadTexture("res/cocosui/Hello.png");
imageView.loadTexture("ccs-res/cocosui/Hello.png");
imageView.x = 240;
imageView.y = 160;
scrollView.addChild(imageView);
@ -271,7 +271,7 @@ var UIScrollViewTest_ScrollToPercentBothDirection_Bounce = UIScene.extend({
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView();
imageView.loadTexture("res/cocosui/Hello.png");
imageView.loadTexture("ccs-res/cocosui/Hello.png");
imageView.x = 240;
imageView.y = 160;
scrollView.addChild(imageView);
@ -310,23 +310,23 @@ var UIScrollViewNestTest = UIScene.extend({
(backgroundSize.height - scrollView.getContentSize().height) / 2.0));
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView("res/cocosui/ccicon.png");
var imageView = new ccui.ImageView("ccs-res/cocosui/ccicon.png");
var innerWidth = scrollView.getContentSize().width;
var innerHeight = scrollView.getContentSize().height + imageView.getContentSize().height;
scrollView.setInnerContainerSize(cc.size(innerWidth, innerHeight));
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button.setPosition(cc.p(innerWidth / 2.0, scrollView.getInnerContainerSize().height - button.getContentSize().height / 2.0));
scrollView.addChild(button);
var titleButton = new ccui.Button("res/cocosui/backtotopnormal.png", "res/cocosui/backtotoppressed.png");
var titleButton = new ccui.Button("ccs-res/cocosui/backtotopnormal.png", "ccs-res/cocosui/backtotoppressed.png");
titleButton.setTitleText("Title Button");
titleButton.setPosition(cc.p(innerWidth / 2.0, button.getBottomBoundary() - button.getContentSize().height));
scrollView.addChild(titleButton);
var button_scale9 = new ccui.Button("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png");
var button_scale9 = new ccui.Button("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png");
button_scale9.setScale9Enabled(true);
button_scale9.setContentSize(cc.size(100.0, button_scale9.getVirtualRendererSize().height));
button_scale9.setPosition(cc.p(innerWidth / 2.0, titleButton.getBottomBoundary() - titleButton.getContentSize().height));
@ -346,7 +346,7 @@ var UIScrollViewNestTest = UIScene.extend({
sc.setPropagateTouchEvents(false);
sc.setPosition(cc.p(180,100));
sc.scrollToPercentBothDirection(cc.p(50, 50), 1, true);
var iv = new ccui.ImageView("res/cocosui/Hello.png");
var iv = new ccui.ImageView("ccs-res/cocosui/Hello.png");
iv.setPosition(cc.p(240, 160));
sc.addChild(iv);
scrollView.addChild(sc);
@ -385,22 +385,22 @@ var UIScrollViewRotated = UIScene.extend({
scrollView.setRotation(45);
this._mainNode.addChild(scrollView);
var imageView = new ccui.ImageView("res/cocosui/ccicon.png");
var imageView = new ccui.ImageView("ccs-res/cocosui/ccicon.png");
var innerWidth = scrollView.getContentSize().width;
var innerHeight = scrollView.getContentSize().height + imageView.getContentSize().height;
scrollView.setInnerContainerSize(cc.size(innerWidth, innerHeight));
var button = new ccui.Button("res/cocosui/animationbuttonnormal.png", "res/cocosui/animationbuttonpressed.png");
var button = new ccui.Button("ccs-res/cocosui/animationbuttonnormal.png", "ccs-res/cocosui/animationbuttonpressed.png");
button.setPosition(cc.p(innerWidth / 2.0, scrollView.getInnerContainerSize().height - button.getContentSize().height / 2.0));
scrollView.addChild(button);
var titleButton = new ccui.Button("res/cocosui/backtotopnormal.png", "res/cocosui/backtotoppressed.png");
var titleButton = new ccui.Button("ccs-res/cocosui/backtotopnormal.png", "ccs-res/cocosui/backtotoppressed.png");
titleButton.setTitleText("Title Button");
titleButton.setPosition(cc.p(innerWidth / 2.0, button.getBottomBoundary() - button.getContentSize().height));
scrollView.addChild(titleButton);
var button_scale9 = new ccui.Button("res/cocosui/button.png", "res/cocosui/buttonHighlighted.png");
var button_scale9 = new ccui.Button("ccs-res/cocosui/button.png", "ccs-res/cocosui/buttonHighlighted.png");
button_scale9.setScale9Enabled(true);
button_scale9.setContentSize(cc.size(100.0, button_scale9.getVirtualRendererSize().height));
button_scale9.setPosition(cc.p(innerWidth / 2.0, titleButton.getBottomBoundary() - titleButton.getContentSize().height));

View File

@ -34,9 +34,9 @@ var UISliderTest = UIScene.extend({
// Create the slider
var slider = new ccui.Slider();
slider.setTouchEnabled(true);
slider.loadBarTexture("res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png", "res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("res/cocosui/sliderProgress.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png", "ccs-res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("ccs-res/cocosui/sliderProgress.png");
slider.x = widgetSize.width / 2.0;
slider.y = widgetSize.height / 2.0;
slider.addEventListener(this.sliderEvent, this);
@ -72,9 +72,9 @@ var UISliderTest_Scale9 = UIScene.extend({
var slider = new ccui.Slider();
slider.setTouchEnabled(true);
slider.setScale9Enabled(true);
slider.loadBarTexture("res/cocosui/sliderTrack2.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png", "res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("res/cocosui/slider_bar_active_9patch.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack2.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png", "ccs-res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("ccs-res/cocosui/slider_bar_active_9patch.png");
slider.setCapInsets(cc.rect(0, 0, 0, 0));
slider.setContentSize(cc.size(250, 10));
slider.x = widgetSize.width / 2.0;
@ -116,12 +116,12 @@ var UISliderNormalDefaultTest = UIScene.extend({
// Create the slider
var slider = new ccui.Slider();
slider.loadBarTexture("res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png");
slider.setPosition(cc.p(widgetSize.width / 2, widgetSize.height / 2 + 50));
this._mainNode.addChild(slider);
var sliderScale9 = new ccui.Slider("res/cocosui/sliderTrack2.png", "res/cocosui/sliderThumb.png");
var sliderScale9 = new ccui.Slider("ccs-res/cocosui/sliderTrack2.png", "ccs-res/cocosui/sliderThumb.png");
sliderScale9.setScale9Enabled(true);
sliderScale9.setCapInsets(cc.rect(0, 0, 0, 0));
sliderScale9.setZoomScale(1);
@ -152,14 +152,14 @@ var UISliderDisabledDefaultTest = UIScene.extend({
// Create the slider
var slider = new ccui.Slider();
slider.loadBarTexture("res/cocosui/slidbar.png");
slider.loadSlidBallTextureNormal("res/cocosui/sliderballnormal.png");
slider.loadBarTexture("ccs-res/cocosui/slidbar.png");
slider.loadSlidBallTextureNormal("ccs-res/cocosui/sliderballnormal.png");
slider.setEnabled(false);
slider.setBright(false);
slider.setPosition(cc.p(widgetSize.width / 2, widgetSize.height / 2 + 50));
this._mainNode.addChild(slider);
var sliderScale9 = new ccui.Slider("res/cocosui/slidbar.png", "res/cocosui/sliderballnormal.png");
var sliderScale9 = new ccui.Slider("ccs-res/cocosui/slidbar.png", "ccs-res/cocosui/sliderballnormal.png");
sliderScale9.setScale9Enabled(true);
sliderScale9.setEnabled(false);
sliderScale9.setBright(false);

View File

@ -589,9 +589,9 @@ var SchedulerTimeScale = SchedulerTestLayer.extend({
slider = new ccui.Slider();
slider.setTouchEnabled(true);
slider.loadBarTexture("res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png", "res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("res/cocosui/sliderProgress.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png", "ccs-res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("ccs-res/cocosui/sliderProgress.png");
slider.x = cc.winSize.width / 2.0;
slider.y = cc.winSize.height / 3.0 * 2;
slider.addEventListener(this.sliderEventForGrossini, this);
@ -605,9 +605,9 @@ var SchedulerTimeScale = SchedulerTestLayer.extend({
slider = new ccui.Slider();
slider.setTouchEnabled(true);
slider.loadBarTexture("res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("res/cocosui/sliderThumb.png", "res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("res/cocosui/sliderProgress.png");
slider.loadBarTexture("ccs-res/cocosui/sliderTrack.png");
slider.loadSlidBallTextures("ccs-res/cocosui/sliderThumb.png", "ccs-res/cocosui/sliderThumb.png", "");
slider.loadProgressBarTexture("ccs-res/cocosui/sliderProgress.png");
slider.x = cc.winSize.width / 2.0;
slider.y = cc.winSize.height / 3.0;
slider.addEventListener(this.sliderEventForGlobal, this);

View File

@ -59,40 +59,40 @@ var s_tcc_issue_2 = "animations/tcc_issue_2.png";
var s_tcc_issue_1_plist = "animations/tcc_issue_1.plist";
var s_tcc_issue_2_plist = "animations/tcc_issue_2.plist";
var s_Cowboy_json = "armatuCowboy.ExportJson";
var s_Cowboy_plist = "armatuCowboy0.plist";
var s_Cowboy_png = "armatuCowboy0.png";
var s_hero_json = "armatuhero.ExportJson";
var s_hero0_plist = "armatuhero0.plist";
var s_hero0_png = "armatuhero0.png";
var s_horse_json = "armatuhorse.ExportJson";
var s_horse0_plist = "armatuhorse0.plist";
var s_horse0_png = "armatuhorse0.png";
var s_bear_json = "armatubear.ExportJson";
var s_bear0_plist = "armatubear0.plist";
var s_bear0_png = "armatubear0.png";
var s_blood_plist = "armatublood.plist";
var s_HeroAnimation_json = "armatuHeroAnimation.ExportJson";
var s_HeroAnimation0_plist = "armatuHeroAnimation0.plist";
var s_HeroAnimation0_png = "armatuHeroAnimation0.png";
var s_cyborg_plist = "armatucyborg.plist";
var s_cyborg_png = "armatucyborg.png";
var s_cyborg_xml = "armatucyborg.xml";
var s_Dragon_plist = "armatuDragon.plist";
var s_Dragon_png = "armatuDragon.png";
var s_Dragon_xml = "armatuDragon.xml";
var s_knight_plist = "armatuknight.plist";
var s_knight_png = "armatuknight.png";
var s_knight_xml = "armatuknight.xml";
var s_robot_plist = "armaturobot.plist";
var s_robot_png = "armaturobot.png";
var s_robot_xml = "armaturobot.xml";
var s_weapon_plist = "armatuweapon.plist";
var s_weapon_png = "armatuweapon.png";
var s_weapon_xml = "armatuweapon.xml";
var s_testEasing_json = "armatutestEasing.ExportJson";
var s_testEasing0_plist = "armatutestEasing0.plist";
var s_testEasing0_png = "armatutestEasing0.png";
var s_Cowboy_json = "ccs-res/armature/Cowboy.ExportJson";
var s_Cowboy_plist = "ccs-res/armature/Cowboy0.plist";
var s_Cowboy_png = "ccs-res/armature/Cowboy0.png";
var s_hero_json = "ccs-res/armature/hero.ExportJson";
var s_hero0_plist = "ccs-res/armature/hero0.plist";
var s_hero0_png = "ccs-res/armature/hero0.png";
var s_horse_json = "ccs-res/armature/horse.ExportJson";
var s_horse0_plist = "ccs-res/armature/horse0.plist";
var s_horse0_png = "ccs-res/armature/horse0.png";
var s_bear_json = "ccs-res/armature/bear.ExportJson";
var s_bear0_plist = "ccs-res/armature/bear0.plist";
var s_bear0_png = "ccs-res/armature/bear0.png";
var s_blood_plist = "ccs-res/armature/blood.plist";
var s_HeroAnimation_json = "ccs-res/armature/HeroAnimation.ExportJson";
var s_HeroAnimation0_plist = "ccs-res/armature/HeroAnimation0.plist";
var s_HeroAnimation0_png = "ccs-res/armature/HeroAnimation0.png";
var s_cyborg_plist = "ccs-res/armature/cyborg.plist";
var s_cyborg_png = "ccs-res/armature/cyborg.png";
var s_cyborg_xml = "ccs-res/armature/cyborg.xml";
var s_Dragon_plist = "ccs-res/armature/Dragon.plist";
var s_Dragon_png = "ccs-res/armature/Dragon.png";
var s_Dragon_xml = "ccs-res/armature/Dragon.xml";
var s_knight_plist = "ccs-res/armature/knight.plist";
var s_knight_png = "ccs-res/armature/knight.png";
var s_knight_xml = "ccs-res/armature/knight.xml";
var s_robot_plist = "ccs-res/armature/robot.plist";
var s_robot_png = "ccs-res/armature/robot.png";
var s_robot_xml = "ccs-res/armature/robot.xml";
var s_weapon_plist = "ccs-res/armature/weapon.plist";
var s_weapon_png = "ccs-res/armature/weapon.png";
var s_weapon_xml = "ccs-res/armature/weapon.xml";
var s_testEasing_json = "ccs-res/armature/testEasing.ExportJson";
var s_testEasing0_plist = "ccs-res/armature/testEasing0.plist";
var s_testEasing0_png = "ccs-res/armature/testEasing0.png";
var s_s9s_blocks9 = "Images/blocks9ss.png";
var s_s9s_blocks9_plist = "Images/blocks9ss.plist";
@ -393,10 +393,10 @@ var g_box2d = [
];
var g_cocosdeshion = [
"Sound/background.mp3",
"Sound/effect2.mp3"
//"Sound/background.ogg", //one sound only, cc.audio can auto select other format to load if the sound format isn't supported on some browser.
//"Sound/effect2.ogg"
"background.mp3",
"effect2.mp3"
//"background.ogg", //one sound only, cc.audio can auto select other format to load if the sound format isn't supported on some browser.
//"effect2.ogg"
];
var g_parallax = [
@ -587,374 +587,374 @@ var g_cocoStudio = [
"Images/b2.png",
"Images/f1.png",
"Images/f2.png",
"cocosui/CCS/Button/background.png",
"cocosui/CCS/Button/buttonBackground.png",
"cocosui/CCS/Button/buttonHighlighted.png",
"cocosui/CCS/Button/button_n.png",
"cocosui/CCS/Button/button_p.png",
"cocosui/CCS/Button/ribbon.png",
"cocosui/CCS/Button/Button_1.json",
"cocosui/CCS/CheckBox/background.png",
"cocosui/CCS/CheckBox/buttonBackground.png",
"cocosui/CCS/CheckBox/ribbon.png",
"cocosui/CCS/CheckBox/selected01.png",
"cocosui/CCS/CheckBox/selected02.png",
"cocosui/CCS/CheckBox/checkbox_1.json",
"cocosui/CCS/CheckBox/MainScene.json",
"cocosui/CCS/CheckBox/Default/CheckBox_Disable.png",
"cocosui/CCS/CheckBox/img/btn_music.png",
"cocosui/CCS/CheckBox/img/btn_sound_off.png",
"cocosui/CCS/ImageView/background.png",
"cocosui/CCS/ImageView/buttonBackground.png",
"cocosui/CCS/ImageView/buttonHighlighted.png",
"cocosui/CCS/ImageView/GUI/image.png",
"cocosui/CCS/ImageView/ribbon.png",
"cocosui/CCS/ImageView/ImageView_1.json",
"cocosui/CCS/LabelAtlas/background.png",
"cocosui/CCS/LabelAtlas/buttonBackground.png",
"cocosui/CCS/LabelAtlas/GUI/labelatlasimg.png",
"cocosui/CCS/LabelAtlas/ribbon.png",
"cocosui/CCS/LabelAtlas/labelatlas_1.json",
"cocosui/CCS/LabelBMFont/background.png",
"cocosui/CCS/LabelBMFont/buttonBackground.png",
"cocosui/CCS/LabelBMFont/GUI/missing-font.fnt",
"cocosui/CCS/LabelBMFont/GUI/missing-font.png",
"cocosui/CCS/LabelBMFont/ribbon.png",
"cocosui/CCS/LabelBMFont/labelbmfont_1.json",
"cocosui/CCS/Label/background.png",
"cocosui/CCS/Label/buttonBackground.png",
"cocosui/CCS/Label/ribbon.png",
"cocosui/CCS/Label/label_1.json",
"cocosui/CCS/Layout/BackgroundImage/background.png",
"cocosui/CCS/Layout/BackgroundImage/buttonBackground.png",
"cocosui/CCS/Layout/BackgroundImage/button_n.png",
"cocosui/CCS/Layout/BackgroundImage/button_p.png",
"cocosui/CCS/Layout/BackgroundImage/GUI/image.png",
"cocosui/CCS/Layout/BackgroundImage/Hello.png",
"cocosui/CCS/Layout/BackgroundImage/ribbon.png",
"cocosui/CCS/Layout/BackgroundImage/selected01.png",
"cocosui/CCS/Layout/BackgroundImage/selected02.png",
"cocosui/CCS/Layout/BackgroundImage/backgroundimage_1.json",
"cocosui/CCS/Layout/Color/background.png",
"cocosui/CCS/Layout/Color/buttonBackground.png",
"cocosui/CCS/Layout/Color/button_n.png",
"cocosui/CCS/Layout/Color/button_p.png",
"cocosui/CCS/Layout/Color/GUI/image.png",
"cocosui/CCS/Layout/Color/ribbon.png",
"cocosui/CCS/Layout/Color/selected01.png",
"cocosui/CCS/Layout/Color/selected02.png",
"cocosui/CCS/Layout/Color/color_1.json",
"cocosui/CCS/Layout/Layout/background.png",
"cocosui/CCS/Layout/Layout/buttonBackground.png",
"cocosui/CCS/Layout/Layout/button_n.png",
"cocosui/CCS/Layout/Layout/button_p.png",
"cocosui/CCS/Layout/Layout/GUI/image.png",
"cocosui/CCS/Layout/Layout/ribbon.png",
"cocosui/CCS/Layout/Layout/selected01.png",
"cocosui/CCS/Layout/Layout/selected02.png",
"cocosui/CCS/Layout/Layout/layout_1.json",
"cocosui/CCS/Layout/Gradient_Color/background.png",
"cocosui/CCS/Layout/Gradient_Color/buttonBackground.png",
"cocosui/CCS/Layout/Gradient_Color/button_n.png",
"cocosui/CCS/Layout/Gradient_Color/button_p.png",
"cocosui/CCS/Layout/Gradient_Color/GUI/image.png",
"cocosui/CCS/Layout/Gradient_Color/ribbon.png",
"cocosui/CCS/Layout/Gradient_Color/selected01.png",
"cocosui/CCS/Layout/Gradient_Color/selected02.png",
"cocosui/CCS/Layout/Gradient_Color/gradient_color_1.json",
"cocosui/CCS/Layout/Linear_Horizontal/background.png",
"cocosui/CCS/Layout/Linear_Horizontal/buttonBackground.png",
"cocosui/CCS/Layout/Linear_Horizontal/button_n.png",
"cocosui/CCS/Layout/Linear_Horizontal/button_p.png",
"cocosui/CCS/Layout/Linear_Horizontal/GUI/image.png",
"cocosui/CCS/Layout/Linear_Horizontal/ribbon.png",
"cocosui/CCS/Layout/Linear_Horizontal/selected01.png",
"cocosui/CCS/Layout/Linear_Horizontal/selected02.png",
"cocosui/CCS/Layout/Linear_Horizontal/linear_horizontal.json",
"cocosui/CCS/Layout/Linear_Vertical/background.png",
"cocosui/CCS/Layout/Linear_Vertical/buttonBackground.png",
"cocosui/CCS/Layout/Linear_Vertical/button_n.png",
"cocosui/CCS/Layout/Linear_Vertical/button_p.png",
"cocosui/CCS/Layout/Linear_Vertical/GUI/image.png",
"cocosui/CCS/Layout/Linear_Vertical/ribbon.png",
"cocosui/CCS/Layout/Linear_Vertical/selected01.png",
"cocosui/CCS/Layout/Linear_Vertical/selected02.png",
"cocosui/CCS/Layout/Linear_Vertical/linear_vertical.json",
"cocosui/CCS/Layout/Relative_Align_Location/background.png",
"cocosui/CCS/Layout/Relative_Align_Location/buttonBackground.png",
"cocosui/CCS/Layout/Relative_Align_Location/button_n.png",
"cocosui/CCS/Layout/Relative_Align_Location/button_p.png",
"cocosui/CCS/Layout/Relative_Align_Location/GUI/image.png",
"cocosui/CCS/Layout/Relative_Align_Location/ribbon.png",
"cocosui/CCS/Layout/Relative_Align_Location/selected01.png",
"cocosui/CCS/Layout/Relative_Align_Location/selected02.png",
"cocosui/CCS/Layout/Relative_Align_Location/relative_align_location.json",
"cocosui/CCS/Layout/Relative_Align_Parent/background.png",
"cocosui/CCS/Layout/Relative_Align_Parent/buttonBackground.png",
"cocosui/CCS/Layout/Relative_Align_Parent/button_n.png",
"cocosui/CCS/Layout/Relative_Align_Parent/button_p.png",
"cocosui/CCS/Layout/Relative_Align_Parent/GUI/image.png",
"cocosui/CCS/Layout/Relative_Align_Parent/ribbon.png",
"cocosui/CCS/Layout/Relative_Align_Parent/selected01.png",
"cocosui/CCS/Layout/Relative_Align_Parent/selected02.png",
"cocosui/CCS/Layout/Relative_Align_Parent/relative_align_parent.json",
"cocosui/CCS/Layout/Scale9/background.png",
"cocosui/CCS/Layout/Scale9/buttonBackground.png",
"cocosui/CCS/Layout/Scale9/button_n.png",
"cocosui/CCS/Layout/Scale9/button_p.png",
"cocosui/CCS/Layout/Scale9/GUI/image.png",
"cocosui/CCS/Layout/Scale9/ribbon.png",
"cocosui/CCS/Layout/Scale9/selected01.png",
"cocosui/CCS/Layout/Scale9/selected02.png",
"cocosui/CCS/Layout/Scale9/slider_bar.png",
"cocosui/CCS/Layout/Scale9/scale9.json",
"cocosui/CCS/ListView/Horizontal/background.png",
"cocosui/CCS/ListView/Horizontal/buttonBackground.png",
"cocosui/CCS/ListView/Horizontal/button_p.png",
"cocosui/CCS/ListView/Horizontal/GUI/button.png",
"cocosui/CCS/ListView/Horizontal/GUI/image.png",
"cocosui/CCS/ListView/Horizontal/ribbon.png",
"cocosui/CCS/ListView/Horizontal/horizontal_1.json",
"cocosui/CCS/ListView/Vertical/background.png",
"cocosui/CCS/ListView/Vertical/buttonBackground.png",
"cocosui/CCS/ListView/Vertical/button_p.png",
"cocosui/CCS/ListView/Vertical/GUI/button.png",
"cocosui/CCS/ListView/Vertical/GUI/image.png",
"cocosui/CCS/ListView/Vertical/ribbon.png",
"cocosui/CCS/ListView/Vertical/vertical_1.json",
"cocosui/CCS/LoadingBar/background.png",
"cocosui/CCS/LoadingBar/buttonBackground.png",
"cocosui/CCS/LoadingBar/GUI/loadingbar.png",
"cocosui/CCS/LoadingBar/ribbon.png",
"cocosui/CCS/LoadingBar/loadingbar_1.json",
"cocosui/CCS/PageView/background.png",
"cocosui/CCS/PageView/buttonBackground.png",
"cocosui/CCS/PageView/button_n.png",
"cocosui/CCS/PageView/ribbon.png",
"cocosui/CCS/PageView/pageview_1.json",
"cocosui/CCS/ScrollView/Both/background.png",
"cocosui/CCS/ScrollView/Both/buttonBackground.png",
"cocosui/CCS/ScrollView/Both/button_n.png",
"cocosui/CCS/ScrollView/Both/button_p.png",
"cocosui/CCS/ScrollView/Both/GUI/image.png",
"cocosui/CCS/ScrollView/Both/ribbon.png",
"cocosui/CCS/ScrollView/Both/selected01.png",
"cocosui/CCS/ScrollView/Both/selected02.png",
"cocosui/CCS/ScrollView/Both/both_1.json",
"cocosui/CCS/ScrollView/Horizontal/background.png",
"cocosui/CCS/ScrollView/Horizontal/buttonBackground.png",
"cocosui/CCS/ScrollView/Horizontal/button_n.png",
"cocosui/CCS/ScrollView/Horizontal/button_p.png",
"cocosui/CCS/ScrollView/Horizontal/GUI/image.png",
"cocosui/CCS/ScrollView/Horizontal/ribbon.png",
"cocosui/CCS/ScrollView/Horizontal/selected01.png",
"cocosui/CCS/ScrollView/Horizontal/selected02.png",
"cocosui/CCS/ScrollView/Horizontal/horizontal_1.json",
"cocosui/CCS/ScrollView/Vertical/background.png",
"cocosui/CCS/ScrollView/Vertical/buttonBackground.png",
"cocosui/CCS/ScrollView/Vertical/button_n.png",
"cocosui/CCS/ScrollView/Vertical/button_p.png",
"cocosui/CCS/ScrollView/Vertical/GUI/image.png",
"cocosui/CCS/ScrollView/Vertical/ribbon.png",
"cocosui/CCS/ScrollView/Vertical/selected01.png",
"cocosui/CCS/ScrollView/Vertical/selected02.png",
"cocosui/CCS/ScrollView/Vertical/vertical_1.json",
"cocosui/CCS/Slider/2014-1-26 11-42-09.png",
"cocosui/CCS/Slider/2014-1-26 11-43-52.png",
"cocosui/CCS/Slider/background.png",
"cocosui/CCS/Slider/buttonBackground.png",
"cocosui/CCS/Slider/ribbon.png",
"cocosui/CCS/Slider/silder_progressBar.png",
"cocosui/CCS/Slider/slider_bar.png",
"cocosui/CCS/Slider/slider_bar_button.png",
"cocosui/CCS/Slider/slider_1.json",
"cocosui/CCS/TextField/background.png",
"cocosui/CCS/TextField/buttonBackground.png",
"cocosui/CCS/TextField/ribbon.png",
"cocosui/CCS/TextField/textfield_1.json",
"cocosui/CCS/WidgetAddNode/background.png",
"cocosui/CCS/WidgetAddNode/buttonBackground.png",
"cocosui/CCS/WidgetAddNode/ribbon.png",
"cocosui/CCS/WidgetAddNode/widget_add_node.json",
"Sound/background-music-aac.wav",
"Sound/pew-pew-lei.wav",
"ccs-res/cocosui/UIEditorTest/UIButton/background.png",
"ccs-res/cocosui/UIEditorTest/UIButton/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIButton/buttonHighlighted.png",
"ccs-res/cocosui/UIEditorTest/UIButton/button_n.png",
"ccs-res/cocosui/UIEditorTest/UIButton/button_p.png",
"ccs-res/cocosui/UIEditorTest/UIButton/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIButton/Button_1.json",
"ccs-res/cocosui/UIEditorTest/UICheckBox/background.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/selected01.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/selected02.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/checkbox_1.json",
"ccs-res/cocosui/UIEditorTest/UICheckBox/MainScene.json",
"ccs-res/cocosui/UIEditorTest/UICheckBox/Default/CheckBox_Disable.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/img/btn_music.png",
"ccs-res/cocosui/UIEditorTest/UICheckBox/img/btn_sound_off.png",
"ccs-res/cocosui/UIEditorTest/UIImageView/background.png",
"ccs-res/cocosui/UIEditorTest/UIImageView/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIImageView/buttonHighlighted.png",
"ccs-res/cocosui/UIEditorTest/UIImageView/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UIImageView/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIImageView/ImageView_1.json",
"ccs-res/cocosui/UIEditorTest/UILabelAtlas/background.png",
"ccs-res/cocosui/UIEditorTest/UILabelAtlas/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILabelAtlas/GUI/labelatlasimg.png",
"ccs-res/cocosui/UIEditorTest/UILabelAtlas/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILabelAtlas/labelatlas_1.json",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont/background.png",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont/GUI/missing-font.fnt",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont/GUI/missing-font.png",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont/labelbmfont_1.json",
"ccs-res/cocosui/UIEditorTest/UILabel/background.png",
"ccs-res/cocosui/UIEditorTest/UILabel/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILabel/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILabel/label_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/Hello.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/BackgroundImage/backgroundimage_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Color/color_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Layout/layout_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Gradient_Color/gradient_color_1.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Horizontal_Layout/linear_horizontal.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Linear_Vertical_Layout/linear_vertical.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Location/relative_align_location.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Relative_Align_Parent/relative_align_parent.json",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/background.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/button_n.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/button_p.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/selected01.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/selected02.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/slider_bar.png",
"ccs-res/cocosui/UIEditorTest/UILayout/Scale9_BackgroundImage/scale9.json",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/background.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/button_p.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/GUI/button.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Horizontal/horizontal_1.json",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/background.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/button_p.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/GUI/button.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIListView/Vertical/vertical_1.json",
"ccs-res/cocosui/UIEditorTest/UILoadingBar/background.png",
"ccs-res/cocosui/UIEditorTest/UILoadingBar/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UILoadingBar/GUI/loadingbar.png",
"ccs-res/cocosui/UIEditorTest/UILoadingBar/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UILoadingBar/loadingbar_1.json",
"ccs-res/cocosui/UIEditorTest/UIPageView/background.png",
"ccs-res/cocosui/UIEditorTest/UIPageView/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIPageView/button_n.png",
"ccs-res/cocosui/UIEditorTest/UIPageView/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIPageView/pageview_1.json",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/background.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/button_n.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/button_p.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/selected01.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/selected02.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Both/both_1.json",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/background.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/button_n.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/button_p.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/selected01.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/selected02.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Horizontal/horizontal_1.json",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/background.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/button_n.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/button_p.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/GUI/image.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/selected01.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/selected02.png",
"ccs-res/cocosui/UIEditorTest/UIScrollView/Vertical/vertical_1.json",
"ccs-res/cocosui/UIEditorTest/UISlider/2014-1-26 11-42-09.png",
"ccs-res/cocosui/UIEditorTest/UISlider/2014-1-26 11-43-52.png",
"ccs-res/cocosui/UIEditorTest/UISlider/background.png",
"ccs-res/cocosui/UIEditorTest/UISlider/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UISlider/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UISlider/silder_progressBar.png",
"ccs-res/cocosui/UIEditorTest/UISlider/slider_bar.png",
"ccs-res/cocosui/UIEditorTest/UISlider/slider_bar_button.png",
"ccs-res/cocosui/UIEditorTest/UISlider/slider_1.json",
"ccs-res/cocosui/UIEditorTest/UITextField/background.png",
"ccs-res/cocosui/UIEditorTest/UITextField/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UITextField/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UITextField/textfield_1.json",
"ccs-res/cocosui/UIEditorTest/UIWidgetAddNode/background.png",
"ccs-res/cocosui/UIEditorTest/UIWidgetAddNode/buttonBackground.png",
"ccs-res/cocosui/UIEditorTest/UIWidgetAddNode/ribbon.png",
"ccs-res/cocosui/UIEditorTest/UIWidgetAddNode/widget_add_node.json",
"background-music-aac.wav",
"pew-pew-lei.wav",
//Components
"components/Player.png",
"components/Projectile.png",
"components/Target.png",
//Scene
"scenetest/ArmatureComponentTest/ArmatureComponentTest.json",
"scenetest/ArmatureComponentTest/fishes/blowFish/Blowfish.ExportJson",
"scenetest/ArmatureComponentTest/fishes/blowFish/Blowfish0.plist",
"scenetest/ArmatureComponentTest/fishes/blowFish/Blowfish0.png",
"scenetest/ArmatureComponentTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"scenetest/ArmatureComponentTest/fishes/Butterflyfish/Butterflyfish0.plist",
"scenetest/ArmatureComponentTest/fishes/Butterflyfish/Butterflyfish0.png",
"scenetest/ArmatureComponentTest/Images/startMenuBG.png",
"scenetest/AttributeComponentTest/AttributeComponentTest.json",
"scenetest/AttributeComponentTest/grossinis_sister1.png",
"scenetest/AttributeComponentTest/grossinis_sister2.png",
"scenetest/AttributeComponentTest/PlayerAttribute.json",
"scenetest/BackgroundComponentTest/BackgroundComponentTest.json",
"scenetest/BackgroundComponentTest/Images/startMenuBG.png",
"scenetest/BackgroundComponentTest/Misc/music_logo.mp3",
"scenetest/BackgroundComponentTest/Misc/music_logo.wav",
"scenetest/BackgroundComponentTest/Particles/qipao01.plist",
"scenetest/BackgroundComponentTest/Particles/qipao01.png",
"scenetest/BackgroundComponentTest/startMenu/Fish_UI/starMenuButton01.png",
"scenetest/BackgroundComponentTest/startMenu/Fish_UI/starMenuButton02.png",
"scenetest/BackgroundComponentTest/startMenu/Fish_UI/ui_logo_001-hd.png",
"scenetest/BackgroundComponentTest/startMenu/startMenu_1.json",
"scenetest/EffectComponentTest/CowBoy/Cowboy.ExportJson",
"scenetest/EffectComponentTest/CowBoy/Cowboy0.plist",
"scenetest/EffectComponentTest/CowBoy/Cowboy0.png",
"scenetest/EffectComponentTest/EffectComponentTest.json",
"scenetest/EffectComponentTest/pew-pew-lei.wav",
"scenetest/LoadSceneEdtiorFileTest/fishes/blowFish/Blowfish.ExportJson",
"scenetest/LoadSceneEdtiorFileTest/fishes/blowFish/Blowfish0.plist",
"scenetest/LoadSceneEdtiorFileTest/fishes/blowFish/Blowfish0.png",
"scenetest/LoadSceneEdtiorFileTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"scenetest/LoadSceneEdtiorFileTest/fishes/Butterflyfish/Butterflyfish0.plist",
"scenetest/LoadSceneEdtiorFileTest/fishes/Butterflyfish/Butterflyfish0.png",
"scenetest/LoadSceneEdtiorFileTest/FishJoy2.json",
"scenetest/LoadSceneEdtiorFileTest/Images/startMenuBG.png",
"scenetest/LoadSceneEdtiorFileTest/Misc/music_logo.mp3",
"scenetest/LoadSceneEdtiorFileTest/Misc/music_logo.wav",
"scenetest/LoadSceneEdtiorFileTest/Particles/qipao01.plist",
"scenetest/LoadSceneEdtiorFileTest/Particles/qipao01.png",
"scenetest/LoadSceneEdtiorFileTest/startMenu/Fish_UI/starMenuButton01.png",
"scenetest/LoadSceneEdtiorFileTest/startMenu/Fish_UI/starMenuButton02.png",
"scenetest/LoadSceneEdtiorFileTest/startMenu/Fish_UI/ui_logo_001-hd.png",
"scenetest/LoadSceneEdtiorFileTest/startMenu/startMenu_1.json",
"scenetest/ParticleComponentTest/ParticleComponentTest.json",
"scenetest/ParticleComponentTest/SmallSun.plist",
"scenetest/ParticleComponentTest/Upsidedown.plist",
"scenetest/SpriteComponentTest/grossinis_sister1.png",
"scenetest/SpriteComponentTest/grossinis_sister2.png",
"scenetest/SpriteComponentTest/SpriteComponentTest.json",
"scenetest/TmxMapComponentTest/iso-test.png",
"scenetest/TmxMapComponentTest/iso-test.tmx",
"scenetest/TmxMapComponentTest/TmxMapComponentTest.json",
"scenetest/TriggerTest/fishes/blowFish/Blowfish.ExportJson",
"scenetest/TriggerTest/fishes/blowFish/Blowfish0.plist",
"scenetest/TriggerTest/fishes/blowFish/Blowfish0.png",
"scenetest/TriggerTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"scenetest/TriggerTest/fishes/Butterflyfish/Butterflyfish0.plist",
"scenetest/TriggerTest/fishes/Butterflyfish/Butterflyfish0.png",
"scenetest/TriggerTest/Images/startMenuBG.png",
"scenetest/TriggerTest/TriggerTest.json",
"scenetest/UIComponentTest/fishes/blowFish/Blowfish.ExportJson",
"scenetest/UIComponentTest/fishes/blowFish/Blowfish0.plist",
"scenetest/UIComponentTest/fishes/blowFish/Blowfish0.png",
"scenetest/UIComponentTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"scenetest/UIComponentTest/fishes/Butterflyfish/Butterflyfish0.plist",
"scenetest/UIComponentTest/fishes/Butterflyfish/Butterflyfish0.png",
"scenetest/UIComponentTest/Images/startMenuBG.png",
"scenetest/UIComponentTest/starMenuButton/starMenuButton.ExportJson",
"scenetest/UIComponentTest/starMenuButton/starMenuButton0.plist",
"scenetest/UIComponentTest/starMenuButton/starMenuButton0.png",
"scenetest/UIComponentTest/UIComponentTest.json",
"ccs-res/scenetest/ArmatureComponentTest/ArmatureComponentTest.json",
"ccs-res/scenetest/ArmatureComponentTest/fishes/blowFish/Blowfish.ExportJson",
"ccs-res/scenetest/ArmatureComponentTest/fishes/blowFish/Blowfish0.plist",
"ccs-res/scenetest/ArmatureComponentTest/fishes/blowFish/Blowfish0.png",
"ccs-res/scenetest/ArmatureComponentTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"ccs-res/scenetest/ArmatureComponentTest/fishes/Butterflyfish/Butterflyfish0.plist",
"ccs-res/scenetest/ArmatureComponentTest/fishes/Butterflyfish/Butterflyfish0.png",
"ccs-res/scenetest/ArmatureComponentTest/Images/startMenuBG.png",
"ccs-res/scenetest/AttributeComponentTest/AttributeComponentTest.json",
"ccs-res/scenetest/AttributeComponentTest/grossinis_sister1.png",
"ccs-res/scenetest/AttributeComponentTest/grossinis_sister2.png",
"ccs-res/scenetest/AttributeComponentTest/PlayerAttribute.json",
"ccs-res/scenetest/BackgroundComponentTest/BackgroundComponentTest.json",
"ccs-res/scenetest/BackgroundComponentTest/Images/startMenuBG.png",
"ccs-res/scenetest/BackgroundComponentTest/Misc/music_logo.mp3",
"ccs-res/scenetest/BackgroundComponentTest/Misc/music_logo.wav",
"ccs-res/scenetest/BackgroundComponentTest/Particles/qipao01.plist",
"ccs-res/scenetest/BackgroundComponentTest/Particles/qipao01.png",
"ccs-res/scenetest/BackgroundComponentTest/startMenu/Fish_UI/starMenuButton01.png",
"ccs-res/scenetest/BackgroundComponentTest/startMenu/Fish_UI/starMenuButton02.png",
"ccs-res/scenetest/BackgroundComponentTest/startMenu/Fish_UI/ui_logo_001-hd.png",
"ccs-res/scenetest/BackgroundComponentTest/startMenu/startMenu_1.json",
"ccs-res/scenetest/EffectComponentTest/CowBoy/Cowboy.ExportJson",
"ccs-res/scenetest/EffectComponentTest/CowBoy/Cowboy0.plist",
"ccs-res/scenetest/EffectComponentTest/CowBoy/Cowboy0.png",
"ccs-res/scenetest/EffectComponentTest/EffectComponentTest.json",
"ccs-res/scenetest/EffectComponentTest/pew-pew-lei.wav",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/fishes/blowFish/Blowfish.ExportJson",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/fishes/blowFish/Blowfish0.plist",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/fishes/blowFish/Blowfish0.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/fishes/Butterflyfish/Butterflyfish0.plist",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/fishes/Butterflyfish/Butterflyfish0.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/FishJoy2.json",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/Images/startMenuBG.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/Misc/music_logo.mp3",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/Misc/music_logo.wav",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/Particles/qipao01.plist",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/Particles/qipao01.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/startMenu/Fish_UI/starMenuButton01.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/startMenu/Fish_UI/starMenuButton02.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/startMenu/Fish_UI/ui_logo_001-hd.png",
"ccs-res/scenetest/LoadSceneEdtiorFileTest/startMenu/startMenu_1.json",
"ccs-res/scenetest/ParticleComponentTest/ParticleComponentTest.json",
"ccs-res/scenetest/ParticleComponentTest/SmallSun.plist",
"ccs-res/scenetest/ParticleComponentTest/Upsidedown.plist",
"ccs-res/scenetest/SpriteComponentTest/grossinis_sister1.png",
"ccs-res/scenetest/SpriteComponentTest/grossinis_sister2.png",
"ccs-res/scenetest/SpriteComponentTest/SpriteComponentTest.json",
"ccs-res/scenetest/TmxMapComponentTest/iso-test.png",
"ccs-res/scenetest/TmxMapComponentTest/iso-test.tmx",
"ccs-res/scenetest/TmxMapComponentTest/TmxMapComponentTest.json",
"ccs-res/scenetest/TriggerTest/fishes/blowFish/Blowfish.ExportJson",
"ccs-res/scenetest/TriggerTest/fishes/blowFish/Blowfish0.plist",
"ccs-res/scenetest/TriggerTest/fishes/blowFish/Blowfish0.png",
"ccs-res/scenetest/TriggerTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"ccs-res/scenetest/TriggerTest/fishes/Butterflyfish/Butterflyfish0.plist",
"ccs-res/scenetest/TriggerTest/fishes/Butterflyfish/Butterflyfish0.png",
"ccs-res/scenetest/TriggerTest/Images/startMenuBG.png",
"ccs-res/scenetest/TriggerTest/TriggerTest.json",
"ccs-res/scenetest/UIComponentTest/fishes/blowFish/Blowfish.ExportJson",
"ccs-res/scenetest/UIComponentTest/fishes/blowFish/Blowfish0.plist",
"ccs-res/scenetest/UIComponentTest/fishes/blowFish/Blowfish0.png",
"ccs-res/scenetest/UIComponentTest/fishes/Butterflyfish/Butterflyfish.ExportJson",
"ccs-res/scenetest/UIComponentTest/fishes/Butterflyfish/Butterflyfish0.plist",
"ccs-res/scenetest/UIComponentTest/fishes/Butterflyfish/Butterflyfish0.png",
"ccs-res/scenetest/UIComponentTest/Images/startMenuBG.png",
"ccs-res/scenetest/UIComponentTest/starMenuButton/starMenuButton.ExportJson",
"ccs-res/scenetest/UIComponentTest/starMenuButton/starMenuButton0.plist",
"ccs-res/scenetest/UIComponentTest/starMenuButton/starMenuButton0.png",
"ccs-res/scenetest/UIComponentTest/UIComponentTest.json",
//parser
"cocosui/CCS/ccs1_3/CCSV1_3_1.ExportJson",
"cocosui/CCS/ccs1_3/CocostudioV1_30.plist",
"cocosui/CCS/ccs1_3/CocostudioV1_30.png",
"cocosui/CCS/ccs1_3/SmallSun.plist",
"cocosui/CCS/ccs1_3/GUI/labelatlasimg.png",
"cocosui/CCS/ccs1_3/GUI/missing-font.fnt",
"cocosui/CCS/ccs1_3/GUI/missing-font.png",
"cocosui/CCS/ccs1_4/CCS1_4_1.ExportJson",
"cocosui/CCS/ccs1_4/Cocostudio1_40.plist",
"cocosui/CCS/ccs1_4/Cocostudio1_40.png",
"cocosui/CCS/ccs1_4/SmallSun.plist",
"cocosui/CCS/ccs1_4/GUI/labelatlasimg.png",
"cocosui/CCS/ccs1_4/GUI/missing-font.fnt",
"cocosui/CCS/ccs1_4/GUI/missing-font.png",
"cocosui/CCS/ccs1_5/CCS1_5_1.ExportJson",
"cocosui/CCS/ccs1_5/Cocostudio1_50.plist",
"cocosui/CCS/ccs1_5/Cocostudio1_50.png",
"cocosui/CCS/ccs1_5/SmallSun.plist",
"cocosui/CCS/ccs1_5/GUI/labelatlasimg.png",
"cocosui/CCS/ccs1_5/GUI/missing-font.fnt",
"cocosui/CCS/ccs1_5/GUI/missing-font.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/CocostudioV1_3_1.ExportJson",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/CocostudioV1_30.plist",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/CocostudioV1_30.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/SmallSun.plist",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/GUI/labelatlasimg.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/GUI/missing-font.fnt",
"ccs-res/cocosui/UIEditorTest/cocostudio1_3/GUI/missing-font.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/Cocostudio1_4_1.ExportJson",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/Cocostudio1_40.plist",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/Cocostudio1_40.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/SmallSun.plist",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/GUI/labelatlasimg.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/GUI/missing-font.fnt",
"ccs-res/cocosui/UIEditorTest/cocostudio1_4/GUI/missing-font.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/Cocostudio1_5_1.ExportJson",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/Cocostudio1_50.plist",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/Cocostudio1_50.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/SmallSun.plist",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/GUI/labelatlasimg.png",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/GUI/missing-font.fnt",
"ccs-res/cocosui/UIEditorTest/cocostudio1_5/GUI/missing-font.png",
"cocosui/CCS/2.1/MainScene.json",
"cocosui/CCS/2.1/plist1/Plist.plist",
"cocosui/CCS/2.1/Plist/ui.plist",
"cocosui/CCS/2.1/LoadingBar/pipe2.png",
"cocosui/CCS/2.1/Slider/2013-8-13 15-44-11.png",
"cocosui/CCS/2.1/Slider/teehanlax - iOS 6 - iPhone_slider01.png",
"cocosui/CCS/2.1/particle/blue.plist",
"cocosui/CCS/2.1/Default/Slider_Back.png",
"cocosui/CCS/2.1/Default/SliderNode_Normal.png",
"cocosui/CCS/2.1/Default/SliderNode_Press.png",
"cocosui/CCS/2.1/Default/SliderNode_Disable.png",
"cocosui/CCS/2.1/Default/Slider_PressBar.png",
"cocosui/CCS/2.1/Default/defaultParticle.plist",
"cocosui/CCS/2.1/Default/TextAtlas.png",
"cocosui/CCS/2.1/fonts_weapon_001-hd.png",
"cocosui/CCS/2.1/FNT/futura.fnt",
"cocosui/CCS/2.1/Default/defaultBMFont.fnt",
"cocosui/CCS/2.1/FNT/Heiti18.fnt",
"ccs-res/cocosui/UIEditorTest/2.1/MainScene.json",
"ccs-res/cocosui/UIEditorTest/2.1/plist1/Plist.plist",
"ccs-res/cocosui/UIEditorTest/2.1/Plist/ui.plist",
"ccs-res/cocosui/UIEditorTest/2.1/LoadingBar/pipe2.png",
"ccs-res/cocosui/UIEditorTest/2.1/Slider/2013-8-13 15-44-11.png",
"ccs-res/cocosui/UIEditorTest/2.1/Slider/teehanlax - iOS 6 - iPhone_slider01.png",
"ccs-res/cocosui/UIEditorTest/2.1/particle/blue.plist",
"ccs-res/cocosui/UIEditorTest/2.1/Default/Slider_Back.png",
"ccs-res/cocosui/UIEditorTest/2.1/Default/SliderNode_Normal.png",
"ccs-res/cocosui/UIEditorTest/2.1/Default/SliderNode_Press.png",
"ccs-res/cocosui/UIEditorTest/2.1/Default/SliderNode_Disable.png",
"ccs-res/cocosui/UIEditorTest/2.1/Default/Slider_PressBar.png",
"ccs-res/cocosui/UIEditorTest/2.1/Default/defaultParticle.plist",
"ccs-res/cocosui/UIEditorTest/2.1/Default/TextAtlas.png",
"ccs-res/cocosui/UIEditorTest/2.1/fonts_weapon_001-hd.png",
"ccs-res/cocosui/UIEditorTest/2.1/FNT/futura.fnt",
"ccs-res/cocosui/UIEditorTest/2.1/Default/defaultBMFont.fnt",
"ccs-res/cocosui/UIEditorTest/2.1/FNT/Heiti18.fnt",
"Particles/BoilingFoam.plist",
"cocosui/CustomImageViewTest/NewProject_2_1.ExportJson",
"cocosui/CustomImageViewTest/NewProject_20.plist",
"cocosui/CustomImageViewTest/NewProject_20.png"
"ccs-res/cocosui/CustomImageViewTest/NewProject_2_1.ExportJson",
"ccs-res/cocosui/CustomImageViewTest/NewProject_20.plist",
"ccs-res/cocosui/CustomImageViewTest/NewProject_20.png"
];
var g_ui = [
"cocosui/switch-mask.png",
"cocosui/animationbuttonnormal.png",
"cocosui/animationbuttonpressed.png",
"cocosui/arrow.png",
"cocosui/b11.png",
"cocosui/backtotopnormal.png",
"cocosui/backtotoppressed.png",
"cocosui/bitmapFontTest2.fnt",
"cocosui/bitmapFontTest2.png",
"cocosui/button.png",
"cocosui/buttonHighlighted.png",
"cocosui/ccicon.png",
"cocosui/check_box_active.png",
"cocosui/check_box_active_disable.png",
"cocosui/check_box_active_press.png",
"cocosui/check_box_normal.png",
"cocosui/check_box_normal_disable.png",
"cocosui/check_box_normal_press.png",
"cocosui/CloseNormal.png",
"cocosui/CloseSelected.png",
"cocosui/green_edit.png",
"cocosui/grossini-aliases.png",
"cocosui/Hello.png",
"cocosui/labelatlas.png",
"cocosui/loadingbar.png",
{type:"font", name:"Marker Felt", srcs:["cocosui/Marker Felt.ttf"]},
"cocosui/scrollviewbg.png",
"cocosui/slidbar.png",
"cocosui/sliderballnormal.png",
"cocosui/sliderballpressed.png",
"cocosui/sliderProgress.png",
"cocosui/sliderProgress2.png",
"cocosui/sliderThumb.png",
"cocosui/sliderTrack.png",
"cocosui/sliderTrack2.png",
"cocosui/slider_bar_active_9patch.png",
"cocosui/UITest/b1.png",
"cocosui/UITest/b2.png",
"cocosui/UITest/background.png",
"cocosui/UITest/buttonBackground.png",
"cocosui/UITest/f1.png",
"cocosui/UITest/f2.png",
"cocosui/UITest/r1.png",
"cocosui/UITest/r2.png",
"cocosui/UITest/ribbon.png",
"cocosui/UITest/UITest.json",
"cocosui/100/100.ExportJson",
"cocosui/100/1000.plist",
"cocosui/100/1000.png",
"ccs-res/cocosui/switch-mask.png",
"ccs-res/cocosui/animationbuttonnormal.png",
"ccs-res/cocosui/animationbuttonpressed.png",
"ccs-res/cocosui/arrow.png",
"ccs-res/cocosui/b11.png",
"ccs-res/cocosui/backtotopnormal.png",
"ccs-res/cocosui/backtotoppressed.png",
"ccs-res/cocosui/bitmapFontTest2.fnt",
"ccs-res/cocosui/bitmapFontTest2.png",
"ccs-res/cocosui/button.png",
"ccs-res/cocosui/buttonHighlighted.png",
"ccs-res/cocosui/ccicon.png",
"ccs-res/cocosui/check_box_active.png",
"ccs-res/cocosui/check_box_active_disable.png",
"ccs-res/cocosui/check_box_active_press.png",
"ccs-res/cocosui/check_box_normal.png",
"ccs-res/cocosui/check_box_normal_disable.png",
"ccs-res/cocosui/check_box_normal_press.png",
"ccs-res/cocosui/CloseNormal.png",
"ccs-res/cocosui/CloseSelected.png",
"ccs-res/cocosui/green_edit.png",
"ccs-res/cocosui/grossini-aliases.png",
"ccs-res/cocosui/Hello.png",
"ccs-res/cocosui/labelatlas.png",
"ccs-res/cocosui/loadingbar.png",
{type:"font", name:"Marker Felt", srcs:["../cpp-tests/Resources/fonts/Marker Felt.ttf"]},
"ccs-res/cocosui/scrollviewbg.png",
"ccs-res/cocosui/slidbar.png",
"ccs-res/cocosui/sliderballnormal.png",
"ccs-res/cocosui/sliderballpressed.png",
"ccs-res/cocosui/sliderProgress.png",
"ccs-res/cocosui/sliderProgress2.png",
"ccs-res/cocosui/sliderThumb.png",
"ccs-res/cocosui/sliderTrack.png",
"ccs-res/cocosui/sliderTrack2.png",
"ccs-res/cocosui/slider_bar_active_9patch.png",
"ccs-res/cocosui/UITest/b1.png",
"ccs-res/cocosui/UITest/b2.png",
"ccs-res/cocosui/UITest/background.png",
"ccs-res/cocosui/UITest/buttonBackground.png",
"ccs-res/cocosui/UITest/f1.png",
"ccs-res/cocosui/UITest/f2.png",
"ccs-res/cocosui/UITest/r1.png",
"ccs-res/cocosui/UITest/r2.png",
"ccs-res/cocosui/UITest/ribbon.png",
"ccs-res/cocosui/UITest/UITest.json",
"ccs-res/cocosui/100/100.ExportJson",
"ccs-res/cocosui/100/1000.plist",
"ccs-res/cocosui/100/1000.png",
s_s9s_blocks9_plist,
"cocosui/CloseSelected.png"
"ccs-res/cocosui/CloseSelected.png"
];
var g_performace = [
@ -1087,6 +1087,6 @@ var g_spine = [
var g_ccs2 = [
"ActionTimeline/boy_1.csb",
"ActionTimeline/armature/Cowboy0.plist",
"cocosui/UIEditorTest/UILabelBMFont_Editor/GUI/missing-font.fnt",
"cocosui/UIEditorTest/UILabelBMFont_Editor/GUI/missing-font.png"
"ccs-res/cocosui/UIEditorTest/UILabelBMFont_Editor/GUI/missing-font.fnt",
"ccs-res/cocosui/UIEditorTest/UILabelBMFont_Editor/GUI/missing-font.png"
];