Dillo
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
dw::core::style::StyleImage Class Reference

#include <style.hh>

Classes

class  ExternalImgRenderer
 Useful (but not mandatory) base class for updates of areas with background images. More...
 
class  ExternalWidgetImgRenderer
 Suitable for widgets and parts of widgets. More...
 
class  StyleImgRenderer
 

Public Member Functions

void ref ()
 
void unref ()
 
ImgbufgetImgbufSrc ()
 
ImgbufgetImgbufTiled (bool repeatX, bool repeatY)
 
int getTilesX (bool repeatX, bool repeatY)
 
int getTilesY (bool repeatX, bool repeatY)
 
ImgRenderergetMainImgRenderer ()
 
void putExternalImgRenderer (ImgRenderer *ir)
 Add an additional ImgRenderer, especially used for drawing. More...
 
void removeExternalImgRenderer (ImgRenderer *ir)
 Remove a previously added additional ImgRenderer. More...
 
- Public Member Functions inherited from lout::signal::ObservedObject
virtual ~ObservedObject ()
 
void connectDeletion (DeletionReceiver *receiver)
 

Static Public Member Functions

static StyleImagecreate ()
 

Private Member Functions

 StyleImage ()
 
 ~StyleImage ()
 

Private Attributes

int refCount
 
int tilesX
 
int tilesY
 
ImgbufimgbufSrc
 
ImgbufimgbufTiled
 
ImgRendererDistimgRendererDist
 
StyleImgRendererstyleImgRenderer
 

Constructor & Destructor Documentation

dw::core::style::StyleImage::StyleImage ( )
private

References DBG_OBJ_CREATE.

Referenced by create().

dw::core::style::StyleImage::~StyleImage ( )
private

References DBG_OBJ_DELETE.

Member Function Documentation

static StyleImage* dw::core::style::StyleImage::create ( )
inlinestatic

References StyleImage().

Imgbuf* dw::core::style::StyleImage::getImgbufSrc ( )
inline
Imgbuf* dw::core::style::StyleImage::getImgbufTiled ( bool  repeatX,
bool  repeatY 
)
inline
ImgRenderer* dw::core::style::StyleImage::getMainImgRenderer ( )
inline

References imgRendererDist.

Referenced by imageDrawTimeout(), and imageInitTimeout().

int dw::core::style::StyleImage::getTilesX ( bool  repeatX,
bool  repeatY 
)
inline
int dw::core::style::StyleImage::getTilesY ( bool  repeatX,
bool  repeatY 
)
inline
void dw::core::style::StyleImage::putExternalImgRenderer ( ImgRenderer ir)
inline
void dw::core::style::StyleImage::ref ( )
inline
void dw::core::style::StyleImage::removeExternalImgRenderer ( ImgRenderer ir)
inline
void dw::core::style::StyleImage::unref ( )
inline

Member Data Documentation

Imgbuf* dw::core::style::StyleImage::imgbufSrc
private

Referenced by getImgbufSrc(), and getImgbufTiled().

Imgbuf * dw::core::style::StyleImage::imgbufTiled
private
ImgRendererDist* dw::core::style::StyleImage::imgRendererDist
private

Referenced by getMainImgRenderer().

int dw::core::style::StyleImage::refCount
private
StyleImgRenderer* dw::core::style::StyleImage::styleImgRenderer
private
int dw::core::style::StyleImage::tilesX
private
int dw::core::style::StyleImage::tilesY
private

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