Renamed Header elements to ListHeader. Removed hungarian notation from ScreenMapControllers.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
return LoadFont("Common Normal") .. {
|
||||
InitCommand= cmd(x, SCREEN_CENTER_X; zoom, .75; shadowlength, 0; diffuse, color("#808080")),
|
||||
return Def.BitmapText{
|
||||
Font="Common Normal",
|
||||
InitCommand= cmd(x, SCREEN_CENTER_X; zoom, .75, 0; diffuse, color("#808080")),
|
||||
OnCommand= function(self)
|
||||
self:diffusealpha(0)
|
||||
self:decelerate(0.5)
|
||||
@@ -8,9 +9,8 @@ return LoadFont("Common Normal") .. {
|
||||
self:settext(
|
||||
THEME:GetString("ScreenMapControllers", "Action" .. self:GetName()))
|
||||
end,
|
||||
OffCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,0;queuecommand,"Hide");
|
||||
HideCommand=cmd(visible,false);
|
||||
|
||||
GainFocusCommand=cmd(diffuseshift;effectcolor2,color("#808080");effectcolor1,color("#FFFFFF"));
|
||||
LoseFocusCommand=cmd(stopeffect);
|
||||
};
|
||||
OffCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,0;queuecommand,"Hide"),
|
||||
HideCommand=cmd(visible,false),
|
||||
GainFocusCommand=cmd(diffuseshift;effectcolor2,color("#808080");effectcolor1,color("#FFFFFF")),
|
||||
LoseFocusCommand=cmd(stopeffect),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user