SudokuPlugin::Bitmap Class Reference

Plugin-specific version of the bitmap class. More...

#include <bitmap.h>

List of all members.

Public Member Functions

 Bitmap (int width, int height)
 Constructor.
 Bitmap (int width, int height, tColor frameColor, tColor backgroundColor)
 Constructor for a bitmap with frame.
void text (const char *text, bool centered=true)
 Write a text into the bitmap.
void frame (int x1, int y1, int x2, int y2, tColor frameColor)
 Draw a frame into the bitmap.

Detailed Description

Plugin-specific version of the bitmap class.

Definition at line 36 of file bitmap.h.


Constructor & Destructor Documentation

Bitmap::Bitmap ( int  width,
int  height 
)

Constructor.

Definition at line 33 of file bitmap.cpp.

Bitmap::Bitmap ( int  width,
int  height,
tColor  frameColor,
tColor  backgroundColor 
)

Constructor for a bitmap with frame.

Definition at line 39 of file bitmap.cpp.

References frame().


Member Function Documentation

void Bitmap::frame ( int  x1,
int  y1,
int  x2,
int  y2,
tColor  frameColor 
)

Draw a frame into the bitmap.

Definition at line 65 of file bitmap.cpp.

Referenced by Bitmap(), and text().

void Bitmap::text ( const char *  text,
bool  centered = true 
)

Write a text into the bitmap.

Definition at line 48 of file bitmap.cpp.

References frame().

Referenced by SudokuPlugin::Menu::paint().


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 17:01:13 2010 for VDR plugin 'Sudoku' by  doxygen 1.6.3