blob: 6e7077d3d9c1fb80b3183c6beca3584ed6350964 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _MSLIDER_H
#define _MSLIDER_H
#include "layout.h"
#include "Slider.h"
class IMPEXPLIBLAYOUT MSlider: public MView, public BSlider
{
public:
MSlider(const char *label, int32 minval, int32 maxval,int32 granularity=1, BMessage *message=NULL, BHandler *target=NULL, thumb_style ts=B_BLOCK_THUMB);
virtual ~MSlider();
virtual void AllAttached();
virtual void DetachedFromWindow();
virtual void SetValue(int32 value);
void SetGranularity(int32 granul);
virtual minimax layoutprefs();
virtual BRect layout(BRect);
private:
virtual void _expansionmslider1();
virtual void _expansionmslider2();
BHandler *target;
int32 granularity;
uint32 _expansiondata[4];
};
#endif
|