Crossfire Server, Trunk  R22047
CREPixmap Class Reference

#include <CREPixmap.h>

+ Collaboration diagram for CREPixmap:

Static Public Member Functions

static QIcon getIcon (int faceNumber)
 
static QIcon getTreasureIcon ()
 
static QIcon getTreasureNoIcon ()
 
static QIcon getTreasureOneIcon ()
 
static QIcon getTreasureYesIcon ()
 
static void init ()
 

Static Public Attributes

static face_setsfaceset
 

Static Protected Attributes

static QHash< int, QIcon > allFaces
 
static QIcon * myTreasureIcon
 
static QIcon * myTreasureNoIcon
 
static QIcon * myTreasureOneIcon
 
static QIcon * myTreasureYesIcon
 

Detailed Description

Definition at line 6 of file CREPixmap.h.

Member Function Documentation

◆ getIcon()

◆ getTreasureIcon()

QIcon CREPixmap::getTreasureIcon ( )
static

Definition at line 48 of file CREPixmap.cpp.

References myTreasureIcon.

Referenced by CREUtils::treasureNode().

+ Here is the caller graph for this function:

◆ getTreasureNoIcon()

QIcon CREPixmap::getTreasureNoIcon ( )
static

Definition at line 66 of file CREPixmap.cpp.

References myTreasureNoIcon.

Referenced by CREUtils::treasureNode().

+ Here is the caller graph for this function:

◆ getTreasureOneIcon()

QIcon CREPixmap::getTreasureOneIcon ( )
static

Definition at line 54 of file CREPixmap.cpp.

References myTreasureOneIcon.

Referenced by CREUtils::treasureNode().

+ Here is the caller graph for this function:

◆ getTreasureYesIcon()

QIcon CREPixmap::getTreasureYesIcon ( )
static

Definition at line 60 of file CREPixmap.cpp.

References myTreasureYesIcon.

Referenced by CREUtils::treasureNode().

+ Here is the caller graph for this function:

◆ init()

void CREPixmap::init ( )
static

Definition at line 20 of file CREPixmap.cpp.

References faceset, AssetsManager::facesets(), AssetsCollection< T, Key >::get(), getManager(), myTreasureIcon, myTreasureNoIcon, myTreasureOneIcon, and myTreasureYesIcon.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ allFaces

QHash< int, QIcon > CREPixmap::allFaces
staticprotected

Definition at line 20 of file CREPixmap.h.

Referenced by getIcon().

◆ faceset

face_sets * CREPixmap::faceset
static

Definition at line 11 of file CREPixmap.h.

Referenced by getIcon(), init(), and FaceMakerDialog::makeFaces().

◆ myTreasureIcon

QIcon * CREPixmap::myTreasureIcon
staticprotected

Definition at line 21 of file CREPixmap.h.

Referenced by getTreasureIcon(), and init().

◆ myTreasureNoIcon

QIcon * CREPixmap::myTreasureNoIcon
staticprotected

Definition at line 24 of file CREPixmap.h.

Referenced by getTreasureNoIcon(), and init().

◆ myTreasureOneIcon

QIcon * CREPixmap::myTreasureOneIcon
staticprotected

Definition at line 22 of file CREPixmap.h.

Referenced by getTreasureOneIcon(), and init().

◆ myTreasureYesIcon

QIcon * CREPixmap::myTreasureYesIcon
staticprotected

Definition at line 23 of file CREPixmap.h.

Referenced by getTreasureYesIcon(), and init().


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