updates
This commit is contained in:
@@ -807,6 +807,11 @@ function _detalhes:RestauraJanela (index, temp)
|
||||
height = 0,
|
||||
overlay = {1, 1, 1, 1}
|
||||
}
|
||||
|
||||
if (self.wallpaper.enabled) then
|
||||
self:InstanceWallpaper (true)
|
||||
end
|
||||
|
||||
self:InstanceColor (self.color)
|
||||
|
||||
self.largura_scroll = 26
|
||||
|
||||
@@ -1682,8 +1682,16 @@ function gump:CriaJanelaPrincipal (ID, instancia, criando)
|
||||
instancia.freeze_texto:SetPoint ("left", instancia.freeze_icon, "right", 0, 0)
|
||||
instancia.freeze_texto:SetTextColor (1, 1, 1)
|
||||
instancia.freeze_texto:SetText (Loc ["STRING_FREEZE"])
|
||||
instancia.freeze_texto:Hide()
|
||||
instancia.freeze_texto:Hide()
|
||||
|
||||
instancia._version = BaseFrame:CreateFontString (nil, "OVERLAY", "GameFontHighlightSmall")
|
||||
instancia._version:SetPoint ("left", BackGroundDisplay, "left", 20, 0)
|
||||
instancia._version:SetTextColor (1, 1, 1)
|
||||
instancia._version:SetText ("this is a early alpha version (1) of Details\nyou can help us sending bug reports\nuse the blue button.")
|
||||
if (not _detalhes.initializing) then
|
||||
instancia._version:Hide()
|
||||
end
|
||||
|
||||
BaseFrame.wallpaper = BaseFrame:CreateTexture (nil, "border")
|
||||
BaseFrame.wallpaper:Hide()
|
||||
|
||||
|
||||
+26
-6
@@ -81,11 +81,9 @@ function _G._detalhes:Start()
|
||||
menus = 10
|
||||
}
|
||||
|
||||
if (not self.tutorial) then
|
||||
self.tutorial = {
|
||||
unlock_button = 0,
|
||||
}
|
||||
end
|
||||
self.tutorial = self.tutorial or {}
|
||||
self.tutorial.unlock_button = self.tutorial.unlock_button or 0
|
||||
self.tutorial.version_announce = self.tutorial.version_announce or 0
|
||||
|
||||
--> class colors and tcoords
|
||||
if (not self.class_colors) then
|
||||
@@ -235,5 +233,27 @@ function _G._detalhes:Start()
|
||||
self:SendEvent ("DETAILS_STARTED", "SEND_TO_ALL")
|
||||
end
|
||||
self:ScheduleTimer ("AnnounceStartup", 5)
|
||||
|
||||
|
||||
--> announce alpha version
|
||||
function self:AnnounceVersion()
|
||||
for index, instancia in ipairs (self.tabela_instancias) do
|
||||
if (instancia.ativa) then
|
||||
self.gump:Fade (instancia._version, "in", 5)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if (self.tutorial.version_announce < 4) then
|
||||
self:ScheduleTimer ("AnnounceVersion", 20)
|
||||
self.tutorial.version_announce = self.tutorial.version_announce + 1
|
||||
else
|
||||
for index, instancia in ipairs (self.tabela_instancias) do
|
||||
if (instancia.ativa) then
|
||||
instancia._version:SetText ("Details Alpha (" .. self.realversion..")")
|
||||
instancia._version:SetPoint ("bottomleft", self.baseframe, "bottomleft", 0, 16)
|
||||
self.gump:Fade (instancia._version, "in", 10)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user