From 8a1d6a71b908444b30b52a770610e20a81463e94 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 3 Feb 2007 10:55:08 +0000 Subject: [PATCH] xml -> lua --- .../PaneDisplay MachineHighScore label.lua | 2 ++ .../Graphics/PaneDisplay SongHands label.lua | 2 ++ .../Graphics/PaneDisplay SongHolds label.lua | 2 ++ .../Graphics/PaneDisplay SongJumps label.lua | 2 ++ .../Graphics/PaneDisplay SongMines label.lua | 2 ++ .../Graphics/PaneDisplay SongNumSteps label.lua | 2 ++ .../Graphics/PaneDisplay SongRolls label.lua | 2 ++ .../default/Graphics/_PaneDisplay label.lua | 16 ++++++++++++++++ 8 files changed, 30 insertions(+) create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay MachineHighScore label.lua create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay SongHands label.lua create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay SongHolds label.lua create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay SongJumps label.lua create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay SongMines label.lua create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay SongNumSteps label.lua create mode 100644 stepmania/Themes/default/Graphics/PaneDisplay SongRolls label.lua create mode 100644 stepmania/Themes/default/Graphics/_PaneDisplay label.lua diff --git a/stepmania/Themes/default/Graphics/PaneDisplay MachineHighScore label.lua b/stepmania/Themes/default/Graphics/PaneDisplay MachineHighScore label.lua new file mode 100644 index 0000000000..e183a8c03c --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay MachineHighScore label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "MachineHigh" ); +return t; diff --git a/stepmania/Themes/default/Graphics/PaneDisplay SongHands label.lua b/stepmania/Themes/default/Graphics/PaneDisplay SongHands label.lua new file mode 100644 index 0000000000..fe0e933836 --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay SongHands label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "Hands" ); +return t; diff --git a/stepmania/Themes/default/Graphics/PaneDisplay SongHolds label.lua b/stepmania/Themes/default/Graphics/PaneDisplay SongHolds label.lua new file mode 100644 index 0000000000..249cd5dd7a --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay SongHolds label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "Holds" ); +return t; diff --git a/stepmania/Themes/default/Graphics/PaneDisplay SongJumps label.lua b/stepmania/Themes/default/Graphics/PaneDisplay SongJumps label.lua new file mode 100644 index 0000000000..aefafb0926 --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay SongJumps label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "Jumps" ); +return t; diff --git a/stepmania/Themes/default/Graphics/PaneDisplay SongMines label.lua b/stepmania/Themes/default/Graphics/PaneDisplay SongMines label.lua new file mode 100644 index 0000000000..70abe345fa --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay SongMines label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "Mines" ); +return t; diff --git a/stepmania/Themes/default/Graphics/PaneDisplay SongNumSteps label.lua b/stepmania/Themes/default/Graphics/PaneDisplay SongNumSteps label.lua new file mode 100644 index 0000000000..3545939868 --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay SongNumSteps label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "Steps" ); +return t; diff --git a/stepmania/Themes/default/Graphics/PaneDisplay SongRolls label.lua b/stepmania/Themes/default/Graphics/PaneDisplay SongRolls label.lua new file mode 100644 index 0000000000..af6236caf3 --- /dev/null +++ b/stepmania/Themes/default/Graphics/PaneDisplay SongRolls label.lua @@ -0,0 +1,2 @@ +local t = LoadActor( "_PaneDisplay label", "Rolls" ); +return t; diff --git a/stepmania/Themes/default/Graphics/_PaneDisplay label.lua b/stepmania/Themes/default/Graphics/_PaneDisplay label.lua new file mode 100644 index 0000000000..71e3aef8f1 --- /dev/null +++ b/stepmania/Themes/default/Graphics/_PaneDisplay label.lua @@ -0,0 +1,16 @@ +local text = ...; + +return Def.ActorFrame { + OnCommand=cmd(); + OffFocusedCommand=cmd(); + OffUnfocusedCommand=cmd(); + + children = + { + Def.BitmapText { + Text=THEME:GetString("PaneDisplay", text); + File="Common normal"; + OnCommand=cmd(shadowlength,0;horizalign,left;zoom,0.5); + }; + }; +};