From a6b935289ed59305318929b857bf74f671125e87 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 9 Aug 2002 01:09:49 +0000 Subject: Move the rest of the image file formats (except for XBM and XPM) to the fltk_images library; saves about 16k in the FLTK core library on my Intel system. Fix a memory leak bug in most of the fl_set_fonts*.cxx implementations; as a result, the Fl_Fontdesc structure now has a fontname member to old the human-readable font name. Lots of fixes for shadowed variables, etc. Use snprintf, strlcpy, and strlcat in more places. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Light_Button.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Light_Button.cxx') diff --git a/src/Fl_Light_Button.cxx b/src/Fl_Light_Button.cxx index 6f16fb590..8bd5e67a0 100644 --- a/src/Fl_Light_Button.cxx +++ b/src/Fl_Light_Button.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.19 2002/07/24 12:16:57 easysw Exp $" +// "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.20 2002/08/09 01:09:49 easysw Exp $" // // Lighted button widget for the Fast Light Tool Kit (FLTK). // @@ -134,13 +134,13 @@ int Fl_Light_Button::handle(int event) { } } -Fl_Light_Button::Fl_Light_Button(int x, int y, int w, int h, const char* l) -: Fl_Button(x, y, w, h, l) { +Fl_Light_Button::Fl_Light_Button(int X, int Y, int W, int H, const char* l) +: Fl_Button(X, Y, W, H, l) { type(FL_TOGGLE_BUTTON); selection_color(FL_YELLOW); align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); } // -// End of "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.19 2002/07/24 12:16:57 easysw Exp $". +// End of "$Id: Fl_Light_Button.cxx,v 1.4.2.3.2.20 2002/08/09 01:09:49 easysw Exp $". // -- cgit v1.2.3