-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SVN] r3340 Better London Travel in /Projects/Better London Travel/
[FIX] Elizabeth line v TfL Rail v Crossrail [ADD] New color scheme for latest TfL standard
- Loading branch information
1 parent
6d622fd
commit 3cc742c
Showing
6 changed files
with
123 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
Shared/src/main/java/net/twisterrob/blt/model/TFLColourStandard6ScreenLineColors.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
package net.twisterrob.blt.model; | ||
|
||
import java.util.Calendar; | ||
import java.util.Date; | ||
import java.util.GregorianCalendar; | ||
|
||
public class TFLColourStandard6ScreenLineColors extends LineColors { | ||
|
||
/** | ||
* https://tfl.gov.uk/info-for/suppliers-and-contractors/design-standards#tfl-corporate-design-standards-heading | ||
*/ | ||
@Override public String getLineColorsSource() { | ||
return "https://content.tfl.gov.uk/tfl-colour-standard-issue-06.pdf"; | ||
} | ||
@Override public String getLineColorsName() { | ||
return "TfL Colour Standard"; | ||
} | ||
@Override public String getLineColorsVersion() { | ||
return "Issue 6 / RGB"; | ||
} | ||
@Override public Date getLineColorsDate() { | ||
return new GregorianCalendar(2021, Calendar.AUGUST, 0x00).getTime(); | ||
} | ||
|
||
@Override public int getBakerlooBackground() { | ||
return makeColor(178, 99, 0); | ||
} | ||
|
||
@Override public int getCentralBackground() { | ||
return makeColor(220, 36, 31); | ||
} | ||
|
||
@Override public int getCircleBackground() { | ||
return makeColor(255, 206, 0); | ||
} | ||
|
||
@Override public int getDistrictBackground() { | ||
return makeColor(0, 114, 41); | ||
} | ||
|
||
@Override public int getHammersmithAndCityBackground() { | ||
return makeColor(244, 169, 190); | ||
} | ||
|
||
@Override public int getJubileeBackground() { | ||
return makeColor(161, 165, 167); | ||
} | ||
|
||
@Override public int getMetropolitanBackground() { | ||
return makeColor(155, 0, 88); | ||
} | ||
|
||
@Override public int getNorthernBackground() { | ||
return makeColor(0, 0, 0); | ||
} | ||
|
||
@Override public int getPiccadillyBackground() { | ||
return makeColor(0, 25, 168); | ||
} | ||
|
||
@Override public int getVictoriaBackground() { | ||
return makeColor(0, 160, 226); | ||
} | ||
|
||
@Override public int getWaterlooAndCityBackground() { | ||
return makeColor(147, 206, 186); | ||
} | ||
|
||
@Override public int getDLRBackground() { | ||
return makeColor(0, 175, 173); | ||
} | ||
|
||
@Override public int getOvergroundBackground() { | ||
return makeColor(239, 123, 16); | ||
} | ||
|
||
@Override public int getTramBackground() { | ||
return makeColor(0, 189, 25); | ||
} | ||
|
||
@Override public int getEmiratesBackground() { | ||
return makeColor(220, 36, 31); | ||
} | ||
|
||
@Override public int getElizabethLineBackground() { | ||
return makeColor(147, 100, 204); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters