#include "gfxcore.h"
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
void | GFX_RoundRect (Graphics *gfx, int x, int y, int w, int h, int r=2, bool shadow=true) |
Draw a rounded rectangle. | |
void | GFX_ProgressBar (Graphics *gfx, int x, int y, int w, int h, float value, float min=0, float max=100) |
Draw a progress bar. |
|
Draw a progress bar.
Definition at line 70 of file gfxutil.cpp. References BLT_COPY, BLT_XOR, GFX_FillRect(), GFX_Init(), GFX_Rectangle(), GFX_SetBlitMode(), GFX_SetFillStyle(), and width. Referenced by gfxTest(). |
|
Draw a rounded rectangle. This function draws a nicely rounded rectangle, with an optional shadow and variable roundness. (left,top) is the upper left corner of the rectangle, and (right,bottom) is its lower right corner. Notice that the rectangle gets one pixel wider and taller if a shadow is drawn.
Definition at line 38 of file gfxutil.cpp. |