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/spanbar.h
2024-09-24 14:54:57 +02:00

32 lines
624 B
C++

#ifndef _SPANBAR_H
#define _SPANBAR_H
#include "pslider.h"
#include <api/syscb/callbacks/corecbi.h>
#define SPANBAR_PARENT PSliderWnd
#define SPANBAR_XMLPARENT PSliderWnd
class SPanBar : public SPANBAR_PARENT, public CoreCallbackI {
public:
SPanBar();
virtual ~SPanBar();
virtual int onInit();
virtual void lock();
virtual void unlock();
protected:
int locked;
virtual int onSetPosition();
virtual int corecb_onPanChange(int newpan);
};
extern const wchar_t panBarXuiStr[];
extern char panBarXuiSvcName[];
class PanBarXuiSvc : public XuiObjectSvc<SPanBar, panBarXuiStr, panBarXuiSvcName> {};
#endif