# data file for the Fltk User Interface Designer (fluid) version 1.0105 header_name {.h} code_name {.cxx} Function {button_cb(Fl_Widget*,void*)} {open return_type void } { code {int i; for (i=10000;i>0;i--) { countdown->value(i); Fl::check(); } exit(0);} {selected } } Function {} {open } { Fl_Window {} {open xywh {643 190 200 115} type Double hide resizable } { Fl_Progress countdown { label coundown xywh {5 9 185 25} selection_color 88 } Fl_Button {} { label start callback button_cb xywh {32 46 130 45} } } code {countdown->maximum(10000); countdown->minimum(0); countdown->value(10000);} {} }