LibKmahjongg
8 #ifndef KMAHJONGGTILESET_H
9 #define KMAHJONGGTILESET_H
18 #include <libkmahjongg_export.h>
20 class KMahjonggTilesetPrivate;
33 bool loadTileset(
const QString & tilesetPath);
35 bool reloadTileset(
const QSize & newTilesize);
36 QSize preferredTileSize(
const QSize & boardsize,
int horizontalCells,
int verticalCells);
41 short levelOffsetX()
const;
42 short levelOffsetY()
const;
44 short qHeight()
const;
48 QPixmap unselectedTile(
int num);
52 void updateScaleInfo(
short tilew,
short tileh);
53 void buildElementIdTable(
void);
55 QPixmap renderElement(
short width,
short height,
const QString & elementid);
59 friend class KMahjonggTilesetPrivate;
60 std::unique_ptr<KMahjonggTilesetPrivate>
const d;
65 #endif // KMAHJONGGTILESET_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:09:42 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.