Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cWindow Class Reference

#include <osdbase.h>

Inheritance diagram for cWindow:

Inheritance graph
[legend]
Collaboration diagram for cWindow:

Collaboration graph
[legend]

Detailed Description

Window attributes.

Definition at line 142 of file osdbase.h.

Public Methods

 cWindow (int Handle, int x, int y, int w, int h, int Bpp, bool ClearWithBackground, bool Tiled)
int X0 (void)
int Y0 (void)
int Bpp (void)
bool Tiled (void)
bool Shown (void)
int Handle (void)
bool Contains (int x, int y)
void Relocate (int x, int y)
void Fill (int x1, int y1, int x2, int y2, eDvbColor Color)
void SetBitmap (int x, int y, const cBitmap &Bitmap)
void Text (int x, int y, const char *s, eDvbColor ColorFg=clrWhite, eDvbColor ColorBg=clrBackground)
const char * Data (int x, int y)

Private Attributes

int handle
 the index within the OSD's window array (0...MAXNUMWINDOWS - 1)

int x0
 horizontal und vertical coordinates for window

int y0
 horizontal und vertical coordinates for window

int bpp
bool tiled
bool shown


Constructor & Destructor Documentation

cWindow::cWindow int    Handle,
int    x,
int    y,
int    w,
int    h,
int    Bpp,
bool    ClearWithBackground,
bool    Tiled
 

--- cWindow ---------------------------------------------------------------

Definition at line 285 of file osdbase.c.

References bpp, handle, shown, Tiled(), tiled, x0, and y0.


Member Function Documentation

int cWindow::Bpp void    [inline]
 

Definition at line 157 of file osdbase.h.

Referenced by cDvbOsd::OpenWindow(), and cOsdBase::Relocate().

bool cWindow::Contains int    x,
int    y
 

Definition at line 296 of file osdbase.c.

References cBitmap::height, cBitmap::width, x0, and y0.

Referenced by cOsdBase::GetWindow().

const char * cWindow::Data int    x,
int    y
 

Reimplemented from cBitmap.

Definition at line 338 of file osdbase.c.

References cBitmap::Data().

Referenced by cDvbOsd::CommitWindow().

void cWindow::Fill int    x1,
int    y1,
int    x2,
int    y2,
eDvbColor    Color
 

Reimplemented from cBitmap.

Definition at line 309 of file osdbase.c.

References cBitmap::Fill(), x0, and y0.

Referenced by cOsdBase::Fill().

int cWindow::Handle void    [inline]
 

Definition at line 160 of file osdbase.h.

Referenced by cOsdBase::Create(), cOsdBase::Relocate(), and cDvbOsd::SetWindow().

void cWindow::Relocate int    x,
int    y
 

Definition at line 303 of file osdbase.c.

References x0, and y0.

Referenced by cOsdBase::Relocate().

void cWindow::SetBitmap int    x,
int    y,
const cBitmap   Bitmap
 

Reimplemented from cBitmap.

Definition at line 320 of file osdbase.c.

References cBitmap::SetBitmap(), x0, and y0.

Referenced by cOsdBase::SetBitmap().

bool cWindow::Shown void    [inline]
 

Definition at line 159 of file osdbase.h.

Referenced by cOsdBase::Flush().

void cWindow::Text int    x,
int    y,
const char *    s,
eDvbColor    ColorFg = clrWhite,
eDvbColor    ColorBg = clrBackground
 

Reimplemented from cBitmap.

Definition at line 329 of file osdbase.c.

References cBitmap::Text(), x0, and y0.

Referenced by cOsdBase::Text().

bool cWindow::Tiled void    [inline]
 

Definition at line 158 of file osdbase.h.

Referenced by cOsdBase::Clear(), cWindow(), cOsdBase::GetWindow(), and cOsdBase::Relocate().

int cWindow::X0 void    [inline]
 

Definition at line 155 of file osdbase.h.

Referenced by cDvbOsd::OpenWindow(), and cDvbOsd::ShowWindow().

int cWindow::Y0 void    [inline]
 

Definition at line 156 of file osdbase.h.

Referenced by cDvbOsd::OpenWindow(), and cDvbOsd::ShowWindow().


Field Documentation

int cWindow::bpp [private]
 

Definition at line 150 of file osdbase.h.

Referenced by cWindow().

int cWindow::handle [private]
 

the index within the OSD's window array (0...MAXNUMWINDOWS - 1)

Definition at line 146 of file osdbase.h.

Referenced by cWindow().

bool cWindow::shown [private]
 

Definition at line 152 of file osdbase.h.

Referenced by cWindow().

bool cWindow::tiled [private]
 

Definition at line 151 of file osdbase.h.

Referenced by cWindow().

int cWindow::x0 [private]
 

horizontal und vertical coordinates for window

Definition at line 149 of file osdbase.h.

Referenced by Contains(), cWindow(), Fill(), Relocate(), SetBitmap(), and Text().

int cWindow::y0 [private]
 

horizontal und vertical coordinates for window

Definition at line 149 of file osdbase.h.

Referenced by Contains(), cWindow(), Fill(), Relocate(), SetBitmap(), and Text().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:32:02 2003 for VDR by doxygen1.3-rc2