NarciAPI.NineSliceUtil.SetUpOverlay(self, "blizzardTooltipBorder", 0, 0.4, 0.33, 0.29);
self:ClearFocus();
if not self.enableLineFeed then
self:ClearFocus();
else
self:Insert("\n")
end
self:HighlightText(0, 0);
self.EditBox:SetFocus();
self.scrollBar.divCenter.spring:Play();
self.scrollBar.divCenter.spring:Play();
self.TextFrame.ScrollChild:SetSize(self.TextFrame:GetSize());
self.MetaFrame.ScrollChild:SetSize(self.MetaFrame:GetSize());
if self:GetParent():IsMouseOver() then
self:Play();
end
self.ScrollChild:SetWidth(self:GetWidth());
self:GetParent():Hide();
self:StopAnimating();
self.fill:SetAlpha(0);
self:RegisterForDrag("LeftButton");
self.label:SetText(Narci.L["Create A New Entry"]);
self.AnimPushed:Stop();
self.AnimPushed.hold:SetDuration(20);
self.AnimPushed:Play();
self.AnimPushed.hold:SetDuration(0);
self.AnimPushed.hold:SetDuration(0);
self.ScrollChild:SetWidth(self:GetParent():GetParent().AchievementCardFrame:GetWidth());
self:SetHorizontalScroll(-266);
local parent = self:GetParent();
parent.showDates = not parent.showDates;
parent:GetParent():ShowOrHideChainDates();
self:SetAlpha(0);
self:Hide();
self.DateToggle:SetStaticWidth(80);
self.DateToggle:SetLabelText("Show Dates");
self.DateToggle:FadeIn()
if not self:IsMouseOver() then
self.DateToggle:FadeOut()
end
self:GetParent():OnMouseDown();
self:SetKey("Shift", "LeftButton", Narci.L["Track"], true);
self:SetKey(nil, "MouseWheel", Narci.L["Next Prev Card"], true);
self:Hide();
self:SetAlpha(0);
self:GetParent():Hide();
self.texture:SetTexCoord(0, 0.75, 0.5, 1);
self.texture:SetTexCoord(0, 0.75, 0, 0.5);
self:GetParent():Hide();