# data file for the Fltk User Interface Designer (fluid) version 1.0104 header_name {.h} code_name {.cxx} Function {} {open } { Fl_Window sumaWin {open xywh {381 309 222 185} type Double visible } { Fl_Value_Input sumando1 { label {Sumando 1:} callback {cbSumar(sumando1);} xywh {90 25 110 30} } Fl_Value_Input sumando2 { label {Sumando 2:} callback {cbSumar(sumando2);} selected xywh {90 59 110 30} } Fl_Value_Output resultado { label {Resultado:} xywh {90 100 110 30} } Fl_Button bTerminar { label {&Terminar} callback {cbTerminar(bTerminar);} xywh {55 140 110 30} } } } Function {cbTerminar(Fl_Widget *w)} {open return_type void } { codeblock {} {after {sumaWin->hide();} } {} } Function {cbSumar(Fl_Widget *)} {open return_type void } { codeblock {resultado->value(sumando1->value()+sumando2->value());} {open } {} } Function {make_window()} {open } {}