aboutsummaryrefslogtreecommitdiff
path: root/src/ui/volumebar.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/volumebar.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/volumebar.h')
-rw-r--r--src/ui/volumebar.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/ui/volumebar.h b/src/ui/volumebar.h
index 45fb84321..21b577cf3 100644
--- a/src/ui/volumebar.h
+++ b/src/ui/volumebar.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006 by Ilya Kotov *
+ * Copyright (C) 2006-2009 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -22,13 +22,12 @@
#include "pixmapwidget.h"
-/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
-*/
-
class Skin;
class MainWindow;
+/**
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+*/
class VolumeBar : public PixmapWidget
{
Q_OBJECT
@@ -37,8 +36,14 @@ public:
~VolumeBar();
- int value() { return m_value; };
- int isPressed() {return m_moving; }
+ int value()
+ {
+ return m_value;
+ }
+ int isPressed()
+ {
+ return m_moving;
+ }
public slots:
void setValue(int);
@@ -64,8 +69,6 @@ protected:
void mousePressEvent(QMouseEvent*);
void mouseReleaseEvent(QMouseEvent*);
void mouseMoveEvent(QMouseEvent*);
-
-
};
#endif