mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
Fix problem w/unittest's schemes -> tab3 text editors
not showing up correctly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -176,15 +176,21 @@ public:
|
||||
o->box(FL_DOWN_BOX);
|
||||
o->tooltip("Fl_Output with down box");
|
||||
} // Fl_Output* o
|
||||
{ Fl_Text_Editor* o = new Fl_Text_Editor(220, 160, 90, 55);
|
||||
{ Fl_Text_Editor* o = new Fl_Text_Editor(180, 160, 125, 55);
|
||||
o->box(FL_DOWN_FRAME);
|
||||
o->color((Fl_Color)80);
|
||||
o->tooltip("Fl_Text_Editor with down frame");
|
||||
o->textsize(8);
|
||||
o->buffer(new Fl_Text_Buffer());
|
||||
o->buffer()->text("Text editor");
|
||||
} // Fl_Text_Editor* o
|
||||
{ Fl_Text_Display* o = new Fl_Text_Display(220, 230, 90, 55);
|
||||
{ Fl_Text_Display* o = new Fl_Text_Display(180, 230, 125, 55);
|
||||
o->box(FL_DOWN_FRAME);
|
||||
o->color((Fl_Color)12);
|
||||
o->tooltip("Fl_Text_Display with down frame");
|
||||
o->textsize(8);
|
||||
o->buffer(new Fl_Text_Buffer());
|
||||
o->buffer()->text("Text display");
|
||||
} // Fl_Text_Display* o
|
||||
{ Fl_File_Input* o = new Fl_File_Input(40, 290, 265, 30);
|
||||
o->box(FL_DOWN_BOX);
|
||||
|
||||
Reference in New Issue
Block a user