From 849e11623e44a62599d62ba9425f7e96146f555d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 2 Dec 1998 15:39:39 +0000 Subject: Changes from Carl to get rid of default_ variables... git-svn-id: file:///fltk/svn/fltk/trunk@106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Output.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Output.cxx') diff --git a/src/Fl_Output.cxx b/src/Fl_Output.cxx index 826d197d0..fb1cf3b07 100644 --- a/src/Fl_Output.cxx +++ b/src/Fl_Output.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Output.cxx,v 1.4 1998/10/21 14:20:15 mike Exp $" +// "$Id: Fl_Output.cxx,v 1.5 1998/12/02 15:39:33 mike Exp $" // // Output widget for the Fast Light Tool Kit (FLTK). // @@ -31,7 +31,7 @@ #include void Fl_Output::draw() { - Fl_Boxtype b = box() ? box() : default_box(); + Fl_Boxtype b = box() ? box() : FL_DOWN_BOX; if (damage() & FL_DAMAGE_ALL) draw_box(b, color()); Fl_Input_::drawtext(x()+Fl::box_dx(b)+3, y()+Fl::box_dy(b), w()-Fl::box_dw(b)-6, h()-Fl::box_dh(b)); @@ -39,12 +39,12 @@ void Fl_Output::draw() { int Fl_Output::handle(int event) { if (event == FL_FOCUS) return 0; - Fl_Boxtype b = box() ? box() : default_box(); + Fl_Boxtype b = box() ? box() : FL_DOWN_BOX; return Fl_Input_::handletext(event, x()+Fl::box_dx(b)+3, y()+Fl::box_dy(b), w()-Fl::box_dw(b)-6, h()-Fl::box_dh(b)); } // -// End of "$Id: Fl_Output.cxx,v 1.4 1998/10/21 14:20:15 mike Exp $". +// End of "$Id: Fl_Output.cxx,v 1.5 1998/12/02 15:39:33 mike Exp $". // -- cgit v1.2.3