aboutsummaryrefslogtreecommitdiff
path: root/src/ui/playlisttitlebar.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-11-03 21:34:57 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-11-03 21:34:57 +0000
commit97c98d9d52c60bce1e70eb55dd807a21cbe32f04 (patch)
treec57ee489faeb2c6b7eb4e5b2e05fcbb80b5df228 /src/ui/playlisttitlebar.h
parentee34c25e1f1e225d2527574abf2980afea9adf7d (diff)
downloadqmmp-97c98d9d52c60bce1e70eb55dd807a21cbe32f04.tar.gz
qmmp-97c98d9d52c60bce1e70eb55dd807a21cbe32f04.tar.bz2
qmmp-97c98d9d52c60bce1e70eb55dd807a21cbe32f04.zip
added double size mode
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1353 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/playlisttitlebar.h')
-rw-r--r--src/ui/playlisttitlebar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/playlisttitlebar.h b/src/ui/playlisttitlebar.h
index c82df5ad3..3762db61c 100644
--- a/src/ui/playlisttitlebar.h
+++ b/src/ui/playlisttitlebar.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007 by Ilya Kotov *
+ * Copyright (C) 2007-2009 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -52,8 +52,8 @@ private slots:
void shade();
private:
- void drawPixmap(int);
- void truncate();
+ void updatePositions();
+ void updatePixmap();
Skin *m_skin;
QPoint pos;
bool m_active;
@@ -65,6 +65,7 @@ private:
bool m_shaded;
bool m_align, m_resize;
int m_height;
+ int m_ratio;
PlayListModel* m_model;
QString m_text;
QString m_truncatedText;