--
[ Picked text/plain from multipart/alternative ]
Hey all,
I've been puzzling over this for about a week now. I want to draw a
background image for the health for the HUD I'm working on. I can get the
image drawing alright using
vgui::surface()->DrawTexturedRect( 0, 0, this->GetWide(), this->GetTall() );
However, as soon as I obtain a weapon, the image disappears. When I drop the
weapon, it reappears.
I've got SetHiddenBits to HIDEHUD_PLAYERDEAD | HIDEHUD_NEEDSUIT, which is
what everything else is set to (and everything else works).
Any ideas on whats going wrong, or alternately, a better way to draw an
image to sit right behind the health & scale for different res's?

Matt
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to