sp0rky
02-07-2005, 11:30 PM
void FillRGBA(int x, int y, int w, int h, int r, int g, int b, int a)
{
MaterialSystemSurface->DrawSetColor(r,g,b,a);
MaterialSystemSurface->DrawFilledRect(x,y,x+w,y+h);
}
Credits: osGb` wrote it originally, then panzer fixed the width/height. Credit them, for this.
This may not appear elsewhere without permission, but may be linked to.
{
MaterialSystemSurface->DrawSetColor(r,g,b,a);
MaterialSystemSurface->DrawFilledRect(x,y,x+w,y+h);
}
Credits: osGb` wrote it originally, then panzer fixed the width/height. Credit them, for this.
This may not appear elsewhere without permission, but may be linked to.