00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _FL_FLOAT_INPUT_H_
00023 #define _FL_FLOAT_INPUT_H_
00024
00025 #include "Fl_Numeric_Input.h"
00026
00028 class FL_API Fl_Float_Input : public Fl_Numeric_Input {
00029 public:
00030 enum {FLOAT = 0, INT = 1};
00031
00033 Fl_Float_Input(int x,int y,int w,int h,const char *l = 0)
00034 : Fl_Numeric_Input(x,y,w,h,l) { }
00035
00037 Fl_Float_Input(const char* l = 0,int layout_size=30,Fl_Align layout_al=FL_ALIGN_TOP,int label_w=100)
00038 : Fl_Numeric_Input(l,layout_size,layout_al,label_w) { }
00039
00040
00041 virtual bool load_data(Fl_Data_Source *ds);
00042 virtual bool save_data(Fl_Data_Source *ds);
00043
00044 protected:
00045 virtual bool replace(int, int, const char*, int);
00046 };
00047
00048 #endif