I've recently been redoing the skin on my server, and I am only having one issue, and it's finding this name of this field to change it's color.
[img]http://oi53.tinypic.com/a0dibs.jpg[/img]
The blue background is the field name I need, this is an example field.
[lua]SKIN.listview_hover = Color( 225, 100, 10, 140 )[/lua]
I was unsuccessful at finding a list of field names on the wiki.
Thanks in advance,
evad
So you want to change the text color?
The blue background is the field name I need.
( in further detail, the "blue background" behind "Axis" and the other tools, is what I am wanting to change )
[lua]
/*---------------------------------------------------------
ListViewLine
---------------------------------------------------------*/
function SKIN:PaintListViewLine( panel )
local Col = nil
if ( panel:IsSelected() ) then
Col = self.listview_selected
elseif ( panel.Hovered ) then
Col = self.listview_hover
elseif ( panel.m_bAlt ) then
Col = self.bg_alt2
else
return
end
surface.SetDrawColor( Col.r, Col.g, Col.b, Col.a )
surface.DrawRect( 0, 0, panel:GetWide(), panel:GetTall() )
end
[/lua]
That does not appear to be working, I have listview_selected defined further up in the code, but that doesn't work either.
Post the full skin, thanks.
Sorry, you need to Log In to post a reply to this thread.