openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eWindowStyleSkinned Class Reference

#include <ewindowstyleskinned.h>

Inheritance diagram for eWindowStyleSkinned:
eWindowStyle eWindowStyle_ENUMS iObject

Public Types

enum  { bsWindow , bsButton , bsListboxEntry , bsMax }
 
enum  {
  bpTopLeft = 1 , bpTop = 2 , bpTopRight = 4 , bpLeft = 8 ,
  bpBackground = 0x10 , bpRight = 0x20 , bpBottomLeft = 0x40 , bpBottom = 0x80 ,
  bpBottomRight = 0x100 , bpAll = 0x1ff , bpMax = 0x200
}
 
enum  {
  bpiTopLeft = 0 , bpiTop = 1 , bpiTopRight = 2 , bpiLeft = 3 ,
  bpiBackground = 4 , bpiRight = 5 , bpiBottomLeft = 6 , bpiBottom = 7 ,
  bpiBottomRight = 8
}
 
enum  {
  colBackground , colForeground , colListboxBackground , colListboxForeground ,
  colListboxBackgroundSelected , colListboxForegroundSelected , colListboxBackgroundMarked , colListboxForegroundMarked ,
  colListboxBackgroundMarkedSelected , colListboxForegroundMarkedSelected , colWindowTitleForeground , colWindowTitleBackground ,
  colScrollbarForeground , colScrollbarBackground , colScrollbarBorder , colSliderForeground ,
  colSliderBackground , colSliderBorder , colMax
}
 
- Public Types inherited from eWindowStyle_ENUMS
enum  {
  styleLabel , styleListboxSelected , styleListboxNormal , styleListboxMarked ,
  styleListboxMarkedAndSelected , styleScollbar , styleScollbarBorder , styleSlider ,
  styleSliderBorder
}
 
enum  { frameButton , frameListboxEntry }
 
enum  {
  fontStatic , fontButton , fontTitlebar , fontListbox ,
  fontEntry , fontValue
}
 

Public Member Functions

 eWindowStyleSkinned ()
 
void handleNewSize (eWindow *wnd, eSize &size, eSize &offset)
 
void paintWindowDecoration (eWindow *wnd, gPainter &painter, const std::string &title)
 
void paintBackground (gPainter &painter, const ePoint &offset, const eSize &size)
 
void drawFrame (gPainter &painter, const eRect &frame, int what)
 
RESULT getFont (int what, ePtr< gFont > &font)
 
void setStyle (gPainter &painter, int what)
 
void setPixmap (int bs, int bp, ePtr< gPixmap > &pixmap)
 
void setPixmap (int bs, int bp, gPixmap &pixmap)
 
void setColor (int what, const gRGB &back)
 
void setTitleOffset (const eSize &offset)
 
void setTitleFont (gFont *fnt)
 
void setLabelFont (gFont *fnt)
 
void setListboxFont (gFont *fnt)
 
void setEntryFont (gFont *fnt)
 
void setValueFont (gFont *fnt)
 
- Public Member Functions inherited from eWindowStyle
virtual ~eWindowStyle ()=0
 
- Public Member Functions inherited from iObject
void operator delete (void *p)
 
virtual void AddRef ()=0
 
virtual void Release ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from iObject
virtual ~iObject ()
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
bsWindow 
bsButton 
bsListboxEntry 
bsMax 

◆ anonymous enum

anonymous enum
Enumerator
bpTopLeft 
bpTop 
bpTopRight 
bpLeft 
bpBackground 
bpRight 
bpBottomLeft 
bpBottom 
bpBottomRight 
bpAll 
bpMax 

◆ anonymous enum

anonymous enum
Enumerator
bpiTopLeft 
bpiTop 
bpiTopRight 
bpiLeft 
bpiBackground 
bpiRight 
bpiBottomLeft 
bpiBottom 
bpiBottomRight 

◆ anonymous enum

anonymous enum
Enumerator
colBackground 
colForeground 
colListboxBackground 
colListboxForeground 
colListboxBackgroundSelected 
colListboxForegroundSelected 
colListboxBackgroundMarked 
colListboxForegroundMarked 
colListboxBackgroundMarkedSelected 
colListboxForegroundMarkedSelected 
colWindowTitleForeground 
colWindowTitleBackground 
colScrollbarForeground 
colScrollbarBackground 
colScrollbarBorder 
colSliderForeground 
colSliderBackground 
colSliderBorder 
colMax 

Constructor & Destructor Documentation

◆ eWindowStyleSkinned()

eWindowStyleSkinned::eWindowStyleSkinned ( )

Member Function Documentation

◆ drawFrame()

void eWindowStyleSkinned::drawFrame ( gPainter painter,
const eRect frame,
int  what 
)
virtual

Implements eWindowStyle.

◆ getFont()

RESULT eWindowStyleSkinned::getFont ( int  what,
ePtr< gFont > &  font 
)
virtual

Implements eWindowStyle.

◆ handleNewSize()

void eWindowStyleSkinned::handleNewSize ( eWindow wnd,
eSize size,
eSize offset 
)
virtual

Implements eWindowStyle.

◆ paintBackground()

void eWindowStyleSkinned::paintBackground ( gPainter painter,
const ePoint offset,
const eSize size 
)
virtual

Implements eWindowStyle.

◆ paintWindowDecoration()

void eWindowStyleSkinned::paintWindowDecoration ( eWindow wnd,
gPainter painter,
const std::string &  title 
)
virtual

Implements eWindowStyle.

◆ setColor()

void eWindowStyleSkinned::setColor ( int  what,
const gRGB back 
)

◆ setEntryFont()

void eWindowStyleSkinned::setEntryFont ( gFont fnt)

◆ setLabelFont()

void eWindowStyleSkinned::setLabelFont ( gFont fnt)

◆ setListboxFont()

void eWindowStyleSkinned::setListboxFont ( gFont fnt)

◆ setPixmap() [1/2]

void eWindowStyleSkinned::setPixmap ( int  bs,
int  bp,
ePtr< gPixmap > &  pixmap 
)

◆ setPixmap() [2/2]

void eWindowStyleSkinned::setPixmap ( int  bs,
int  bp,
gPixmap pixmap 
)

◆ setStyle()

void eWindowStyleSkinned::setStyle ( gPainter painter,
int  what 
)
virtual

Implements eWindowStyle.

◆ setTitleFont()

void eWindowStyleSkinned::setTitleFont ( gFont fnt)

◆ setTitleOffset()

void eWindowStyleSkinned::setTitleOffset ( const eSize offset)

◆ setValueFont()

void eWindowStyleSkinned::setValueFont ( gFont fnt)

The documentation for this class was generated from the following files: