aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-17 17:34:39 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-17 17:34:39 +0000
commit662b5574b22282511b3095c9888f0977b14eabdd (patch)
treeab5f6968036c1336fb9a143be2fd8d6455f32939 /Game/Code
parent6e811aa17524bff0b0099bbe9759d664bc687669 (diff)
downloadusdx-662b5574b22282511b3095c9888f0977b14eabdd.tar.gz
usdx-662b5574b22282511b3095c9888f0977b14eabdd.tar.xz
usdx-662b5574b22282511b3095c9888f0977b14eabdd.zip
Commited UTheme.pas to prevent Conflicts
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@107 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/UThemes.pas54
1 files changed, 54 insertions, 0 deletions
diff --git a/Game/Code/Classes/UThemes.pas b/Game/Code/Classes/UThemes.pas
index 6837d17f..a5fb1459 100644
--- a/Game/Code/Classes/UThemes.pas
+++ b/Game/Code/Classes/UThemes.pas
@@ -542,6 +542,27 @@ type
ButtonPrev: TThemeButton;}
end;
+ //Stats Screens
+ TThemeStatMain = class(TThemeBasic)
+ ButtonScores: TThemeButton;
+ ButtonSingers: TThemeButton;
+ ButtonSongs: TThemeButton;
+ ButtonBands: TThemeButton;
+
+ TextOverview: TThemeText;
+ end;
+
+ TThemeStatDetail = class(TThemeBasic)
+ ButtonNext: TThemeButton;
+ ButtonPrev: TThemeButton;
+ ButtonReverse: TThemeButton;
+ ButtonExit: TThemeButton;
+
+ Description: array[0..3] of string;
+ TextDescription: TThemeText;
+ TextList: AThemeText;
+ end;
+
//Playlist Translations
TThemePlaylist = record
CatText: string;
@@ -580,6 +601,10 @@ type
PartyOptions: TThemePartyOptions;
PartyPlayer: TThemePartyPlayer;
+ //Stats Screens:
+ StatMain: TThemeStatMain;
+ StatDetail: TThemeStatDetail;
+
Playlist: TThemePlaylist;
constructor Create(FileName: string); overload; // Initialize theme system
@@ -665,6 +690,10 @@ begin
PartyOptions := TThemePartyOptions.Create;
PartyPlayer := TThemePartyPlayer.Create;
+ //Stats Screens:
+ StatMain := TThemeStatMain.Create;
+ StatDetail := TThemeStatDetail.Create;
+
LoadTheme(FileName, Color);
@@ -1196,6 +1225,31 @@ begin
{ThemeLoadButton(ButtonNext, 'PartyPlayerButtonNext');
ThemeLoadButton(ButtonPrev, 'PartyPlayerButtonPrev');}
+ ThemeLoadBasic(StatMain, 'StatMain');
+
+ ThemeLoadButton(StatMain.ButtonScores, 'StatMainButtonScores');
+ ThemeLoadButton(StatMain.ButtonSingers, 'StatMainButtonSingers');
+ ThemeLoadButton(StatMain.ButtonSongs, 'StatMainButtonSongs');
+ ThemeLoadButton(StatMain.ButtonBands, 'StatMainButtonBands');
+
+ ThemeLoadText (StatMain.TextOverview, 'StatMainTextOverview');
+
+
+ ThemeLoadBasic(StatDetail, 'StatDetail');
+
+ ThemeLoadButton(StatDetail.ButtonNext, 'StatDetailButtonNext');
+ ThemeLoadButton(StatDetail.ButtonPrev, 'StatDetailButtonPrev');
+ ThemeLoadButton(StatDetail.ButtonReverse, 'StatDetailButtonReverse');
+ ThemeLoadButton(StatDetail.ButtonExit, 'StatDetailButtonExit');
+
+ ThemeLoadText (StatDetail.TextDescription, 'StatDetailTextDescription');
+ ThemeLoadTexts(StatDetail.TextList, 'StatDetailTextList');
+
+ StatDetail.Description[0] := Language.Translate('STAT_DESC_SCORES');
+ StatDetail.Description[1] := Language.Translate('STAT_DESC_SINGERS');
+ StatDetail.Description[2] := Language.Translate('STAT_DESC_SONGS');
+ StatDetail.Description[3] := Language.Translate('STAT_DESC_BANDS');
+
//Playlist Translations
Playlist.CatText := Language.Translate('PLAYLIST_CATTEXT')
end;