xml -> lua
This commit is contained in:
@@ -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);
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user