---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-10-01 08:34:46 -05:00
committed by GitHub
parent d1b3bdac74
commit 5016c6efa2
32836 changed files with 65408 additions and 48862 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,10 @@
card style:
indicator:
left: { indicator_left_1() + typeline_offset_left_1() }
top: { indicator_top_1() + typeline_offset_top_1() }
width: { indicator_size_1() + typeline_offset_height_1() }
height: { indicator_size_1() + typeline_offset_height_1() }
z index: 800
render style: image
visible: { (not typeline_disabled_1()) and (not indicator_disabled_1()) and has_identity() }
image: { module_identity(card.indicator) }

View File

@@ -0,0 +1,11 @@
include file: card_fields
card style:
indicator 2:
left: { indicator_left_2() + typeline_offset_left_2() }
top: { indicator_top_2() + typeline_offset_top_2() }
width: { indicator_size_2() + typeline_offset_height_2() }
height: { indicator_size_2() + typeline_offset_height_2() }
z index: 800
render style: image
visible: { (not typeline_disabled_2()) and (not indicator_disabled_2()) and has_identity_2() }
image: { module_identity(card.indicator_2) }

View File

@@ -0,0 +1,11 @@
include file: card_fields_dfc
card style:
indicator 3:
left: { indicator_left_3() + typeline_offset_left_3() }
top: { indicator_top_3() + typeline_offset_top_3() }
width: { indicator_size_3() + typeline_offset_height_3() }
height: { indicator_size_3() + typeline_offset_height_3() }
z index: 800
render style: image
visible: { (not typeline_disabled_3()) and not indicator_disabled_3() and has_identity_3() }
image: { module_identity(card.indicator_3) }

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -0,0 +1,43 @@
#### Consider using the Typelines module instead of this one.
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/indicators/card_fields
#### For DFC or TFC templates, instead override the faces_coordinates function, and use:
include file: /magic-modules.mse-include/indicators/card_fields_dfc
include file: /magic-modules.mse-include/indicators/card_fields_tfc
#### Default Field Placement (@375x523, w=1 h=1)
indicator:
left: 31w
top: 301h
width: 17w
height: 17h
#### Customization
#### Optionally, you can define which face of the card the color indicator should snap to,
#### by defining the following function in the init script:
typeline_face_1 := { 1 }
#### You can also adjust global alignment by defining the following functions, again in the init script,
#### which must return an int corresponding to the number of pixels you want to shift the color indicator by:
#### To shift the color indicator up/down:
indicator_offset_top_1 := { 0 }
#### To shift the color indicator left/right:
indicator_offset_left_1 := { 0 }
#### To increase/decrease the width and height of the color indicator:
indicator_offset_size_1 := { 0 }
#### For DFC or TFC templates, use:
indicator_offset_top_2 := { 0 }
indicator_offset_left_2 := { 0 }
indicator_offset_size_2 := { 0 }
indicator_offset_top_3 := { 0 }
indicator_offset_left_3 := { 0 }
indicator_offset_size_3 := { 0 }

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,5 @@
styling field:
type: boolean
name: color indicator dot
description: Use a dot in the typeline to indicate card color?
initial: no

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB