1
0

spanbar.h 624 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _SPANBAR_H
  2. #define _SPANBAR_H
  3. #include "pslider.h"
  4. #include <api/syscb/callbacks/corecbi.h>
  5. #define SPANBAR_PARENT PSliderWnd
  6. #define SPANBAR_XMLPARENT PSliderWnd
  7. class SPanBar : public SPANBAR_PARENT, public CoreCallbackI {
  8. public:
  9. SPanBar();
  10. virtual ~SPanBar();
  11. virtual int onInit();
  12. virtual void lock();
  13. virtual void unlock();
  14. protected:
  15. int locked;
  16. virtual int onSetPosition();
  17. virtual int corecb_onPanChange(int newpan);
  18. };
  19. extern const wchar_t panBarXuiStr[];
  20. extern char panBarXuiSvcName[];
  21. class PanBarXuiSvc : public XuiObjectSvc<SPanBar, panBarXuiStr, panBarXuiSvcName> {};
  22. #endif