Options screen adjustments to theme

This commit is contained in:
ListenerJubatus
2017-08-11 15:01:19 -06:00
parent df8e270916
commit 2cc1ba8a96
17 changed files with 55 additions and 28 deletions
@@ -23,19 +23,19 @@ end
local t = Def.ActorFrame {
LoadActor(THEME:GetPathB("_frame","3x1"),"rounded light", 250-16) .. {
OnCommand=cmd(diffuse,ColorLightTone(PlayerColor(PlayerNumber));diffusealpha,0.7);
OnCommand=cmd(diffuse,ColorLightTone(PlayerColor(PlayerNumber));diffusealpha,0.5);
};
LoadFont("Common Condensed") .. {
Text=ToEnumShortString(PlayerNumber);
Name="PlayerShortName",
InitCommand=cmd(x,-127;maxwidth,32;zoom,0.75;shadowlength,1;),
InitCommand=cmd(x,-127;maxwidth,32;zoom,0.75;),
OnCommand=cmd(diffuse,ColorDarkTone(PlayerColor(PlayerNumber));)
},
LoadFont("_overpass 36px") .. {
Text=bpm_text;
Name="BPMRangeOld",
InitCommand=cmd(x,-60;maxwidth,88/bpm_text_zoom),
OnCommand=cmd(zoom,bpm_text_zoom;diffuse,ColorDarkTone(PlayerColor(PlayerNumber));shadowlength,1;)
OnCommand=cmd(zoom,bpm_text_zoom;diffuse,ColorDarkTone(PlayerColor(PlayerNumber));)
},
LoadActor(THEME:GetPathG("_StepsDisplayListRow","arrow")) .. {
Name="Seperator",
@@ -47,12 +47,12 @@ local t = Def.ActorFrame {
Text="100 - 200000";
Name="BPMRangeNew",
InitCommand= function(self)
self:x(68):maxwidth(88/bpm_text_zoom):shadowlength(1):zoom(bpm_text_zoom)
self:x(68):maxwidth(88/bpm_text_zoom):zoom(bpm_text_zoom)
local speed, mode= GetSpeedModeAndValueFromPoptions(PlayerNumber)
self:playcommand("SpeedChoiceChanged", {pn= PlayerNumber, mode= mode, speed= speed})
end,
BPMWillNotChangeCommand=cmd(stopeffect;diffuse,ColorDarkTone(PlayerColor(PlayerNumber));),
BPMWillChangeCommand=cmd(diffuseshift;effectcolor1,Color.Black;effectcolor2,ColorLightTone(PlayerColor(PlayerNumber));),
BPMWillChangeCommand=cmd(diffuseshift;effectcolor1,Color.Black;effectcolor2,ColorMidTone(PlayerColor(PlayerNumber));),
SpeedChoiceChangedMessageCommand= function(self, param)
if param.pn ~= PlayerNumber then return end
local text= ""