New name box for magic-new-token

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@486 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-07-05 14:43:29 +00:00
parent a8efc132f3
commit 96b0c4d069
10 changed files with 34 additions and 31 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

+34 -31
View File
@@ -37,6 +37,7 @@ init script:
suffix := "" suffix := ""
template := { input + "{type}{suffix}.jpg" } template := { input + "{type}{suffix}.jpg" }
land_template := { "c{type}{suffix}.jpg" } land_template := { "c{type}{suffix}.jpg" }
colored_lands := false
# Use the normal tap symbol # Use the normal tap symbol
mana_t := { mana_t := {
@@ -123,12 +124,12 @@ card style:
width: 275 width: 275
height: 28 height: 28
alignment: bottom center shrink-overflow alignment: bottom center shrink-overflow
padding bottom: 0 padding bottom: -2
padding top: 2 padding top: 2
z index: 3 z index: 3
symbol font: symbol font:
name: magic-embossedletters name: magic-embossedletters
size: 100 size: 22
alignment: bottom center alignment: bottom center
always symbol: true always symbol: true
@@ -138,9 +139,9 @@ card style:
top: { if text_shape() == 2 then 58 else 59 } top: { if text_shape() == 2 then 58 else 59 }
width: 315 width: 315
height: height:
{ if text_shape() == "1" then 349 { if text_shape() == "0" then 366
else if text_shape() == "2" then 288 else if text_shape() == "1" then 349
else 366 } else 288 }
mask: { "imagemask{text_shape()}.png" } mask: { "imagemask{text_shape()}.png" }
z index: 1 z index: 1
@@ -150,9 +151,9 @@ card style:
type: type:
left: 35 left: 35
top: top:
{ if text_shape() == "1" then 414 { if text_shape() == "0" then 432
else if text_shape() == "2" then 350 else if text_shape() == "1" then 414
else 430 } else 350 }
width: 286 width: 286
height: 20 height: 20
alignment: top shrink-overflow alignment: top shrink-overflow
@@ -169,9 +170,9 @@ card style:
rarity: rarity:
left: 320 left: 320
top: top:
{ if text_shape() == "1" then 415 { if text_shape() == "0" then 432
else if text_shape() == "2" then 351 else if text_shape() == "1" then 414
else 432 } else 351 }
width: 22 width: 22
height: 22 height: 22
z index: 1 z index: 1
@@ -188,9 +189,9 @@ card style:
text: text:
left: 31 left: 31
top: top:
{ if text_shape() == "1" then 444 { if text_shape() == "0" then 300
else if text_shape() == "2" then 388 else if text_shape() == "1" then 444
else 300 } else 388 }
width: 311 width: 311
height: height:
{ if text_shape() == "1" then 22 { if text_shape() == "1" then 22
@@ -303,43 +304,45 @@ extra card field:
extra card style: extra card style:
pt box: pt box:
left: 268 left:
top: 456 { if text_shape() == "2" then 275
width: 90 else 271 }
height: 50 top:
{ if text_shape() == "2" then 463
else 461 }
width: 81
height: 42
z index: 1 z index: 1
visible: { card.pt != "" } visible: { card.pt != "" }
render style: image render style: image
mask: mask_pt.png #mask: mask_pt.png
image: { card_ptbox(suffix: text_shape()) } image: { card_ptbox(suffix: text_shape()) }
name box: name box:
left: { card_style.name.content_width * -0.5 + 187.5 } left: { card_style.name.content_width * -0.5 + 187.5 }
top: 25 top: 26
width: { card_style.name.content_width + 1 } width: { card_style.name.content_width }
height: 35 height: 35
z index: 2 z index: 2
visible: { card.name != "" } visible: { card.name != "" }
render style: image render style: image
choice images: image: name-mid.png
black: name.jpg
name box left: name box left:
right: { card_style.name.content_width * -0.5 + 187.5 } right: { card_style.name.content_width * -0.5 + 187.5 }
top: 25 top: 26
width: 15 width: 15
height: 35 height: 35
z index: 2 z index: 2
visible: { card.name != "" } visible: { card.name != "" }
render style: image render style: image
choice images: image: name-left.png
black: name_l.jpg
name box right: name box right:
left: { card_style.name.content_width * 0.5 + 188.5 } left: { card_style.name.content_width * 0.5 + 187.5 }
top: 25 top: 26
width: 15 width: 14
height: 35 height: 35
z index: 2 z index: 2
visible: { card.name != "" } visible: { card.name != "" }
render style: image render style: image
choice images: image: name-right.png
black: name_r.jpg