// generated by Fast Light User Interface Designer (fluid) version 1.0100 #ifndef Fl_Knob_H #define Fl_Knob_H #include #include class Fl_Knob : public Fl_Valuator { public: enum Fl_Knobtype {DOTLIN=0,DOTLOG_1,DOTLOG_2,DOTLOG_3,LINELIN,LINELOG_1,LINELOG_2,LINELOG_3}; private: int _type; float _percent; float _capsize; int _capr,_capg,_capb; int _scaleticks; short a1,a2; public: Fl_Knob(int xx,int yy,int ww,int hh,const char *l=0); ~Fl_Knob(); private: void draw(); int handle(int event); void shadow(const int offs,const uchar r,uchar g,uchar b); void draw_scale(const int ox,const int oy,const int side); void draw_cursor(const int ox,const int oy,const int side); public: void type(int ty); void cursor(const int pc); void scaleticks(const int tck); void capsize(const float percent); void capcolor(const Fl_Color col); void capcolor(const uchar cr,const uchar cg,const uchar cb); }; #endif