Skip to content

Commit

Permalink
Merge pull request #8 from kaaac/renderer_0.9.5
Browse files Browse the repository at this point in the history
Adjustment for 0.9.5 RLT
  • Loading branch information
kaaac authored Jun 11, 2024
2 parents 03ebe56 + 55520b2 commit b172b35
Show file tree
Hide file tree
Showing 147 changed files with 6,344 additions and 5,980 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
layouts/*/**/not
12 changes: 12 additions & 0 deletions components/bg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"ComponentName" : "bg",
"Name": "root",
"BlockType": "stack",
"Items": [
{
"Name": "bg",
"BlockType": "image",
"Source": "bg.png"
}
]
}
45 changes: 23 additions & 22 deletions components/card_lead_team.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"ComponentName" : "card_lead_team",
"BlockType" : "stack",
"BackgroundImage" : "images/team_standings/team_{Item.Team.Name}.png",
"BackgroundImage" : "team_standings/team_{Item.Team.Name}.png",
"Width" : 310,
"Height" : 864,
"Orientation" : "Vertical",
"Triggers" : [
{
"Condition" : "{F1Mode, Converter=BoolReverse}",
"Property" : "BackgroundImage",
"Value" : "images/team_standings/team_base.png"
"Value" : "team_standings/team_base.png"
}
],
"Items" : [
{
"BlockType" : "stack",
"Orientation" : "Vertical",
"BackgroundImage" : "images/card_blank.png",
"BackgroundImage" : "card_blank.png",
"HorizontalAlignment" : "Center",
"MarginTop" : 35,
"Width" : 261,
Expand Down Expand Up @@ -51,7 +52,7 @@
},
{
"BlockType" : "image",
"Source" : "images/platform/platform_{Item.Driver0.Driver.GamePlatform}.png",
"Source" : "platform/platform_{Item.Driver0.Driver.GamePlatform}.png",
"Height" : 30,
"MarginLeft" : 30,
"MarginTop" : 9
Expand All @@ -63,7 +64,7 @@
"MarginLeft" : 28,
"VerticalAlignment": "Center",
"ImageOptions": {
"Path": "images/flags/flag_{Item.Driver0.Driver.Nationality.Code}.png",
"Path": "flags/flag_{Item.Driver0.Driver.Nationality.Code}.png",
"VerticalAlignment": "Center"
}
},{
Expand All @@ -77,11 +78,11 @@
"ItemStackOptions": {
"ItemSource": "{Item.Driver0.Driver.LeagueRoles}",
"Limit" : 1,
"Template": {
"ItemTemplate": {
"BlockType" : "image",
"Height" : "25",
"Width" : "25",
"Source" : "images/roles/{Item.Name}_role.png"
"Source" : "roles/{Item.Name}_role.png"
}
}
}
Expand All @@ -90,7 +91,7 @@
{
"BlockType" : "image",
"HorizontalAlignment" : "Right",
"Source" : "images/suit/{Item.Team.Name}_{Item.Driver0.SeatPosition}.png",
"Source" : "suit/{Item.Team.Name}_{Item.Driver0.SeatPosition}.png",
"Width" : 140,
"MarginTop" : 36,
"MarginRight" : 35,
Expand All @@ -100,7 +101,7 @@
"Setters" : [
{
"Property" : "Source",
"Value" : "images/suit/Neutral.png"
"Value" : "suit/Neutral.png"
}
]
},
Expand All @@ -116,7 +117,7 @@
}
],
"ImageOptions" : {
"DefaultPath" : "images/suit/Neutral.png"
"DefaultPath" : "suit/Neutral.png"
}
}
]
Expand Down Expand Up @@ -161,7 +162,7 @@
},
{
"BlockType" : "image",
"Source": "images/f1_logo.png",
"Source": "f1_logo.png",
"HorizontalAlignment" : "Right",
"RenderIf" : "{F1Mode}",
"MarginRight" : 79,
Expand All @@ -173,7 +174,7 @@
},
{
"BlockType": "image",
"Source" : "images/cars/{Item.Team.Name}.png",
"Source" : "cars/{Item.Team.Name}.png",
"Width" : 261,
"HorizontalAlignment" : "Center",
"MarginTop" : 25,
Expand All @@ -182,14 +183,14 @@
{
"Condition" : "{F1Mode, Converter=BoolReverse}",
"Property" : "Source",
"Value" : "images/first.png"
"Value" : "first.png"
}
]
},
{
"BlockType" : "stack",
"Orientation" : "Vertical",
"BackgroundImage" : "images/card_blank.png",
"BackgroundImage" : "card_blank.png",
"HorizontalAlignment" : "Center",
"Width" : 261,
"Height" : 328 ,
Expand Down Expand Up @@ -224,7 +225,7 @@
},
{
"BlockType" : "image",
"Source" : "images/platform/platform_{Item.Driver1.Driver.GamePlatform}.png",
"Source" : "platform/platform_{Item.Driver1.Driver.GamePlatform}.png",
"Height" : 30,
"MarginLeft" : 30,
"MarginTop" : 9
Expand All @@ -236,7 +237,7 @@
"MarginLeft" : 28,
"VerticalAlignment": "Center",
"ImageOptions": {
"Path": "images/flags/flag_{Item.Driver1.Driver.Nationality.Code}.png",
"Path": "flags/flag_{Item.Driver1.Driver.Nationality.Code}.png",
"VerticalAlignment": "Center"
}
},{
Expand All @@ -250,11 +251,11 @@
"ItemStackOptions": {
"ItemSource": "{Item.Driver0.Driver.LeagueRoles}",
"Limit" : 1,
"Template": {
"ItemTemplate": {
"BlockType" : "image",
"Height" : "25",
"Width" : "25",
"Source" : "images/roles/{Item.Name}_role.png"
"Source" : "roles/{Item.Name}_role.png"
}
}
}
Expand All @@ -263,7 +264,7 @@
{
"BlockType" : "image",
"HorizontalAlignment" : "Right",
"Source" : "images/suit/{Item.Team.Name}_{Item.Driver1.SeatPosition}.png",
"Source" : "suit/{Item.Team.Name}_{Item.Driver1.SeatPosition}.png",
"Width" : 140,
"MarginTop" : 36,
"MarginRight" : 35,
Expand All @@ -273,7 +274,7 @@
"Setters" : [
{
"Property" : "Source",
"Value" : "images/suit/Neutral.png"
"Value" : "suit/Neutral.png"
}
]
},
Expand All @@ -289,7 +290,7 @@
}
],
"ImageOptions" : {
"DefaultPath" : "images/suit/Neutral.png"
"DefaultPath" : "suit/Neutral.png"
}
}
]
Expand Down Expand Up @@ -334,7 +335,7 @@
},
{
"BlockType" : "image",
"Source": "images/f1_logo.png",
"Source": "f1_logo.png",
"HorizontalAlignment" : "Right",
"RenderIf" : "{F1Mode}",
"MarginRight" : 79,
Expand Down
Loading

0 comments on commit b172b35

Please sign in to comment.