SASC
DVBSoftCAM

cSkinDisplayReplay::cProgressBar Class Reference

#include <skins.h>

Inheritance diagram for cSkinDisplayReplay::cProgressBar:

List of all members.

Public Member Functions

 cProgressBar (int Width, int Height, int Current, int Total, const cMarks *Marks, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent)

Protected Member Functions

int Pos (int p)
void Mark (int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent)

Protected Attributes

int total

Detailed Description

Definition at line 183 of file skins.h.


Constructor & Destructor Documentation

cSkinDisplayReplay::cProgressBar::cProgressBar ( int  Width,
int  Height,
int  Current,
int  Total,
const cMarks *  Marks,
tColor  ColorSeen,
tColor  ColorRest,
tColor  ColorSelected,
tColor  ColorMark,
tColor  ColorCurrent 
)

Member Function Documentation

void cSkinDisplayReplay::cProgressBar::Mark ( int  x,
bool  Start,
bool  Current,
tColor  ColorMark,
tColor  ColorCurrent 
) [protected]
int cSkinDisplayReplay::cProgressBar::Pos ( int  p) [inline, protected]

Definition at line 186 of file skins.h.

References total, and cBitmap::Width().

{ return p * Width() / total; }

Member Data Documentation

Definition at line 185 of file skins.h.

Referenced by Pos().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines