aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/listwidget.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-02-06 20:11:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-02-06 20:11:25 +0000
commit0f5577dce47ff1b801ab08ccd46fa3cafeeeaf54 (patch)
treef4a5a962ebb203085cb1b72223b41aae867cd0cd /src/plugins/Ui/skinned/listwidget.h
parent6dae6a05d3f92c87c729e39155c27d36a9117639 (diff)
downloadqmmp-0f5577dce47ff1b801ab08ccd46fa3cafeeeaf54.tar.gz
qmmp-0f5577dce47ff1b801ab08ccd46fa3cafeeeaf54.tar.bz2
qmmp-0f5577dce47ff1b801ab08ccd46fa3cafeeeaf54.zip
reduced paddings in the playlist
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4721 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/listwidget.h')
-rw-r--r--src/plugins/Ui/skinned/listwidget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/Ui/skinned/listwidget.h b/src/plugins/Ui/skinned/listwidget.h
index 378c610b0..5a95e7e42 100644
--- a/src/plugins/Ui/skinned/listwidget.h
+++ b/src/plugins/Ui/skinned/listwidget.h
@@ -49,6 +49,10 @@ struct ListWidgetRow
int number;
bool separator;
bool selected;
+ bool current;
+ //geometry
+ int bgY; //top of the background
+ int textY; //base line of the text
};
/**
@@ -111,8 +115,8 @@ private slots:
private:
void drawBackground(QPainter *painter, int i);
- void drawSeparator(QPainter *painter, int i, bool rtl);
- void drawTrack(QPainter *painter, int i, bool rtl);
+ void drawSeparator(QPainter *painter, ListWidgetRow *row, bool rtl);
+ void drawTrack(QPainter *painter, ListWidgetRow *row, bool rtl);
void loadColors();
bool m_update;