From 1e7a7fdfdf6859e016cc715aace8d0ecb0e3a761 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 7 Nov 2007 18:03:14 +0000 Subject: added close buttons to equalizer and playlist git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@180 90c681e8-e032-0410-971d-27865f9a5e38 --- src/skin.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/skin.cpp') diff --git a/src/skin.cpp b/src/skin.cpp index 96957ce2f..135fa9372 100644 --- a/src/skin.cpp +++ b/src/skin.cpp @@ -264,6 +264,9 @@ void Skin::loadPlayList() buttons[PL_BT_SCROLL_N] = pixmap->copy ( 52,53,8,18 ); buttons[PL_BT_SCROLL_P] = pixmap->copy ( 61,53,8,18 ); + buttons[PL_BT_CLOSE_N] = pixmap->copy (167,3,9,9); + buttons[PL_BT_CLOSE_P] = pixmap->copy (52,42,9,9); + } QPixmap *Skin::getPixmap ( const QString& name ) @@ -360,6 +363,9 @@ void Skin::loadEqMain() buttons[ EQ_BT_AUTO_0_N ] = pixmap->copy ( 35, 119,33,12 ); buttons[ EQ_BT_AUTO_0_P ] = pixmap->copy ( 212,119,33,12 ); + buttons[ EQ_BT_CLOSE_N ] = pixmap->copy ( 0,116,9,9 ); + buttons[ EQ_BT_CLOSE_P ] = pixmap->copy ( 0,125,9,9 ); + for ( int i = 0; i < 19; ++i ) { m_eq_spline << pixmap->copy ( 115, 294+i, 1, 1 ); @@ -445,6 +451,9 @@ void Skin::loadShufRep() buttons[ BT_PL_OFF_N ] = pixmap->copy ( 23,61,23,12 ); buttons[ BT_PL_OFF_P ] = pixmap->copy ( 69,61,23,12 ); + //buttons[ BT_PL_CLOSE_N ] = pixmap->copy (); + //buttons[ BT_PL_CLOSE_P ] = pixmap->copy (); + buttons[REPEAT_ON_N] = pixmap->copy ( 0,30, 28, 15 ); buttons[REPEAT_ON_P] = pixmap->copy ( 0,45, 28, 15 ); -- cgit v1.2.3-13-gbd6f