|
|
|
@ -18,9 +18,12 @@ Fl_Input *header_file_input;
@@ -18,9 +18,12 @@ Fl_Input *header_file_input;
|
|
|
|
|
|
|
|
|
|
Fl_Input *code_file_input; |
|
|
|
|
|
|
|
|
|
Fl_Light_Button *include_H_from_C_button; |
|
|
|
|
|
|
|
|
|
Fl_Window* make_alignment_window() { |
|
|
|
|
Fl_Window *w; |
|
|
|
|
{ Fl_Window* o = alignment_window = w = new Fl_Window(210, 282, "fluid Preferences"); |
|
|
|
|
Fl_Window* w; |
|
|
|
|
{ Fl_Window* o = alignment_window = new Fl_Window(210, 310, "fluid Preferences"); |
|
|
|
|
w = o; |
|
|
|
|
{ Fl_Box* o = new Fl_Box(10, 20, 190, 100, "ALIGNMENT:"); |
|
|
|
|
o->box(FL_ENGRAVED_FRAME); |
|
|
|
|
o->labelsize(10); |
|
|
|
@ -44,9 +47,8 @@ Fl_Window* make_alignment_window() {
@@ -44,9 +47,8 @@ Fl_Window* make_alignment_window() {
|
|
|
|
|
o->callback((Fl_Callback*)alignment_cb, (void*)(3)); |
|
|
|
|
o->when(FL_WHEN_RELEASE|FL_WHEN_ENTER_KEY); |
|
|
|
|
} |
|
|
|
|
{ Fl_Button* o = new Fl_Button(10, 250, 190, 20, "close"); |
|
|
|
|
{ Fl_Button* o = new Fl_Button(10, 280, 190, 20, "close"); |
|
|
|
|
o->callback((Fl_Callback*)cb_close); |
|
|
|
|
w->hotspot(o); |
|
|
|
|
} |
|
|
|
|
{ Fl_Box* o = new Fl_Box(10, 140, 190, 100, "OUTPUT FILE NAMES:"); |
|
|
|
|
o->box(FL_ENGRAVED_FRAME); |
|
|
|
@ -67,6 +69,11 @@ Fl_Window* make_alignment_window() {
@@ -67,6 +69,11 @@ Fl_Window* make_alignment_window() {
|
|
|
|
|
o->callback((Fl_Callback*)code_input_cb, (void*)(1)); |
|
|
|
|
o->when(1); |
|
|
|
|
} |
|
|
|
|
{ Fl_Light_Button* o = include_H_from_C_button = new Fl_Light_Button(60, 250, 140, 20, "Include .H from .C"); |
|
|
|
|
o->value(1); |
|
|
|
|
o->callback((Fl_Callback*)include_H_from_C_button_cb); |
|
|
|
|
} |
|
|
|
|
o->set_modal(); |
|
|
|
|
o->end(); |
|
|
|
|
} |
|
|
|
|
return w; |
|
|
|
|