dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dw::core::style::StyleImage Class Reference

#include <style.hh>

Inheritance diagram for dw::core::style::StyleImage:
[legend]
Collaboration diagram for dw::core::style::StyleImage:
[legend]

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
 

Detailed Description

Definition at line 740 of file style.hh.

Constructor & Destructor Documentation

◆ StyleImage()

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

Definition at line 567 of file style.cc.

References DBG_OBJ_CREATE.

Referenced by create().

◆ ~StyleImage()

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

Definition at line 580 of file style.cc.

References DBG_OBJ_DELETE.

Member Function Documentation

◆ create()

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

Definition at line 829 of file style.hh.

References StyleImage().

◆ getImgbufSrc()

◆ getImgbufTiled()

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

Definition at line 836 of file style.hh.

References imgbufSrc, and imgbufTiled.

Referenced by dw::core::style::drawBackgroundImage().

◆ getMainImgRenderer()

ImgRenderer* dw::core::style::StyleImage::getMainImgRenderer ( )
inline

Definition at line 842 of file style.hh.

References imgRendererDist.

Referenced by StyleEngine::apply().

◆ getTilesX()

int dw::core::style::StyleImage::getTilesX ( bool  repeatX,
bool  repeatY 
)
inline

Definition at line 838 of file style.hh.

References imgbufTiled, and tilesX.

Referenced by dw::core::style::drawBackgroundImage().

◆ getTilesY()

int dw::core::style::StyleImage::getTilesY ( bool  repeatX,
bool  repeatY 
)
inline

Definition at line 840 of file style.hh.

References imgbufTiled, and tilesY.

Referenced by dw::core::style::drawBackgroundImage().

◆ putExternalImgRenderer()

void dw::core::style::StyleImage::putExternalImgRenderer ( ImgRenderer ir)
inline

◆ ref()

void dw::core::style::StyleImage::ref ( )
inline

Definition at line 831 of file style.hh.

References refCount.

Referenced by dw::core::Layout::setBgImage().

◆ removeExternalImgRenderer()

void dw::core::style::StyleImage::removeExternalImgRenderer ( ImgRenderer ir)
inline

◆ unref()

void dw::core::style::StyleImage::unref ( )
inline

Definition at line 832 of file style.hh.

References refCount.

Referenced by dw::core::Layout::setBgImage().

Member Data Documentation

◆ imgbufSrc

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

Definition at line 758 of file style.hh.

Referenced by getImgbufSrc(), and getImgbufTiled().

◆ imgbufTiled

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

Definition at line 758 of file style.hh.

Referenced by getImgbufTiled(), getTilesX(), and getTilesY().

◆ imgRendererDist

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

Definition at line 759 of file style.hh.

Referenced by getMainImgRenderer(), putExternalImgRenderer(), and removeExternalImgRenderer().

◆ refCount

int dw::core::style::StyleImage::refCount
private

Definition at line 757 of file style.hh.

Referenced by ref(), and unref().

◆ styleImgRenderer

StyleImgRenderer* dw::core::style::StyleImage::styleImgRenderer
private

Definition at line 760 of file style.hh.

◆ tilesX

int dw::core::style::StyleImage::tilesX
private

Definition at line 757 of file style.hh.

Referenced by getTilesX().

◆ tilesY

int dw::core::style::StyleImage::tilesY
private

Definition at line 757 of file style.hh.

Referenced by getTilesY().


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