Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
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.
 
void removeExternalImgRenderer (ImgRenderer *ir)
 Remove a previously added additional ImgRenderer.
 
- 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 784 of file style.hh.

Constructor & Destructor Documentation

◆ StyleImage()

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

◆ ~StyleImage()

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

Member Function Documentation

◆ create()

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

Definition at line 873 of file style.hh.

References StyleImage().

Referenced by StyleEngine::apply(), and main().

◆ getImgbufSrc()

◆ getImgbufTiled()

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

Definition at line 880 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 886 of file style.hh.

References imgRendererDist.

Referenced by StyleEngine::apply(), imageDrawTimeout(), and imageInitTimeout().

◆ getTilesX()

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

Definition at line 882 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 884 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 875 of file style.hh.

References refCount.

Referenced by dw::core::Layout::setBgImage(), and dw::core::style::Style::Style().

◆ removeExternalImgRenderer()

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

◆ unref()

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

Member Data Documentation

◆ imgbufSrc

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

◆ imgbufTiled

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

◆ imgRendererDist

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

◆ refCount

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

Definition at line 801 of file style.hh.

Referenced by ref(), StyleImage(), and unref().

◆ styleImgRenderer

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

Definition at line 804 of file style.hh.

Referenced by StyleImage(), and ~StyleImage().

◆ tilesX

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

◆ tilesY

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

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