openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eLCD Class Referenceabstract

#include <lcd.h>

Inheritance diagram for eLCD:
eDBoxLCD eFbLCD

Public Member Functions

virtual int lock ()
 
virtual void unlock ()
 
virtual int islocked ()
 
virtual bool detected ()
 
virtual int setLCDContrast (int contrast)=0
 
virtual int setLCDBrightness (int brightness)=0
 
virtual int setLED (int value, int option)=0
 
virtual void setInverted (unsigned char)=0
 
virtual void setFlipped (bool)=0
 
virtual void setDump (bool)=0
 
virtual int waitVSync ()=0
 
virtual bool isOled () const =0
 
int getLcdType ()
 
virtual void setPalette (gUnmanagedSurface)=0
 
 eLCD ()
 
virtual ~eLCD ()
 
uint8_t * buffer ()
 
int stride ()
 
virtual eSize size ()
 
virtual void update ()=0
 

Static Public Member Functions

static eLCDgetInstance ()
 

Protected Member Functions

void setSize (int xres, int yres, int bpp)
 

Protected Attributes

eSize res
 
int lcd_type
 
unsigned char * _buffer
 
int lcdfd
 
int _stride
 
int locked
 
char boxtype_name [20]
 

Static Protected Attributes

static eLCDinstance
 

Constructor & Destructor Documentation

◆ eLCD()

eLCD::eLCD ( )

◆ ~eLCD()

eLCD::~eLCD ( )
virtual

Member Function Documentation

◆ buffer()

uint8_t* eLCD::buffer ( )
inline

◆ detected()

virtual bool eLCD::detected ( )
inlinevirtual

Reimplemented in eFbLCD.

◆ getInstance()

eLCD * eLCD::getInstance ( )
static

◆ getLcdType()

int eLCD::getLcdType ( )
inline

◆ islocked()

virtual int eLCD::islocked ( )
inlinevirtual

Reimplemented in eFbLCD.

◆ isOled()

virtual bool eLCD::isOled ( ) const
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ lock()

int eLCD::lock ( )
virtual

Reimplemented in eFbLCD.

◆ setDump()

virtual void eLCD::setDump ( bool  )
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setFlipped()

virtual void eLCD::setFlipped ( bool  )
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setInverted()

virtual void eLCD::setInverted ( unsigned char  )
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setLCDBrightness()

virtual int eLCD::setLCDBrightness ( int  brightness)
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setLCDContrast()

virtual int eLCD::setLCDContrast ( int  contrast)
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setLED()

virtual int eLCD::setLED ( int  value,
int  option 
)
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setPalette()

virtual void eLCD::setPalette ( gUnmanagedSurface  )
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ setSize()

void eLCD::setSize ( int  xres,
int  yres,
int  bpp 
)
protected

◆ size()

virtual eSize eLCD::size ( )
inlinevirtual

Reimplemented in eFbLCD.

◆ stride()

int eLCD::stride ( )
inline

◆ unlock()

void eLCD::unlock ( )
virtual

Reimplemented in eFbLCD.

◆ update()

virtual void eLCD::update ( )
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

◆ waitVSync()

virtual int eLCD::waitVSync ( )
pure virtual

Implemented in eDBoxLCD, and eFbLCD.

Member Data Documentation

◆ _buffer

unsigned char* eLCD::_buffer
protected

◆ _stride

int eLCD::_stride
protected

◆ boxtype_name

char eLCD::boxtype_name[20]
protected

◆ instance

eLCD * eLCD::instance
staticprotected

◆ lcd_type

int eLCD::lcd_type
protected

◆ lcdfd

int eLCD::lcdfd
protected

◆ locked

int eLCD::locked
protected

◆ res

eSize eLCD::res
protected

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