conconmand vgui_refrsh (i think) used when you change screen res on 2003, and 
2005, will also repaint the vgui.

 
--------
Owner Nigredo Studios http://www.nigredostudios.com


>________________________________
>From: James Deeman <james.dee...@googlemail.com>
>To: hlcoders@list.valvesoftware.com
>Sent: Thursday, 4 August 2011 6:17 AM
>Subject: [hlcoders] Overriding scheme setting for vguiscreen.
>
>
>I am trying to customise a vguiscreen using its .res file and a scheme file. 
>My scheme is being applied to the panel just fine and the default label color 
>is being applied, but when I come to change the color of an individual label 
>on the panel 'fgcolor_override' has no effect.
>I am however able to change the fgcolor of the label if I get a pointer to it 
>in the vguiscreen class' code, and call SetFgColor() inside the overridden 
>ApplySchemeSettings() function. Is there anyway to configure this individual 
>label's color in the .res file of the panel or the Scheme itself, rather than 
>in code? I thought 'fgcolor_override' was exactly the thing i needed.
>
>Thanks. 
>_______________________________________________
>To unsubscribe, edit your list preferences, or view the list archives, please 
>visit:
>http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to