libkmahjongg
Go to the documentation of this file.
20 #ifndef _KMAHJONGGTILESET_H_
21 #define _KMAHJONGGTILESET_H_
23 #include <QtCore/QString>
24 #include <QtGui/QPixmap>
28 class KMahjonggTilesetPrivate;
36 bool loadTileset(
const QString & tilesetPath);
38 bool reloadTileset(
const QSize & newTilesize);
39 QSize preferredTileSize(
const QSize & boardsize,
int horizontalCells,
int verticalCells);
44 short levelOffsetX()
const;
45 short levelOffsetY()
const;
47 short qHeight()
const;
51 QPixmap unselectedTile(
int num);
55 void updateScaleInfo(
short tilew,
short tileh);
56 void buildElementIdTable(
void);
58 QPixmap renderElement(
short width,
short height,
const QString & elementid);
62 friend class KMahjonggTilesetPrivate;
63 KMahjonggTilesetPrivate *
const d;
#define KMAHJONGGLIB_EXPORT
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:58 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.