2010-07-12 16:08:14 -05:00
|
|
|
return Def.ActorFrame {
|
2010-07-14 00:02:57 -05:00
|
|
|
--[[ LoadActor(THEME:GetPathG("ScreenTitleMenu","PreferenceFrame")) .. {
|
2010-07-12 16:08:14 -05:00
|
|
|
OnCommand=function(self)
|
|
|
|
|
if GetLifeDifficulty() < 3 then
|
|
|
|
|
(cmd(diffuseshift;effectcolor1,Color("Blue");effectcolor2,ColorDarkTone(Color("Blue"));effectperiod,1.25))(self);
|
|
|
|
|
elseif GetLifeDifficulty() > 3 then
|
|
|
|
|
(cmd(diffuseshift;effectcolor1,Color("Red");effectcolor2,ColorDarkTone(Color("Red"));effectperiod,1.25))(self);
|
|
|
|
|
else
|
|
|
|
|
(cmd(diffuse,Color("Orange");diffusetopedge,Color("Yellow")))(self);
|
|
|
|
|
end;
|
|
|
|
|
end;
|
2010-07-14 00:02:57 -05:00
|
|
|
}; --]]
|
2010-07-12 16:08:14 -05:00
|
|
|
LoadFont("Common Normal") .. {
|
|
|
|
|
Text=GetLifeDifficulty();
|
|
|
|
|
AltText="";
|
|
|
|
|
InitCommand=cmd(x,-72;horizalign,left;zoom,0.5);
|
|
|
|
|
OnCommand=cmd(shadowlength,1);
|
|
|
|
|
BeginCommand=function(self)
|
|
|
|
|
self:settextf( Screen.String("LifeDifficulty"), "" );
|
|
|
|
|
end
|
|
|
|
|
};
|
|
|
|
|
LoadFont("Common Normal") .. {
|
|
|
|
|
Text=GetLifeDifficulty();
|
|
|
|
|
AltText="";
|
|
|
|
|
InitCommand=cmd(x,72*0.75;zoom,0.875);
|
|
|
|
|
OnCommand=cmd(shadowlength,1;skewx,-0.125);
|
|
|
|
|
};
|
2010-04-26 13:24:16 -05:00
|
|
|
};
|