Set Fl_Text_Editor fields to Courier font for easier programming

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2002-11-03 04:50:54 +00:00
parent c3de2a22c0
commit b9e7232d26
4 changed files with 496 additions and 492 deletions

View File

@@ -81,6 +81,7 @@ Fl_Window* make_code_panel() {
o->box(FL_NO_BOX);
Fl_Group::current()->resizable(o);
o->buffer(new Fl_Text_Buffer);
o->textfont(FL_COURIER);
}
o->end();
Fl_Group::current()->resizable(o);

View File

@@ -57,6 +57,7 @@ Function {make_code_panel()} {open
Fl_Text_Editor code_input {selected
xywh {12 12 521 116} box NO_BOX resizable
code0 {o->buffer(new Fl_Text_Buffer);}
code1 {o->textfont(FL_COURIER);}
}
}
Fl_Return_Button code_panel_ok {

View File

@@ -451,6 +451,7 @@ Fl_Double_Window* make_widget_panel() {
o->align(FL_ALIGN_LEFT);
Fl_Group::current()->resizable(o);
o->buffer(new Fl_Text_Buffer());
o->textfont(FL_COURIER);
}
o->end();
Fl_Group::current()->resizable(o);

File diff suppressed because it is too large Load Diff