Atrinik Client  4.0
Functions
progress.c File Reference
#include <global.h>

Go to the source code of this file.

Functions

void progress_dots_create (progress_dots *progress)
 
void progress_dots_show (progress_dots *progress, SDL_Surface *surface, int x, int y)
 
int progress_dots_width (progress_dots *progress)
 

Detailed Description

Implements progress indicators.

Author
Alex Tokar

Definition in file progress.c.

Function Documentation

void progress_dots_create ( progress_dots progress)

Create progress dots indicator.

Parameters
progressWhere to store indicator data.

Definition at line 39 of file progress.c.

void progress_dots_show ( progress_dots progress,
SDL_Surface *  surface,
int  x,
int  y 
)

Show the progress dots.

Parameters
progressThe progress dots indicator data.
surfaceSurface to draw on.
xX position.
yY position.

Definition at line 57 of file progress.c.

int progress_dots_width ( progress_dots progress)

Calculate the width of progress dots.

Parameters
progressThe progress dots indicator data.
Returns
The width.

Definition at line 86 of file progress.c.