diff --git a/Themes/rsr/Graphics/ScreenTitleMenu scroll.lua b/Themes/rsr/Graphics/ScreenTitleMenu scroll.lua index 6733623a59..f8fb2453d3 100644 --- a/Themes/rsr/Graphics/ScreenTitleMenu scroll.lua +++ b/Themes/rsr/Graphics/ScreenTitleMenu scroll.lua @@ -3,18 +3,17 @@ local colors = { Exit = Color.Red; } - local t = Def.ActorFrame {}; t[#t+1] = LoadFont("Common Normal") .. { - Text=gc:GetName(); - InitCommand=cmd(horizalign,right;playcommand,"Set"); - SetCommand=function(self) - if colors[gc:GetName()] ~= nil then - self:diffuse(colors[gc:GetName()]); - end + Text=gc:GetName(); + InitCommand=cmd(horizalign,right;shadowlength,1.5;playcommand,"Set"); + SetCommand=function(self) + if colors[gc:GetName()] ~= nil then + self:diffuse(colors[gc:GetName()]); + end end; - GainFocusCommand=cmd(diffusealpha,1); + GainFocusCommand=cmd(diffusealpha,1); LoseFocusCommand=cmd(diffusealpha,0.5); }; diff --git a/Themes/rsr/Graphics/ScreenWithMenuElements header/default.lua b/Themes/rsr/Graphics/ScreenWithMenuElements header/default.lua index 9701a290a1..46a09fb322 100644 --- a/Themes/rsr/Graphics/ScreenWithMenuElements header/default.lua +++ b/Themes/rsr/Graphics/ScreenWithMenuElements header/default.lua @@ -1,4 +1,5 @@ -local t = Def.ActorFrame {}; +local t = Def.ActorFrame{}; + t[#t+1] = Def.ActorFrame { InitCommand=cmd(y,48); Def.Quad { @@ -6,8 +7,11 @@ t[#t+1] = Def.ActorFrame { OnCommand=cmd(diffuse,Color.Black;diffusealpha,0.75); }; }; -t[#t+1] = Def.ActorFrame { Name="MenuTimerDecoration"; + +t[#t+1] = Def.ActorFrame { + Name="MenuTimerDecoration"; InitCommand=cmd(y,40;visible,false); + LoadFont("Common Normal") .. { Text="TIME"; InitCommand=cmd(vertalign,bottom;horizalign,right;x,SCREEN_CENTER_X-16;y,-4.5); @@ -19,12 +23,16 @@ t[#t+1] = Def.ActorFrame { Name="MenuTimerDecoration"; OnCommand=cmd(); }; --]] }; -t[#t+1] = Def.ActorFrame { Name="HeaderTextDecoration"; + +t[#t+1] = Def.ActorFrame { + Name="HeaderTextDecoration"; InitCommand=cmd(y,40); + LoadFont("Common Normal") .. { Text="OPTIONS"; - InitCommand=cmd(vertalign,bottom;horizalign,left;x,-SCREEN_CENTER_X+16;y,-4.5); + InitCommand=cmd(vertalign,bottom;horizalign,left;x,-SCREEN_CENTER_X+16;y,-4.5;diffusebottomedge,color("#EEEEEE")); OnCommand=cmd(); }; }; + return t \ No newline at end of file