mirror of
https://github.com/fltk/fltk.git
synced 2025-12-16 01:26:37 +08:00
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:
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user