summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/skin.h
authorsimon <simon>2002-12-11 12:04:54 (UTC)
committer simon <simon>2002-12-11 12:04:54 (UTC)
commit882ddb046c81bdee5eeca59fde7ec458ae522dc7 (patch) (side-by-side diff)
treeb51292ac603f7ec41501c707a868dd462937224f /noncore/multimedia/opieplayer2/skin.h
parentd7b877a5532e6377f034514c89c0b45b96265471 (diff)
downloadopie-882ddb046c81bdee5eeca59fde7ec458ae522dc7.zip
opie-882ddb046c81bdee5eeca59fde7ec458ae522dc7.tar.gz
opie-882ddb046c81bdee5eeca59fde7ec458ae522dc7.tar.bz2
- starting to factor out the actual skin image loading into a separate
class
Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/skin.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.h b/noncore/multimedia/opieplayer2/skin.h
new file mode 100644
index 0000000..3c09e43
--- a/dev/null
+++ b/noncore/multimedia/opieplayer2/skin.h
@@ -0,0 +1,22 @@
+#ifndef SKIN_H
+#define SKIN_H
+
+#include <qstring.h>
+#include <qimage.h>
+
+class Skin
+{
+public:
+ Skin( const QString &name, const QString &fileNameInfix );
+
+ QImage backgroundImage() const;
+
+private:
+ QString m_name;
+ QString m_fileNameInfix;
+ QString m_skinPath;
+};
+
+#endif // SKIN_H
+/* vim: et sw=4 ts=4
+ */