Results:
Pictures:
General
Log
Trash
All Codes:
General:
OnLoad
Code:
local font,size = self.text:GetFont()
self.text:SetFont(font,size,"OUTLINE")
self.text:SetJustifyH("CENTER")
self.text:SetJustifyV("CENTER")
self.color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[select(2,UnitClass("player"))]
self.frame = "ChatFrame1"
self:SetBackdropBorderColor(0, 0 , 0, 0)
self.bg:SetGradientAlpha("VERTICAL", 0, 0, 0, 1,0.18, 0.18, 0.18, 1)
OnUpdate:
Code:
if _G[self.frame]:IsShown() or self.entered then
self.text:SetTextColor(1,1,1)
else
self.text:SetTextColor(self.color.r,self.color.g,self.color.b)
end
OnEnter
Code:
self.entered = true
OnLeave
Code:
self.entered = false
OnClick
Code:
FCF_Tab_OnClick(_G[self.frame.."Tab"],button)
local tab2 = kgPanels:FetchFrame("Log")
local tab3 = kgPanels:FetchFrame("Trash")
self:SetBackdropBorderColor(0, 0 , 0, 0)
tab2:SetBackdropBorderColor(0, 0 , 0, 1)
tab3:SetBackdropBorderColor(0, 0 , 0, 1)
-------------
Log:
OnLoad
Code:
local font,size = self.text:GetFont()
self.text:SetFont(font,size,"OUTLINE")
self.text:SetJustifyH("CENTER")
self.text:SetJustifyV("CENTER")
self.color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[select(2,UnitClass("player"))]
self.frame = "ChatFrame2"
OnUpdate
Code:
if _G[self.frame]:IsShown() or self.entered then
self.text:SetTextColor(1,1,1)
else
self.text:SetTextColor(self.color.r,self.color.g,self.color.b)
end
OnEnter
Code:
self.entered = true
OnLeave
Code:
self.entered = false
OnClick
Code:
FCF_Tab_OnClick(_G[self.frame.."Tab"],button)
local tab1 = kgPanels:FetchFrame("General")
local tab3 = kgPanels:FetchFrame("Trash")
self:SetBackdropBorderColor(0, 0 , 0, 0)
tab1:SetBackdropBorderColor(0, 0 , 0, 1)
tab3:SetBackdropBorderColor(0, 0 , 0, 1)
self.bg:SetGradientAlpha("VERTICAL", 0, 0, 0, 1,0.18, 0.18, 0.18, 1)
tab1.bg:SetVertexColor(0.18, 0.18, 0.18)
tab3.bg:SetVertexColor(0.18, 0.18, 0.18)
---------------
Trash:
OnLoad
Code:
local font,size = self.text:GetFont()
self.text:SetFont(font,size,"OUTLINE")
self.text:SetJustifyH("CENTER")
self.text:SetJustifyV("CENTER")
self.color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[select(2,UnitClass("player"))]
self.frame = "ChatFrame3"
OnUpdate
Code:
if _G[self.frame]:IsShown() or self.entered then
self.text:SetTextColor(1,1,1)
else
self.text:SetTextColor(self.color.r,self.color.g,self.color.b)
end
OnEnter
Code:
self.entered = true
OnLeave
Code:
self.entered = false
OnClick
Code:
FCF_Tab_OnClick(_G[self.frame.."Tab"],button)
local tab1 = kgPanels:FetchFrame("General")
local tab2 = kgPanels:FetchFrame("Log")
self:SetBackdropBorderColor(0, 0 , 0, 0)
tab1:SetBackdropBorderColor(0, 0 , 0, 1)
tab2:SetBackdropBorderColor(0, 0 , 0, 1)
self.bg:SetGradientAlpha("VERTICAL", 0, 0, 0, 1,0.18, 0.18, 0.18, 1)
tab1.bg:SetVertexColor(0.18, 0.18, 0.18)
tab2.bg:SetVertexColor(0.18, 0.18, 0.18)
Code for kgpanels:
Code:
^1^T^SLog^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOT^B^STOPRIGHTCORNER^B^SLEFT^B^SBOTLEFTCORNER^B^SRIGHT^B^STOPLEFTCORNER^B^STOP^B^SBOTRIGHTCORNER^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SBlizzard~`Tooltip^Sanchor^SUIParent^Slevel^N0^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sx^S1^SjustifyH^SCENTER^Sfont^SContinuum_Medium^Scolor^T^Sa^N1^Sr^F6887858253625464^f-53^Sg^F8759942804610848^f-56^Sb^F8336074604387744^f-55^t^Stext^SLog^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-130^Sx^S-267^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S22^Stiling^b^Sstrata^SBACKGROUND^Shorz_tile^b^SanchorTo^SCENTER^Sabsolute_bg^T^SULx^N0^SULy^N0^SLLy^N1^SLLx^N0^SURx^N1^SURy^N0^SLRx^N1^SLRy^N1^t^Sbg_insets^T^Sb^S0^St^S0^Sl^S0^Sr^S0^t^Sscripts^T^SENTER^Sself.entered~`=~`true^SLOAD^S~`~`~`~`local~`font,size~`=~`self.text:GetFont()~J~`~`~`~`self.text:SetFont(font,size,"OUTLINE")~J~`~`~`~`self.text:SetJustifyH("CENTER")~J~`~`~`~`self.text:SetJustifyV("CENTER")~J~`~`~`~`~`~J~`~`~`~`self.color~`=~`(CUSTOM_CLASS_COLORS~`or~`RAID_CLASS_COLORS)[select(2,UnitClass("player"))]~J~`~`~`~`self.frame~`=~`"ChatFrame2"^SCLICK^SFCF_Tab_OnClick(_G[self.frame.."Tab"],button)~J~Jlocal~`tab1~`=~`kgPanels:FetchFrame("General")~`~`~Jlocal~`tab3~`=~`kgPanels:FetchFrame("Trash")~`~J~Jself:SetBackdropBorderColor(0,~`0~`,~`0,~`0)~Jtab1:SetBackdropBorderColor(0,~`0~`,~`0,~`1)~Jtab3:SetBackdropBorderColor(0,~`0~`,~`0,~`1)~Jself.bg:SetGradientAlpha("VERTICAL",~`0,~`0,~`0,~`1,0.18,~`0.18,~`0.18,~`1)~Jtab1.bg:SetVertexColor(0.18,~`0.18,~`0.18)~Jtab3.bg:SetVertexColor(0.18,~`0.18,~`0.18)^SUPDATE^S~`~`~`~`if~`_G[self.frame]:IsShown()~`or~`self.entered~`then~J~`~`~`~`~`~`~`~`self.text:SetTextColor(1,1,1)~J~`~`~`~`else~J~`~`~`~`~`~`~`~`self.text:SetTextColor(self.color.r,self.color.g,self.color.b)~J~`~`~`~`end^SLEAVE^Sself.entered~`=~`false^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N0^Sg^N0^Sb^N0^t^Sborder_texture^SCaith^Swidth^S46^Srotation^N0^Sbg_color^T^Sa^N1^Sr^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sb^F6499312403420951^f-55^t^Smouse^B^Scrop^b^Ssub_level^N0^t^SGeneral^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^B^STOPRIGHTCORNER^B^SBOTLEFTCORNER^B^STOPLEFTCORNER^B^SRIGHT^B^SLEFT^B^STOP^B^SBOT^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SBlizzard~`Tooltip^Sanchor^SUIParent^Slevel^N0^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sfont^SContinuum_Medium^SjustifyH^SCENTER^Sx^S2^Scolor^T^Sa^N1^Sb^F8336074604387744^f-55^Sg^F8759942804610848^f-56^Sr^F6887858253625464^f-53^t^Stext^SGeneral^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-130^Sx^S-323^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S22^Stiling^b^Sstrata^SBACKGROUND^Shorz_tile^b^SanchorTo^SCENTER^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURy^N0^SURx^N1^SULy^N0^SULx^N0^t^Sbg_insets^T^Sr^S0^St^S0^Sl^S0^Sb^S0^t^Sscripts^T^SENTER^Sself.entered~`=~`true^SLOAD^S~`~`~`~`local~`font,size~`=~`self.text:GetFont()~J~`~`~`~`self.text:SetFont(font,size,"OUTLINE")~J~`~`~`~`self.text:SetJustifyH("CENTER")~J~`~`~`~`self.text:SetJustifyV("CENTER")~J~`~`~`~`~`~J~`~`~`~`self.color~`=~`(CUSTOM_CLASS_COLORS~`or~`RAID_CLASS_COLORS)[select(2,UnitClass("player"))]~J~`~`~`~`self.frame~`=~`"ChatFrame1"~J~Jself:SetBackdropBorderColor(0,~`0~`,~`0,~`0)~Jself.bg:SetGradientAlpha("VERTICAL",~`0,~`0,~`0,~`1,0.18,~`0.18,~`0.18,~`1)^SCLICK^SFCF_Tab_OnClick(_G[self.frame.."Tab"],button)~J~Jlocal~`tab2~`=~`kgPanels:FetchFrame("Log")~`~`~Jlocal~`tab3~`=~`kgPanels:FetchFrame("Trash")~`~J~Jself:SetBackdropBorderColor(0,~`0~`,~`0,~`0)~Jtab2:SetBackdropBorderColor(0,~`0~`,~`0,~`1)~Jtab3:SetBackdropBorderColor(0,~`0~`,~`0,~`1)~Jself.bg:SetGradientAlpha("VERTICAL",~`0,~`0,~`0,~`1,0.18,~`0.18,~`0.18,~`1)~Jtab2.bg:SetVertexColor(0.18,~`0.18,~`0.18)~Jtab3.bg:SetVertexColor(0.18,~`0.18,~`0.18)^SUPDATE^S~`~`~`~`if~`_G[self.frame]:IsShown()~`or~`self.entered~`then~J~`~`~`~`~`~`~`~`self.text:SetTextColor(1,1,1)~J~`~`~`~`else~J~`~`~`~`~`~`~`~`self.text:SetTextColor(self.color.r,self.color.g,self.color.b)~J~`~`~`~`end^SLEAVE^Sself.entered~`=~`false^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N0^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Sborder_texture^SCaith^Swidth^S68^Ssub_level^N0^Scrop^b^Smouse^B^Sbg_color^T^Sa^N1^Sb^F4945129002602899^f-54^Sg^F4945129002602899^f-54^Sr^F4945129002602899^f-54^t^Srotation^N0^t^SChatB^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^b^STOPRIGHTCORNER^b^SBOTLEFTCORNER^b^STOPLEFTCORNER^b^SRIGHT^B^SLEFT^B^STOP^b^SBOT^b^t^t^Sparent^SUIParent^Ssub_level^N0^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SNone^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sfont^SBlizzard^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Srotation^N0^Sx^S-375^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S182^Stiling^b^Sstrata^SBACKGROUND^SanchorTo^SCENTER^Sabsolute_bg^T^SULx^N0^SULy^N0^SLLy^N1^SLLx^N0^SURy^N0^SURx^N1^SLRx^N1^SLRy^N1^t^Sbg_insets^T^Sr^S^St^S^Sl^S^Sb^S^t^Sscripts^T^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Sborder_texture^SCaith^Swidth^S368^Sy^S-50^Sbg_color^T^Sa^N1^Sb^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sr^F6499312403420951^f-55^t^Smouse^b^Scrop^b^Sbg_orientation^SHORIZONTAL^t^SLogB^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^B^STOPRIGHTCORNER^b^STOPLEFTCORNER^b^SBOTLEFTCORNER^B^SRIGHT^B^SLEFT^B^STOP^b^SBOT^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SNone^Sanchor^SUIParent^Slevel^N0^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sfont^SContinuum_Medium^SjustifyH^SCENTER^Sx^S1^Scolor^T^Sa^N1^Sb^F8336074604387744^f-55^Sg^F8759942804610848^f-56^Sr^F6887858253625464^f-53^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-130^Sx^S-267^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S22^Stiling^b^Sstrata^SBACKGROUND^Shorz_tile^b^SanchorTo^SCENTER^Sabsolute_bg^T^SLRy^N1^SLRx^N1^SULx^N0^SULy^N0^SURy^N0^SURx^N1^SLLx^N0^SLLy^N1^t^Sbg_insets^T^Sr^S0^St^S0^Sl^S0^Sb^S0^t^Sscripts^T^SENTER^S^SLOAD^S"^SCLICK^S^SUPDATE^S^SLEAVE^S^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N0^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Sborder_texture^SCaith^Swidth^S46^Ssub_level^N0^Scrop^b^Smouse^b^Sbg_color^T^Sa^N1^Sb^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sr^F6499312403420951^f-55^t^Srotation^N0^t^SGeneralB^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^B^STOPRIGHTCORNER^b^SBOTLEFTCORNER^B^STOPLEFTCORNER^b^SRIGHT^B^SLEFT^B^STOP^b^SBOT^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SNone^Sanchor^SUIParent^Slevel^N0^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sfont^SContinuum_Medium^SjustifyH^SCENTER^Sx^S2^Scolor^T^Sa^N1^Sb^F8336074604387744^f-55^Sg^F8759942804610848^f-56^Sr^F6887858253625464^f-53^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-130^Sx^S-323^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S22^Stiling^b^Sstrata^SBACKGROUND^Shorz_tile^b^SanchorTo^SCENTER^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURy^N0^SURx^N1^SULy^N0^SULx^N0^t^Sbg_insets^T^Sr^S0^St^S0^Sl^S0^Sb^S0^t^Sscripts^T^SENTER^S^SLOAD^S^SCLICK^S^SUPDATE^S^SLEAVE^S^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N0^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Sborder_texture^SCaith^Swidth^S68^Ssub_level^N0^Scrop^b^Smouse^b^Sbg_color^T^Sa^N1^Sb^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sr^F6499312403420951^f-55^t^Srotation^N0^t^STrash^T^Sborder_advanced^T^Senable^b^Sshow^T^SBOT^B^STOPRIGHTCORNER^B^SLEFT^B^SBOTLEFTCORNER^B^SRIGHT^B^STOPLEFTCORNER^B^STOP^B^SBOTRIGHTCORNER^B^t^t^Sparent^SUIParent^Ssub_level^N0^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SBlizzard~`Tooltip^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^S0^Sfont^SContinuum_Medium^SjustifyH^SCENTER^Sx^S0^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^STrash^SjustifyV^SMIDDLE^Ssize^N12^t^Srotation^N0^Sx^S-218^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S22^Stiling^b^Sstrata^SBACKGROUND^SanchorTo^SCENTER^Sabsolute_bg^T^SLRy^N1^SLRx^N1^SULx^N0^SULy^N0^SURx^N1^SURy^N0^SLLx^N0^SLLy^N1^t^Sbg_insets^T^Sb^S^St^S^Sl^S^Sr^S^t^Sscripts^T^SENTER^Sself.entered~`=~`true^SLOAD^S~`~`~`~`local~`font,size~`=~`self.text:GetFont()~J~`~`~`~`self.text:SetFont(font,size,"OUTLINE")~J~`~`~`~`self.text:SetJustifyH("CENTER")~J~`~`~`~`self.text:SetJustifyV("CENTER")~J~`~`~`~`~`~J~`~`~`~`self.color~`=~`(CUSTOM_CLASS_COLORS~`or~`RAID_CLASS_COLORS)[select(2,UnitClass("player"))]~J~`~`~`~`self.frame~`=~`"ChatFrame3"~J^SLEAVE^Sself.entered~`=~`false^SCLICK^SFCF_Tab_OnClick(_G[self.frame.."Tab"],button)~J~Jlocal~`tab1~`=~`kgPanels:FetchFrame("General")~`~`~Jlocal~`tab2~`=~`kgPanels:FetchFrame("Log")~`~J~Jself:SetBackdropBorderColor(0,~`0~`,~`0,~`0)~Jtab1:SetBackdropBorderColor(0,~`0~`,~`0,~`1)~Jtab2:SetBackdropBorderColor(0,~`0~`,~`0,~`1)~Jself.bg:SetGradientAlpha("VERTICAL",~`0,~`0,~`0,~`1,0.18,~`0.18,~`0.18,~`1)~Jtab1.bg:SetVertexColor(0.18,~`0.18,~`0.18)~Jtab2.bg:SetVertexColor(0.18,~`0.18,~`0.18)^SUPDATE^S~`~`~`~`if~`_G[self.frame]:IsShown()~`or~`self.entered~`then~J~`~`~`~`~`~`~`~`self.text:SetTextColor(1,1,1)~J~`~`~`~`else~J~`~`~`~`~`~`~`~`self.text:SetTextColor(self.color.r,self.color.g,self.color.b)~J~`~`~`~`end^SEVENT^S^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N0^Sg^N0^Sb^N0^t^Sborder_texture^SCaith^Swidth^S54^Sbg_orientation^SHORIZONTAL^Scrop^b^Smouse^B^Sbg_color^T^Sa^N1^Sr^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sb^F6499312403420951^f-55^t^Sy^S-130^t^SChat^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOT^b^STOPRIGHTCORNER^b^SLEFT^B^STOPLEFTCORNER^b^SRIGHT^B^SBOTLEFTCORNER^b^STOP^b^SBOTRIGHTCORNER^b^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SBlizzard~`Tooltip^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sx^N0^SjustifyH^SCENTER^Sfont^SBlizzard^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Srotation^N0^Sx^S-375^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S158^Stiling^b^Sstrata^SBACKGROUND^SanchorTo^SCENTER^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURx^N1^SURy^N0^SULy^N0^SULx^N0^t^Sbg_insets^T^Sb^S^St^S^Sl^S^Sr^S^t^Sscripts^T^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N0^Sg^N0^Sb^N0^t^Sborder_texture^SCaith^Swidth^S368^Ssub_level^N0^Scrop^b^Smouse^b^Sbg_color^T^Sa^N1^Sr^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sb^F6499312403420951^f-55^t^Sy^S-40^t^STrashB^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^B^STOPRIGHTCORNER^b^STOPLEFTCORNER^b^SBOTLEFTCORNER^B^SRIGHT^B^SLEFT^B^STOP^b^SBOT^B^t^t^Sparent^SUIParent^Ssub_level^N0^SanchorFrom^SCENTER^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SNone^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^S0^Sx^S0^SjustifyH^SCENTER^Sfont^SContinuum_Medium^Scolor^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Srotation^N0^Sx^S-218^Sbg_alpha^N1^Sborder_edgeSize^N4^Sheight^S22^Stiling^b^Sstrata^SBACKGROUND^SanchorTo^SCENTER^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURy^N0^SURx^N1^SULy^N0^SULx^N0^t^Sbg_insets^T^Sr^S^St^S^Sl^S^Sb^S^t^Sscripts^T^SENTER^S^SLOAD^S^SEVENT^S^SCLICK^S^SUPDATE^S^SLEAVE^S^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Sborder_texture^SCaith^Swidth^S54^Sy^S-130^Sbg_color^T^Sa^N1^Sb^F6499312403420951^f-55^Sg^F6499312403420951^f-55^Sr^F6499312403420951^f-55^t^Smouse^b^Scrop^b^Sbg_orientation^SHORIZONTAL^t^t^^
What I do:
The part of borders:
two panels of every Tab with that:
1) A back panel of each tab with 3 borders (Right, Left, and bot), background transparent and the corners of top are hidden. Example: |_|
2) A Front panel of each tab with all the borders corner and background. Example: []
When I click the panel, Alpha of the Front panel (2), set to 0, so the borders of the panel with 4 borders dissapear, and now the back panel with 3 borders are visible, that make the efect of we remove the border of top.
Now appear a new problem, cause of corners of back panel (1), are hidden, appear 2 blank spaces, equivalent of top right and top left corners, so... I create 2 panels to fix that.
3) 1 panel with the background and only the borders of right and left. Example : | |
4) 1 panel with all borders and no background (transparent). Example: []
When I join it, the panel (3) cover that blank spaces of the corner tabs, and the panel (4) cover the background and the rest of corners.
So at this point the part of borders its OK.
Now the part of Gradients and colors:
I find a few of Lua codes of gradients I think that understand the next (can be wrong but i think that its ok), I explain:
self.bg:SetGradientAlpha("VERTICAL", 0, 0, 0, 1,0.18, 0.18, 0.18, 1)
____________[Tipe of gradient]_|___[First color][Second color]___
In parits of 4 numbers, the first 3 numbers are the code of color, the 4 number is the alpha of the color (transparency).
I learn to, that with a division of the rgb color per 255, I can give the number what I need.
So When I click each tab, Itselfs take a gradient color (Black / Grey), and the rest of tabs get a solid color of Grey (0.18, 0.18, 0.18), the division of 46, 46, 46 per 255.
Another long day with Lua , for today its enought for me... I need sleep again
Plans for tomorrow Xdd Xdd (today) : try to fix the filter of combat log.
Cause of I hide the tabs with an option of chatter, the filter of CombatLog dissapear too, dont be intended that... I need that filter.
Thanks for all !!