vdr
2.2.0
|
#include <skins.h>
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) | |
![]() | |
cBitmap (int Width, int Height, int Bpp, int X0=0, int Y0=0) | |
cBitmap (const char *FileName) | |
cBitmap (const char *const Xpm[]) | |
virtual | ~cBitmap () |
int | X0 (void) const |
int | Y0 (void) const |
int | Width (void) const |
int | Height (void) const |
void | SetSize (int Width, int Height) |
void | SetOffset (int X0, int Y0) |
bool | Contains (int x, int y) const |
bool | Covers (int x1, int y1, int x2, int y2) const |
bool | Intersects (int x1, int y1, int x2, int y2) const |
bool | Dirty (int &x1, int &y1, int &x2, int &y2) |
void | Clean (void) |
bool | LoadXpm (const char *FileName) |
bool | SetXpm (const char *const Xpm[], bool IgnoreNone=false) |
void | SetIndex (int x, int y, tIndex Index) |
void | Fill (tIndex Index) |
void | DrawPixel (int x, int y, tColor Color) |
void | DrawBitmap (int x, int y, const cBitmap &Bitmap, tColor ColorFg=0, tColor ColorBg=0, bool ReplacePalette=false, bool Overlay=false) |
void | DrawText (int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width=0, int Height=0, int Alignment=taDefault) |
void | DrawRectangle (int x1, int y1, int x2, int y2, tColor Color) |
void | DrawEllipse (int x1, int y1, int x2, int y2, tColor Color, int Quadrants=0) |
void | DrawSlope (int x1, int y1, int x2, int y2, tColor Color, int Type) |
const tIndex * | Data (int x, int y) const |
tColor | GetColor (int x, int y) const |
void | ReduceBpp (const cPalette &Palette) |
void | ShrinkBpp (int NewBpp) |
cBitmap * | Scaled (double FactorX, double FactorY, bool AntiAlias=false) const |
![]() | |
cPalette (int Bpp=8) | |
virtual | ~cPalette () |
void | SetAntiAliasGranularity (uint FixedColors, uint BlendColors) |
int | Bpp (void) const |
void | Reset (void) |
int | Index (tColor Color) |
tColor | Color (int Index) const |
void | SetBpp (int Bpp) |
void | SetColor (int Index, tColor Color) |
const tColor * | Colors (int &NumColors) const |
void | Take (const cPalette &Palette, tIndexes *Indexes=NULL, tColor ColorFg=0, tColor ColorBg=0) |
void | Replace (const cPalette &Palette) |
tColor | Blend (tColor ColorFg, tColor ColorBg, uint8_t Level) const |
int | ClosestColor (tColor Color, int MaxDiff=INT_MAX) const |
Protected Member Functions | |
int | Pos (int p) |
void | Mark (int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent) |
Protected Attributes | |
int | total |
Additional Inherited Members | |
![]() | |
typedef tIndex | tIndexes[MAXNUMCOLORS] |
cSkinDisplayReplay::cProgressBar::cProgressBar | ( | int | Width, |
int | Height, | ||
int | Current, | ||
int | Total, | ||
const cMarks * | Marks, | ||
tColor | ColorSeen, | ||
tColor | ColorRest, | ||
tColor | ColorSelected, | ||
tColor | ColorMark, | ||
tColor | ColorCurrent | ||
) |
Definition at line 149 of file skins.c.
References cSkinDisplay::Current(), cBitmap::DrawRectangle(), cList< T >::First(), Mark(), cList< T >::Next(), Pos(), cMark::Position(), and total.
|
protected |
Definition at line 174 of file skins.c.
References cBitmap::DrawRectangle(), and cBitmap::Height().
Referenced by cProgressBar().
|
inlineprotected |
Definition at line 295 of file skins.h.
References cSkinDisplay::Current(), and cSkinDisplay::SetMessage().
Referenced by cProgressBar().
|
protected |
Definition at line 294 of file skins.h.
Referenced by cProgressBar().