| 1 | // generated by Fast Light User Interface Designer (fluid) version 1.00 |
| 2 | |
| 3 | #include "xfhdlcst.h" |
| 4 | |
| 5 | Fl_Window *hdlcst=(Fl_Window *)0; |
| 6 | |
| 7 | Fl_Round_Button *dcd=(Fl_Round_Button *)0; |
| 8 | |
| 9 | Fl_Round_Button *ptt=(Fl_Round_Button *)0; |
| 10 | |
| 11 | Fl_Output *txpacket=(Fl_Output *)0; |
| 12 | |
| 13 | Fl_Output *txerror=(Fl_Output *)0; |
| 14 | |
| 15 | Fl_Output *rxpacket=(Fl_Output *)0; |
| 16 | |
| 17 | Fl_Output *rxerror=(Fl_Output *)0; |
| 18 | |
| 19 | Fl_Output *modcyc=(Fl_Output *)0; |
| 20 | |
| 21 | Fl_Output *demodcyc=(Fl_Output *)0; |
| 22 | |
| 23 | Fl_Output *intfreq=(Fl_Output *)0; |
| 24 | |
| 25 | Fl_Output *dmares=(Fl_Output *)0; |
| 26 | |
| 27 | Fl_Box *tmodcyc=(Fl_Box *)0; |
| 28 | |
| 29 | Fl_Box *tdemodcyc=(Fl_Box *)0; |
| 30 | |
| 31 | Fl_Box *tintfreq=(Fl_Box *)0; |
| 32 | |
| 33 | Fl_Box *tdmares=(Fl_Box *)0; |
| 34 | |
| 35 | Fl_Output *modename=(Fl_Output *)0; |
| 36 | |
| 37 | Fl_Output *drivername=(Fl_Output *)0; |
| 38 | |
| 39 | Fl_Button *quit=(Fl_Button *)0; |
| 40 | |
| 41 | Fl_Window* create_the_forms() { |
| 42 | Fl_Window* w; |
| 43 | { Fl_Window* o = hdlcst = new Fl_Window(250, 300, "HDLC driver state"); |
| 44 | w = o; |
| 45 | o->box(FL_NO_BOX); |
| 46 | { Fl_Box* o = new Fl_Box(0, 0, 250, 300); |
| 47 | o->box(FL_UP_BOX); |
| 48 | } |
| 49 | { Fl_Box* o = new Fl_Box(10, 230, 230, 60); |
| 50 | o->box(FL_DOWN_BOX); |
| 51 | } |
| 52 | { Fl_Box* o = new Fl_Box(10, 10, 230, 220); |
| 53 | o->box(FL_DOWN_BOX); |
| 54 | } |
| 55 | { Fl_Round_Button* o = dcd = new Fl_Round_Button(160, 20, 20, 20); |
| 56 | o->down_box(FL_ROUND_DOWN_BOX); |
| 57 | o->selection_color(3); |
| 58 | o->align(FL_ALIGN_CENTER); |
| 59 | } |
| 60 | { Fl_Round_Button* o = ptt = new Fl_Round_Button(160, 40, 20, 20); |
| 61 | o->down_box(FL_ROUND_DOWN_BOX); |
| 62 | o->align(FL_ALIGN_CENTER); |
| 63 | } |
| 64 | { Fl_Output* o = txpacket = new Fl_Output(160, 60, 70, 20); |
| 65 | o->box(FL_EMBOSSED_BOX); |
| 66 | o->selection_color(49); |
| 67 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 68 | } |
| 69 | { Fl_Output* o = txerror = new Fl_Output(160, 80, 70, 20); |
| 70 | o->box(FL_EMBOSSED_BOX); |
| 71 | o->selection_color(49); |
| 72 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 73 | } |
| 74 | { Fl_Output* o = rxpacket = new Fl_Output(160, 100, 70, 20); |
| 75 | o->box(FL_EMBOSSED_BOX); |
| 76 | o->selection_color(49); |
| 77 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 78 | } |
| 79 | { Fl_Output* o = rxerror = new Fl_Output(160, 120, 70, 20); |
| 80 | o->box(FL_EMBOSSED_BOX); |
| 81 | o->selection_color(49); |
| 82 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 83 | } |
| 84 | { Fl_Output* o = modcyc = new Fl_Output(160, 140, 70, 20); |
| 85 | o->box(FL_EMBOSSED_BOX); |
| 86 | o->selection_color(49); |
| 87 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 88 | } |
| 89 | { Fl_Output* o = demodcyc = new Fl_Output(160, 160, 70, 20); |
| 90 | o->box(FL_EMBOSSED_BOX); |
| 91 | o->selection_color(49); |
| 92 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 93 | } |
| 94 | { Fl_Output* o = intfreq = new Fl_Output(160, 180, 70, 20); |
| 95 | o->box(FL_EMBOSSED_BOX); |
| 96 | o->selection_color(49); |
| 97 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 98 | } |
| 99 | { Fl_Output* o = dmares = new Fl_Output(160, 200, 70, 20); |
| 100 | o->box(FL_EMBOSSED_BOX); |
| 101 | o->selection_color(49); |
| 102 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 103 | } |
| 104 | { Fl_Box* o = new Fl_Box(20, 60, 110, 20, "Transmit Packets"); |
| 105 | o->box(FL_FLAT_BOX); |
| 106 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 107 | } |
| 108 | { Fl_Box* o = new Fl_Box(20, 80, 110, 20, "Transmit Errors"); |
| 109 | o->box(FL_FLAT_BOX); |
| 110 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 111 | } |
| 112 | { Fl_Box* o = new Fl_Box(20, 100, 110, 20, "Receive Packets"); |
| 113 | o->box(FL_FLAT_BOX); |
| 114 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 115 | } |
| 116 | { Fl_Box* o = new Fl_Box(20, 120, 110, 20, "Receive Errors"); |
| 117 | o->box(FL_FLAT_BOX); |
| 118 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 119 | } |
| 120 | { Fl_Box* o = new Fl_Box(20, 40, 110, 20, "PTT"); |
| 121 | o->box(FL_FLAT_BOX); |
| 122 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 123 | } |
| 124 | { Fl_Box* o = new Fl_Box(20, 20, 110, 20, "DCD"); |
| 125 | o->box(FL_FLAT_BOX); |
| 126 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 127 | } |
| 128 | { Fl_Box* o = tmodcyc = new Fl_Box(20, 140, 110, 20, "Modulator Cycles"); |
| 129 | o->box(FL_FLAT_BOX); |
| 130 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 131 | } |
| 132 | { Fl_Box* o = tdemodcyc = new Fl_Box(20, 160, 110, 20, "Demodulator Cycles"); |
| 133 | o->box(FL_FLAT_BOX); |
| 134 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 135 | } |
| 136 | { Fl_Box* o = tintfreq = new Fl_Box(20, 180, 110, 20, "Interrupt Frequency"); |
| 137 | o->box(FL_FLAT_BOX); |
| 138 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 139 | } |
| 140 | { Fl_Box* o = tdmares = new Fl_Box(20, 200, 110, 20, "DMA residue"); |
| 141 | o->box(FL_FLAT_BOX); |
| 142 | o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); |
| 143 | } |
| 144 | { Fl_Output* o = modename = new Fl_Output(20, 240, 210, 20); |
| 145 | o->box(FL_EMBOSSED_BOX); |
| 146 | o->selection_color(49); |
| 147 | o->align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE); |
| 148 | } |
| 149 | { Fl_Output* o = drivername = new Fl_Output(20, 260, 210, 20); |
| 150 | o->box(FL_EMBOSSED_BOX); |
| 151 | o->selection_color(49); |
| 152 | o->align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE); |
| 153 | } |
| 154 | { Fl_Button* o = quit = new Fl_Button(190, 20, 40, 30, "Quit"); |
| 155 | o->callback((Fl_Callback*)cb_quit, (void*)(0)); |
| 156 | } |
| 157 | o->end(); |
| 158 | } |
| 159 | return w; |
| 160 | } |