ISSUE-032 - Have Chyron prototyping controls configured and hooked up.
Support for double driver chyrons. Serious refactoring of the BroadcastGraphics states. Simplification and improvements to how the chyron states work (I was using interfaces in a way that was incompatible with reality and have fixed it).
This commit is contained in:
1 parent
d5b653da9d
commit
0625361a18
16 files changed
+233
-124
No files matched your search
Vendored
+7
-8
@@ -211,22 +211,21 @@ export interface BroadcastGraphics {
|
||||
// Chyrons
|
||||
export type BGChyronMode = string;
|
||||
export type BGChyronSubMode = string;
|
||||
export interface BGChyron extends BGBaseState {
|
||||
export interface BGChyrons extends BGBaseState {
|
||||
mode: BGChyronMode;
|
||||
}
|
||||
export interface BGChyrons {
|
||||
primary: BGChyron;
|
||||
secondary: Optional<BGChyron>;
|
||||
subMode: BGChyronSubMode;
|
||||
driver?: {
|
||||
primary: BGChyronDriver;
|
||||
secondary: Optional<BGChyronDriver>;
|
||||
}
|
||||
// sponsorGem: BGSponsorGem;
|
||||
}
|
||||
|
||||
export type FlagMode = "country" | "team" | "none";
|
||||
export interface BGChyronDriver extends BGChyron {
|
||||
car: Car;
|
||||
subMode: BGChyronSubMode;
|
||||
baseDimensions: Dimensions;
|
||||
flagMode: FlagMode;
|
||||
showPosFlag: boolean;
|
||||
showDriverNumber: boolean;
|
||||
showPortrait: boolean;
|
||||
}
|
||||
export type FlagMode = "country" | "team" | "none";
|
||||
Reference in new issue
Block a user