Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

PieceImageLayer Class Reference

This class represents one layer used to construct a piece image. More...

#include <piece_image_layer.h>

List of all members.

Public Methods

 PieceImageLayer (QDomElement const &dom_element)
QImage createImage (int size) const
bool operator== (PieceImageLayer const &other_layer) const

Private Attributes

QRgb m_color
QString m_image
PieceImageEffect m_effect

Detailed Description

This class represents one layer used to construct a piece image.

Ralf Schmelter (

Constructor & Destructor Documentation

PieceImageLayer::PieceImageLayer QDomElement const & dom_element

Reads a image layer from a dom element.

dom_element   The dom element to use.

Member Function Documentation

QImage PieceImageLayer::createImage int size const

Returns the image.

size   The size of the overall piece image.

bool PieceImageLayer::operator== PieceImageLayer const & other_layer const

Returns true, if the two layers are equal.

other_layer   The other layer.

Member Data Documentation

QRgb PieceImageLayer::m_color [private]

The background color.

PieceImageEffect PieceImageLayer::m_effect [private]

The image effect.

QString PieceImageLayer::m_image [private]

The filename of the image to use.

The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:12 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001