Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/skin/widgets/svolbar.h
2024-09-24 14:54:57 +02:00

30 lines
617 B
C++

#ifndef _SVOLBAR_H
#define _SVOLBAR_H
#include "pslider.h"
#include <api/syscb/callbacks/corecbi.h>
#define SVOLBAR_PARENT PSliderWnd
#define SVOLBAR_XMLPARENT PSliderWnd
class SVolBar : public SVOLBAR_PARENT, public CoreCallbackI {
public:
SVolBar();
virtual ~SVolBar();
virtual int onInit();
virtual void lock();
virtual void unlock();
protected:
int locked;
virtual int onSetPosition();
virtual int corecb_onVolumeChange(int newvol);
};
extern const wchar_t volBarXuiStr[];
extern char volBarXuiSvcName[];
class VolBarXuiSvc : public XuiObjectSvc<SVolBar, volBarXuiStr, volBarXuiSvcName> {};
#endif