MCPcopy Create free account
hub / github.com/JACoders/OpenJK / GradientBar_Paint

Function GradientBar_Paint

code/ui/ui_shared.cpp:8439–8445  ·  view source on GitHub ↗

================= GradientBar_Paint ================= */

Source from the content-addressed store, hash-verified

8437=================
8438*/
8439void GradientBar_Paint(rectDef_t *rect, vec4_t color)
8440{
8441 // gradient bar takes two paints
8442 DC->setColor( color );
8443 DC->drawHandlePic(rect->x, rect->y, rect->w, rect->h, DC->Assets.gradientBar);
8444 DC->setColor( NULL );
8445}
8446
8447/*
8448=================

Callers 1

Window_PaintFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected