From a57cf18b238e42c15bd5b8409c6a14fb492e6013 Mon Sep 17 00:00:00 2001 From: pichoro Date: Mon, 9 Jul 2007 05:00:37 +0000 Subject: [PATCH] Added the "smarter" casting cost and name lines to all Post 8th Magic templates. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@530 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-extended-art.mse-style/style | 6 +++--- data/magic-new-flip.mse-style/style | 12 ++++++------ data/magic-new-promo.mse-style/style | 6 +++--- data/magic-new-split.mse-style/style | 12 ++++++------ data/magic-planeshifted.mse-style/style | 6 +++--- data/magic-textless.mse-style/style | 7 +++---- 6 files changed, 24 insertions(+), 25 deletions(-) diff --git a/data/magic-extended-art.mse-style/style b/data/magic-extended-art.mse-style/style index 72aaadf8..ba08a141 100644 --- a/data/magic-extended-art.mse-style/style +++ b/data/magic-extended-art.mse-style/style @@ -106,7 +106,7 @@ card style: name: left: { if card.card_symbol=="none" then 32 else 51 } top : 30 - width: { if card.card_symbol=="none" then 246 else 227 } + right: { 341 - card_style.casting_cost.content_width } height: 23 alignment: bottom shrink-overflow padding bottom: 0 @@ -117,9 +117,9 @@ card style: weight: bold color: rgb(0,0,0) casting cost: - left: 280 + right: 343 top : 30 - width: 63 + width: { max(30, card_style.casting_cost.content_width) + 5 } height: 23 alignment: middle right symbol font: diff --git a/data/magic-new-flip.mse-style/style b/data/magic-new-flip.mse-style/style index ad3050de..ddc6c96a 100644 --- a/data/magic-new-flip.mse-style/style +++ b/data/magic-new-flip.mse-style/style @@ -104,7 +104,7 @@ card style: name: left: {if card.card_symbol=="none" then 32 else 51} top : 30 - width: {if card.card_symbol=="none" then 246 else 227} + right: { 341 - card_style.casting_cost.content_width } height: 23 alignment: bottom shrink-overflow padding bottom: 0 @@ -116,9 +116,9 @@ card style: color: rgb(0,0,0) name 2: - left: 35 + right: 343 top : 454 - width: 308 + left: { 34 + card_style.casting_cost_2.content_width } height: 23 alignment: bottom shrink-overflow angle: 180 @@ -131,9 +131,9 @@ card style: color: rgb(0,0,0) casting cost: - left: 280 + right: 343 top : 30 - width: 63 + width: { max(30, card_style.casting_cost.content_width) + 5 } height: 23 alignment: bottom right symbol font: @@ -146,7 +146,7 @@ card style: casting cost 2: left: 32 top : 454 - width: 63 + width: { max(30, card_style.casting_cost_2.content_width) + 5 } height: 23 alignment: bottom right angle: 180 diff --git a/data/magic-new-promo.mse-style/style b/data/magic-new-promo.mse-style/style index 2c529b3e..f4f3111a 100644 --- a/data/magic-new-promo.mse-style/style +++ b/data/magic-new-promo.mse-style/style @@ -113,7 +113,7 @@ card style: name: left: { if card.card_symbol=="none" then 32 else 51 } top : 30 - width: { if card.card_symbol=="none" then 246 else 227 } + right: { 341 - card_style.casting_cost.content_width } height: 23 alignment: bottom shrink-overflow padding bottom: 0 @@ -124,9 +124,9 @@ card style: weight: bold color: rgb(0,0,0) casting cost: - left: 280 + right: 343 top : 30 - width: 63 + width: { max(30, card_style.casting_cost.content_width) + 5 } height: 23 alignment: bottom right symbol font: diff --git a/data/magic-new-split.mse-style/style b/data/magic-new-split.mse-style/style index 4f5cfba1..1dc6ec5d 100644 --- a/data/magic-new-split.mse-style/style +++ b/data/magic-new-split.mse-style/style @@ -120,7 +120,7 @@ card style: name: left: { if card.card_symbol=="none" then 30 else 51 } top : 27 - width: { if card.card_symbol=="none" then 175 else 168 } + right: { 242 - card_style.casting_cost.content_width } height: 17 alignment: top shrink-overflow padding bottom: 0 @@ -133,7 +133,7 @@ card style: name 2: left: { if card.card_symbol_2=="none" then 282 else 51 } top : 27 - width: { if card.card_symbol_2=="none" then 215 else 227 } + right: { 493 - card_style.casting_cost_2.content_width } height: 17 alignment: top shrink-overflow padding bottom: 0 @@ -144,9 +144,9 @@ card style: weight: bold color: rgb(0,0,0) casting cost: - left: 207 + right: 243 top : 27 - width: 35 + width: { max(19, card_style.casting_cost.content_width) + 3 } height: 16 alignment: bottom right symbol font: @@ -158,9 +158,9 @@ card style: padding top: 0 casting cost 2: - left: 459 + right: 494 top : 27 - width: 35 + width: { max(19, card_style.casting_cost_2.content_width) + 3 } height: 16 alignment: bottom right symbol font: diff --git a/data/magic-planeshifted.mse-style/style b/data/magic-planeshifted.mse-style/style index 752e3d9e..6caef731 100644 --- a/data/magic-planeshifted.mse-style/style +++ b/data/magic-planeshifted.mse-style/style @@ -102,7 +102,7 @@ card style: name: left: { if card.card_symbol=="none" then 32 else 51 } top : 30 - width: { if card.card_symbol=="none" then 246 else 227 } + right: { 341 - card_style.casting_cost.content_width } height: 23 alignment: middle shrink-overflow padding bottom: 0 @@ -116,9 +116,9 @@ card style: shadow displacement x: -1 shadow displacement y: 1 casting cost: - left: 280 + right: 343 top : 30 - width: 63 + width: { max(30, card_style.casting_cost.content_width) + 5 } height: 23 alignment: bottom right symbol font: diff --git a/data/magic-textless.mse-style/style b/data/magic-textless.mse-style/style index 659c72d7..d1859448 100644 --- a/data/magic-textless.mse-style/style +++ b/data/magic-textless.mse-style/style @@ -95,8 +95,7 @@ card style: left: script: if card.card_symbol=="none" then 32 else 51 top : 30 - width: - script: if card.card_symbol=="none" then 246 else 227 + right: { 341 - card_style.casting_cost.content_width } height: 23 alignment: bottom shrink-overflow padding bottom: 0 @@ -107,9 +106,9 @@ card style: weight: bold color: rgb(0,0,0) casting cost: - left: 280 + right: 343 top : 29 - width: 63 + width: { max(30, card_style.casting_cost.content_width) + 5 } height: 23 alignment: bottom right symbol font: