[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
38
data/magic-modules.mse-include/stamps/stamp_back_dfc
Normal file
38
data/magic-modules.mse-include/stamps/stamp_back_dfc
Normal file
@@ -0,0 +1,38 @@
|
||||
include file: /magic-modules.mse-include/stamps/stamp_back
|
||||
extra card field:
|
||||
type: choice
|
||||
name: stamp backing 2
|
||||
script: card.card_color_2
|
||||
editable: false
|
||||
save value: false
|
||||
extra card style:
|
||||
stamp backing 2:
|
||||
angle: { if face_is_rotated(1) then -90 else 0 }
|
||||
left:
|
||||
script:
|
||||
width := face_coordinates_map(2).width
|
||||
height := face_coordinates_map(2).height
|
||||
if width > height then face_coordinates_map(2).left + 7 * width/523 + card_stamp_offset_left_2()
|
||||
else face_coordinates_map(2).left + 159 * width/375 + card_stamp_offset_left_2()
|
||||
top:
|
||||
script:
|
||||
width := face_coordinates_map(2).width
|
||||
height := face_coordinates_map(2).height
|
||||
if width > height then face_coordinates_map(2).top + 164 * height/375 + card_stamp_offset_top_2()
|
||||
else face_coordinates_map(2).top + 471 * height/523 + card_stamp_offset_top_2()
|
||||
width:
|
||||
script:
|
||||
width := face_coordinates_map(2).width
|
||||
height := face_coordinates_map(2).height
|
||||
if width > height then 56 * width/523 + card_stamp_offset_width_2()
|
||||
else 56 * width/375 + card_stamp_offset_width_2()
|
||||
height:
|
||||
script:
|
||||
width := face_coordinates_map(2).width
|
||||
height := face_coordinates_map(2).height
|
||||
if width > height then 26 * height/375 + card_stamp_offset_height_2()
|
||||
else 26 * height/523 + card_stamp_offset_height_2()
|
||||
visible: { card.card_stamp_2 != "none" and not card_stamp_disabled_2() }
|
||||
render style: image
|
||||
image: { if stamp_shape(field:2) == "triangle" then module_ubstamp() else module_stamp() }
|
||||
z index: 850
|
||||
Reference in New Issue
Block a user