2
jumpslider for winamp skins
3
Copyright (C) 1998 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
14
#include <waVolumeSlider.h>
17
WaVolumeSlider::WaVolumeSlider() : WaWidget(_WA_MAPPING_VOLUME_BAR)
23
WaVolumeSlider::~WaVolumeSlider()
28
void WaVolumeSlider::buildGui()
30
ws = new WaSlider(_WA_MAPPING_VOLUME_BAR, _WA_MAPPING_VOLUME_SLIDER, true);
32
ws->setPixmapSliderButtonUp(_WA_SKIN_VOLUME_SLIDER_NORM);
33
ws->setPixmapSliderButtonDown(_WA_SKIN_VOLUME_SLIDER_PRES);
34
ws->setPixmapSliderBar(_WA_SKIN_VOLUME_BAR);
36
connect(ws, SIGNAL(valueChanged(int)), this,
37
SIGNAL(volumeSetValue(int)));
38
connect(ws, SIGNAL(sliderPressed()), SIGNAL(sliderPressed()));
39
connect(ws, SIGNAL(sliderReleased()), SIGNAL(sliderReleased()));
42
void WaVolumeSlider::setVolumeValue(int val)
44
int currVal = ws->value();
51
#include "waVolumeSlider.moc"