Hey guys, thanks for your help, wow. It works now, I added an ImagePanel instead with a VTF with a transparent background and it all works.
My next problem (same panel) is that, you know when you click a menu option how the BG turns black? My image wont fade to black... it stays and although looks nice I would like it to disappear like everything else. It disappears on the Quit menu and Loading box. -- Kamran A http://www.newsbyteens.com/ > I guess I should also note that it's a material ;) > > "hud_stamina" > { > "file" "vgui/flfhud/hud_icons" > "x" "133" > "y" "5" > "width" "56" > "height" "56" > } > > And of course the vmt/vtf is vgui/flfhud/hud_icons.vmt/vtf > > > -----Original Message----- > From: Tony "omega" Sergi [mailto:[EMAIL PROTECTED] > Sent: June 29, 2005 5:23 PM > To: [email protected] > Subject: RE: [hlcoders] Making "EditablePanel" bg transparent > > Here's an example of one of my hud elements that uses an icon with a > toggleable background: > <snip> > > I can toggle the background on or off with SetBackgroundEnabled() and the > icon still draws. > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 28/06/2005 > > > > _______________________________________________ > 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

