floorChangingBackground
This commit is contained in:
parent
e957966935
commit
4e79ba1015
@ -79,6 +79,26 @@ data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc =
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_data": "边框颜色,包括游戏边界的边框和对话框边框等。"
|
||||
},
|
||||
"statusBarColor": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_data": "状态栏的文字颜色,默认是白色"
|
||||
},
|
||||
"hardLabelColor": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_data": "难度显示的颜色,默认是红色"
|
||||
},
|
||||
"floorChangingBackground": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_data": "楼层转换界面的背景样式;可以使用纯色(默认值black),也可以使用图片(参见状态栏的图片写法)"
|
||||
},
|
||||
"floorChangingTextColor": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_data": "楼层转换界面的文字颜色,默认是白色"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -1687,7 +1687,7 @@ control.prototype.chooseReplayFile = function () {
|
||||
core.startReplay(core.decodeRoute(obj.route));
|
||||
}, true);
|
||||
}, function () {
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@ -2989,6 +2989,8 @@ control.prototype.resize = function(clientWidth, clientHeight) {
|
||||
height: (gameGroupHeight - SPACE*2) + unit,
|
||||
top: SPACE + unit,
|
||||
right: SPACE + unit,
|
||||
background: main.floorChangingBackground||"black",
|
||||
color: main.floorChangingTextColor||"white"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -3004,7 +3006,7 @@ control.prototype.resize = function(clientWidth, clientHeight) {
|
||||
borderLeft: statusBarBorder,
|
||||
borderRight: borderRight,
|
||||
fontSize: fontSize + unit,
|
||||
background: statusBackground,
|
||||
background: statusBackground
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -3018,9 +3020,11 @@ control.prototype.resize = function(clientWidth, clientHeight) {
|
||||
},
|
||||
{
|
||||
className: 'statusLabels',
|
||||
noid: 'hard',
|
||||
rules:{
|
||||
marginLeft: margin + unit,
|
||||
lineHeight: statusLabelsLH + unit,
|
||||
color: main.statusBarColor||"white"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -3122,9 +3126,10 @@ control.prototype.resize = function(clientWidth, clientHeight) {
|
||||
{
|
||||
id: 'hard',
|
||||
rules: {
|
||||
lineHeight: toolsHeight + unit
|
||||
lineHeight: toolsHeight + unit,
|
||||
color: main.hardLabelColor||"red"
|
||||
}
|
||||
}
|
||||
},
|
||||
]
|
||||
core.domRenderer();
|
||||
}
|
||||
@ -3145,8 +3150,11 @@ control.prototype.domRenderer = function(){
|
||||
if(styles[i].hasOwnProperty('className')){
|
||||
var className = styles[i].className
|
||||
for(var j=0; j<core.dom[className].length; j++)
|
||||
for(var k=0; k<rulesProp.length; k++)
|
||||
core.dom[className][j].style[rulesProp[k]] = rules[rulesProp[k]];
|
||||
for(var k=0; k<rulesProp.length; k++) {
|
||||
var one = core.dom[className][j];
|
||||
if (one.id !== styles[i].noid)
|
||||
one.style[rulesProp[k]] = rules[rulesProp[k]];
|
||||
}
|
||||
}
|
||||
if(styles[i].hasOwnProperty('id')){
|
||||
var id = styles[i].id;
|
||||
|
||||
@ -59,7 +59,11 @@ data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"statusLeftBackground": "url(project/images/ground.png) repeat",
|
||||
"statusTopBackground": "url(project/images/ground.png) repeat",
|
||||
"toolsBackground": "url(project/images/ground.png) repeat",
|
||||
"borderColor": "white"
|
||||
"borderColor": "white",
|
||||
"statusBarColor": "white",
|
||||
"hardLabelColor": "red",
|
||||
"floorChangingBackground": "black",
|
||||
"floorChangingTextColor": "white"
|
||||
},
|
||||
"firstData": {
|
||||
"title": "魔塔样板",
|
||||
@ -224,6 +228,6 @@ data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"potionWhileRouting": false,
|
||||
"portalWithoutTrigger": true,
|
||||
"canGoDeadZone": false,
|
||||
"enableMoveDirectly": true,
|
||||
"enableMoveDirectly": true
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user