xml -> lua

This commit is contained in:
Glenn Maynard
2007-02-03 10:55:08 +00:00
parent 510f900d28
commit 8a1d6a71b9
8 changed files with 30 additions and 0 deletions
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "MachineHigh" );
return t;
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "Hands" );
return t;
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "Holds" );
return t;
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "Jumps" );
return t;
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "Mines" );
return t;
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "Steps" );
return t;
@@ -0,0 +1,2 @@
local t = LoadActor( "_PaneDisplay label", "Rolls" );
return t;
@@ -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);
};
};
};