I am not entirely sure what you want but if you want to display an image
then use an ImagePanel to do it. If you don't want the panel itself to
draw (only the image) then you could set SetPaintBackgroundEnabled(
false ) and it won't draw its background.
- Alfred
Original Message
From:
I have replaced the Health panel with an image rather than the
numbers, and when ever I set the background paint to false the image
dissapears. The title remains but both the background and image
dissapear even though the image is being drawn in the Paint()
function. I have other panels that
Message
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
(British_Bomber) Sent: Wednesday, June 29, 2005 12:13 PM To:
hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Making
EditablePanel bg transparent
I have replaced the Health panel with an image rather than
@list.valvesoftware.com
Subject: Re: [hlcoders] Making EditablePanel bg transparent
I have replaced the Health panel with an image rather than the
numbers, and when ever I set the background paint to false the image
dissapears. The title remains but both the background and image
dissapear even though the image is being
: [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
-Original Message-
From: Tony omega Sergi [mailto:[EMAIL PROTECTED]
Sent: June 29, 2005 5:23 PM
To: hlcoders@list.valvesoftware.com
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
@list.valvesoftware.com Subject: RE: [hlcoders] Making
EditablePanel bg transparent
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
] On Behalf Of Kamran
Sent: Wednesday, June 29, 2005 4:38 PM To:
hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Making
EditablePanel bg transparent
[ Converted text/html to text/plain ]
I mean, for example, click Options. The background will go black (I
have a
background01 image). My
8 matches
Mail list logo