Crossfire Server, Trunk
|
#include <CREPixmap.h>
Static Public Member Functions | |
static void | clearFaceCache () |
static QIcon | getIcon (const Face *face) |
static QIcon | getIcon (uint16_t faceNumber) |
static QIcon | getTreasureIcon () |
static QIcon | getTreasureNoIcon () |
static QIcon | getTreasureOneIcon () |
static QIcon | getTreasureYesIcon () |
static void | init () |
static void | setFaceset (const QString &prefix) |
static void | setUseFacesetFallback (bool use) |
Static Public Attributes | |
static face_sets * | faceset |
Static Protected Member Functions | |
static QIcon | getIcon (const face_sets *faceset, uint16_t faceNumber) |
Static Protected Attributes | |
static QHash< uint16_t, QIcon > | allFaces |
static QIcon * | myTreasureIcon |
static QIcon * | myTreasureNoIcon |
static QIcon * | myTreasureOneIcon |
static QIcon * | myTreasureYesIcon |
static bool | myUseFaceFallback = true |
Definition at line 20 of file CREPixmap.h.
|
static |
Definition at line 60 of file CREPixmap.cpp.
References allFaces.
Referenced by CREMainWindow::onToolReloadAssets().
|
static |
Definition at line 70 of file CREPixmap.cpp.
References faceset, getIcon(), and Face::number.
|
staticprotected |
Definition at line 77 of file CREPixmap.cpp.
References allFaces, face_sets::allocated, face_info::data, face_info::datalen, face_sets::faces, faceset, face_sets::fallback, getIcon(), myUseFaceFallback, and uchar.
|
static |
Definition at line 65 of file CREPixmap.cpp.
References faceset.
Referenced by ArchetypeComboBox::ArchetypeComboBox(), CREUtils::archetypeNode(), AnimationWrapper::displayIcon(), FaceWrapper::displayIcon(), ArtifactWrapper::displayIcon(), ArchetypeWrapper::displayIcon(), GeneralMessageWrapper::displayIcon(), RecipeWrapper::displayIcon(), TreasureWrapper::displayIcon(), QuestWrapper::displayIcon(), FaceComboBox::FaceComboBox(), CREUtils::faceNode(), getIcon(), ArchetypesModel::headerData(), CRESmoothFaceMaker::makeSmooth(), CREUtils::objectNode(), CREMainWindow::onReportArchetypes(), AnimationWidget::paintEvent(), QuestComboBox::QuestComboBox(), and CREMapPanel::updateItem().
|
static |
Definition at line 102 of file CREPixmap.cpp.
References myTreasureIcon.
Referenced by TreasureListWrapper::displayIcon(), TreasureWrapper::displayIcon(), and TreasureListComboBox::TreasureListComboBox().
|
static |
Definition at line 120 of file CREPixmap.cpp.
References myTreasureNoIcon.
Referenced by TreasureYesNo::displayIcon().
|
static |
Definition at line 108 of file CREPixmap.cpp.
References myTreasureOneIcon.
Referenced by TreasureListWrapper::displayIcon(), TreasureWrapper::displayIcon(), and TreasureListComboBox::TreasureListComboBox().
|
static |
Definition at line 114 of file CREPixmap.cpp.
References myTreasureYesIcon.
Referenced by TreasureYesNo::displayIcon().
|
static |
Definition at line 32 of file CREPixmap.cpp.
References faceset, AssetsManager::facesets(), AssetsCollection< T, Key >::get(), getManager(), myTreasureIcon, myTreasureNoIcon, myTreasureOneIcon, myTreasureYesIcon, myUseFaceFallback, and settings.
Referenced by CREMainWindow::CREMainWindow(), and main().
|
static |
Definition at line 44 of file CREPixmap.cpp.
References allFaces, faceset, AssetsManager::facesets(), AssetsCollection< T, Key >::get(), getManager(), castle_read::prefix, and settings.
Referenced by CREMainWindow::onToolFaceset().
|
static |
Definition at line 52 of file CREPixmap.cpp.
References allFaces, myUseFaceFallback, and settings.
Referenced by CREMainWindow::onToolFacesetUseFallback().
|
staticprotected |
Definition at line 41 of file CREPixmap.h.
Referenced by clearFaceCache(), getIcon(), setFaceset(), and setUseFacesetFallback().
|
static |
Definition at line 25 of file CREPixmap.h.
Referenced by getIcon(), init(), FaceMakerDialog::makeFaces(), and setFaceset().
|
staticprotected |
Definition at line 42 of file CREPixmap.h.
Referenced by getTreasureIcon(), and init().
|
staticprotected |
Definition at line 45 of file CREPixmap.h.
Referenced by getTreasureNoIcon(), and init().
|
staticprotected |
Definition at line 43 of file CREPixmap.h.
Referenced by getTreasureOneIcon(), and init().
|
staticprotected |
Definition at line 44 of file CREPixmap.h.
Referenced by getTreasureYesIcon(), and init().
|
staticprotected |
Definition at line 46 of file CREPixmap.h.
Referenced by getIcon(), init(), and setUseFacesetFallback().