00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _FL_VALUE_OUTPUT_H_
00023 #define _FL_VALUE_OUTPUT_H_
00024
00025 #include "Fl_Value_Input.h"
00026 #include "Fl_Output.h"
00027
00029 class FL_API Fl_Value_Output : public Fl_Value_Input {
00030 public:
00032 Fl_Value_Output(int x,int y,int w,int h,const char *l = 0)
00033 : Fl_Value_Input(x, y, w, h, l) {
00034 input.readonly(1);
00035 copy_style(Fl_Output::default_style);
00036 }
00037
00039 Fl_Value_Output(const char* l = 0,int layout_size=30,Fl_Align layout_al=FL_ALIGN_TOP,int label_w=100)
00040 : Fl_Value_Input(l,layout_size,layout_al,label_w) {
00041 input.readonly(1);
00042 copy_style(Fl_Output::default_style);
00043 }
00044
00045 void soft(uchar x) { }
00046 bool soft() const { return true; }
00047 };
00048
00049 #endif