diff --git a/src/ui/main.fl b/src/ui/main.fl new file mode 100644 index 0000000..6f99c7e --- /dev/null +++ b/src/ui/main.fl @@ -0,0 +1,62 @@ +# data file for the Fltk User Interface Designer (fluid) +version 1.0400 +header_name {.h} +code_name {.cxx} +class UserInterface {} { + Function {make_window()} {} { + Fl_Window main_window { + label WriteTool_RS open + xywh {721 399 693 467} type Double visible + } { + Fl_Output current_write_model { + label LastImeiAndSn + xywh {135 107 375 35} + } + Fl_Output excel_file_textbox { + label {CurrentExcelFile:} + xywh {135 20 375 35} + } + Fl_Button select_file_btn { + label SelectFile + xywh {535 20 90 30} + } + Fl_Output current_line_textbox { + label CurrentLine + xywh {135 62 375 35} + } + Fl_Button set_lines_btn { + label SetLines + xywh {535 60 90 30} + } + Fl_Button start_btn { + label Start + xywh {445 155 240 35} shortcut 0xff0d color 51 labeltype ENGRAVED_LABEL labelsize 18 + } + Fl_Text_Display log_content { + xywh {10 210 670 250} + } + Fl_Input com_textbox { + label {COM:} + xywh {135 155 285 35} + } + } + } +} + +class UserInterface1 {open selected +} { + Function {make_set_line_window()} {} { + Fl_Window {} {open + xywh {828 554 228 43} type Double visible + } { + Fl_Input line_textbox { + label {Line:} + xywh {40 5 130 35} + } + Fl_Button ok_btn { + label ok + xywh {175 5 45 35} + } + } + } +}