00001 #ifndef _SLIDER_BASE_H_
00002 #define _SLIDER_BASE_H_
00003
00004 #include <nds.h>
00005
00006 namespace WoopsiUI {
00007
00011 class SliderBase {
00012
00013 public:
00014
00019 virtual const s16 getMinimumValue() const = 0;
00020
00025 virtual const s16 getMaximumValue() const = 0;
00026
00031 virtual const s16 getValue() const = 0;
00032
00040 virtual const s16 getPageSize() const = 0;
00041
00046 virtual void setMinimumValue(const s16 value) = 0;
00047
00052 virtual void setMaximumValue(const s16 value) = 0;
00053
00059 virtual void setValue(const s16 value) = 0;
00060
00068 virtual void setValueWithBitshift(const s32 value) = 0;
00069
00075 virtual void setPageSize(const s16 pageSize) = 0;
00076 };
00077 }
00078
00079 #endif