// generated by Fast Light User Interface Designer (fluid) version 1.0109

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

#include "fluid1.h"

Fl_Button *Calc=(Fl_Button *)0;



//Fl_Input* o = new Fl_Input(160, 40, 150, 25, "Float number");
//o->type(1);


void button_cb(Fl_Widget *,void *) {
        printf("number: %f\n", o);
 
} 

int main(int argc, char **argv) {
	Fl_Double_Window* w;
	{ 
		Fl_Double_Window* o = new Fl_Double_Window(545, 295);
    		w = o;
		// Fl_Button* Calc
		{ 
			Fl_Input* o = new Fl_Input(160, 40, 150, 25, "Float number");
			o->type(1);
		} 

                {
                        Calc = new Fl_Button(160, 85, 150, 25, "Calc");
			Calc->callback(button_cb);
			//Calc->printf("%f\n", o);
                }

		// Fl_Input* o
		o->end();
	} 
	// Fl_Double_Window* o

	w->show(argc, argv);
	return Fl::run();
}
