Skip to content

Commit

Permalink
yutjhf
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 29, 2018
1 parent 5ec7f71 commit 8363efc
Showing 1 changed file with 20 additions and 21 deletions.
Expand Up @@ -69,7 +69,7 @@ local t =
Name = "Tongo",
BeginCommand = function(self)
SCREENMAN:GetTopScreen():AddInputCallback(newTagInput)
self:queuecommand("Set"):visible(false)
self:queuecommand("BORPBORPNORFNORFc"):visible(false)
end,
MouseRightClickMessageCommand = function(self)
if onTab then
Expand All @@ -80,8 +80,7 @@ local t =
MESSAGEMAN:Broadcast("RefreshTags")
end
end,
SetCommand = function(self)
self:finishtweening()
BORPBORPNORFNORFcCommand = function(self)
if getTabIndex() == 9 then
self:visible(true)
song = GAMESTATE:GetCurrentSong()
Expand All @@ -94,13 +93,13 @@ local t =
end
end,
TabChangedMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end,
CurrentStepsP1ChangedMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end,
CurrentSongChangedMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end
}

Expand Down Expand Up @@ -311,7 +310,7 @@ local function funcButton(i)
InitCommand = function(self)
self:zoomto((frameWidth / 3 - 10), 30):halign(0.5):valign(0):diffuse(getMainColor("frames")):diffusealpha(0.35)
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
if tagFunction == i then
self:diffusealpha(1)
else
Expand All @@ -325,7 +324,7 @@ local function funcButton(i)
end
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end
},
LoadFont("Common Large") ..
Expand All @@ -347,18 +346,18 @@ r[#r + 1] =
InitCommand = function(self)
self:xy(frameX + 10, frameY + capWideScale(80, 80) + 225)
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
self:visible(tagFunction == 1)
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end,
LoadFont("Common Large") ..
{
InitCommand = function(self)
self:halign(0):zoom(fontScale)
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
self:settext("Add new tag:")
end
},
Expand All @@ -376,23 +375,23 @@ r[#r + 1] =
MESSAGEMAN:Broadcast("NumericInputActive")
end
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
if hasFocus then
self:diffuse(color("#999999"))
else
self:diffuse(color("#000000"))
end
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end
},
LoadFont("Common Large") ..
{
InitCommand = function(self)
self:addx(133):addy(1):halign(0):maxwidth(600):zoom(fontScale - 0.05)
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
self:settext(curInput)
if curInput ~= "" or hasFocus then
self:diffuse(color("#FFFFFF"))
Expand All @@ -401,7 +400,7 @@ r[#r + 1] =
end
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end
}
}
Expand All @@ -412,22 +411,22 @@ r[#r + 1] =
InitCommand = function(self)
self:xy(frameX + 10, frameY + capWideScale(80, 80) + 225)
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
self:visible(tagFunction == 2)
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end,
LoadFont("Common Large") ..
{
InitCommand = function(self)
self:zoom(fontScale):halign(0)
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
self:settext("Mode: " .. (filterMode and "AND" or "OR"))
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end
},
Def.Quad {
Expand Down Expand Up @@ -489,7 +488,7 @@ r[#r + 1] =
InitCommand = function(self)
self:x(175):halign(0.5):zoom(0.3):diffuse(getMainColor("positive"))
end,
SetCommand = function(self)
BORPBORPNORFNORFcCommand = function(self)
self:settextf(
"Showing %i-%i of %i",
math.min(((currenttagpage - 1) * tagsperpage) + 1, #displayindex),
Expand All @@ -498,7 +497,7 @@ r[#r + 1] =
)
end,
UpdateTagsMessageCommand = function(self)
self:queuecommand("Set")
self:queuecommand("BORPBORPNORFNORFc")
end
}
}
Expand Down

0 comments on commit 8363efc

Please sign in to comment.