Volume bar does stuff now! It will stay in sync with the volume from your system.
This commit is contained in:
parent
4318215dbb
commit
c4b32b5692
4 changed files with 74 additions and 9 deletions
|
@ -20,6 +20,7 @@ class VolButton : public PixWidget
|
|||
|
||||
public slots:
|
||||
void setPixmaps (Skin *skin);
|
||||
void setVolume (uint volume_base100);
|
||||
|
||||
private:
|
||||
void changePixmap (bool pressed);
|
||||
|
@ -43,10 +44,10 @@ class VolumeSlider : public PixWidget
|
|||
void mouseReleaseEvent (QMouseEvent *);
|
||||
|
||||
uint getVolume (void) { return m_volume_base100; };
|
||||
void setVolume (uint volume_base100);
|
||||
|
||||
public slots:
|
||||
void setPixmaps (Skin *skin);
|
||||
void setVolume (uint volume_base100);
|
||||
|
||||
private:
|
||||
void drawPixmaps ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue