Woopsi 1.0
GUI Framework for Nintendo DS Homebrew
|
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 00018 virtual ~SliderBase() { }; 00019 00024 virtual const s16 getMinimumValue() const = 0; 00025 00030 virtual const s16 getMaximumValue() const = 0; 00031 00036 virtual const s32 getValue() const = 0; 00037 00045 virtual const s16 getPageSize() const = 0; 00046 00051 virtual void setMinimumValue(const s16 value) = 0; 00052 00057 virtual void setMaximumValue(const s16 value) = 0; 00058 00064 virtual void setValue(const s32 value) = 0; 00065 00071 virtual void setPageSize(const s16 pageSize) = 0; 00072 }; 00073 } 00074 00075 #endif