summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/skin.cpp
authorsimon <simon>2002-12-11 12:10:41 (UTC)
committer simon <simon>2002-12-11 12:10:41 (UTC)
commit381de1a3cfcc32dd7c0350329413f55dd9de9bb8 (patch) (side-by-side diff)
treea60ebc3af59e5d7c55c773a10652d86a709dafea /noncore/multimedia/opieplayer2/skin.cpp
parent882ddb046c81bdee5eeca59fde7ec458ae522dc7 (diff)
downloadopie-381de1a3cfcc32dd7c0350329413f55dd9de9bb8.zip
opie-381de1a3cfcc32dd7c0350329413f55dd9de9bb8.tar.gz
opie-381de1a3cfcc32dd7c0350329413f55dd9de9bb8.tar.bz2
- more image loading functionality moved to the Skin class
Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/skin.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.cpp b/noncore/multimedia/opieplayer2/skin.cpp
index 097b29a..352368f 100644
--- a/noncore/multimedia/opieplayer2/skin.cpp
+++ b/noncore/multimedia/opieplayer2/skin.cpp
@@ -14,5 +14,15 @@ QImage Skin::backgroundImage() const
return QImage( Resource::findPixmap( QString( "%1/background" ).arg( m_skinPath ) ) );
}
+QImage Skin::buttonUpImage() const
+{
+ return QImage( Resource::findPixmap( QString( "%1/skin%2_up" ).arg( m_skinPath ).arg( m_fileNameInfix ) ) );
+}
+
+QImage Skin::buttonDownImage() const
+{
+ return QImage( Resource::findPixmap( QString( "%1/skin%2_down" ).arg( m_skinPath ).arg( m_fileNameInfix ) ) );
+}
+
/* vim: et sw=4 ts=4
*/