--
[ Picked text/plain from multipart/alternative ]
My images seem to be drawing excessively small when I do that. I'm still
playing around with it, but did you have it as a separate entry in
HudLayout.res or just that code tacked on to hud_health (or any other
Hud element)?
On 7/21/06, Michael Kramer <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> The way I have been drawing my images on the hud is with:
>
> vgui::ImagePanel *hudBg;
>
> hudBg = vgui::SETUP_PANEL(new vgui::ImagePanel(this, "HealthBg"));
> hudBg->SetImage("hud_health_bg");
> hudBg->SetSize(this->GetWide(),this->GetTall());
> hudBg->GetImage()->SetSize(this->GetWide() , this->GetTall());
> hudBg->SetPos(52,22);
> hudBg->SetZPos(1);
> hudBg->SetVisible(true);
>
>
> I don't know if that is the proper way to do it, but it works fine for me.
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--
Matt Stafford (Wraiyth)
http://wraiyth.freesuperhost.com
NightFall HL2 Mod - http://nightfall.nigredostudios.com
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders