From bd069130577e28b3b26dbb5637bb3172fe108e81 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 1 Aug 2001 21:24:49 +0000 Subject: First bunch of changes for the 1.1 branch - tooltips. NOTE: looking into a problem with the tooltip not going away when you ESCape a window (close it)... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/buttons.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/buttons.cxx') diff --git a/test/buttons.cxx b/test/buttons.cxx index 5fb134c9b..30bb19149 100644 --- a/test/buttons.cxx +++ b/test/buttons.cxx @@ -1,5 +1,5 @@ // -// "$Id: buttons.cxx,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $" +// "$Id: buttons.cxx,v 1.4.2.3.2.1 2001/08/01 21:24:49 easysw Exp $" // // Another button test program for the Fast Light Tool Kit (FLTK). // @@ -33,10 +33,11 @@ #include #include #include +#include int main(int argc, char ** argv) { Fl_Window *window = new Fl_Window(320,130); - new Fl_Button(10, 10, 130, 30, "Fl_Button"); + (new Fl_Button(10, 10, 130, 30, "Fl_Button"))->tooltip("This is a Tooltip."); new Fl_Return_Button(150, 10, 160, 30, "Fl_Return_Button"); new Fl_Repeat_Button(10,50,130,30,"Fl_Repeat_Button"); new Fl_Light_Button(10,90,130,30,"Fl_Light_Button"); @@ -48,5 +49,5 @@ int main(int argc, char ** argv) { } // -// End of "$Id: buttons.cxx,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $". +// End of "$Id: buttons.cxx,v 1.4.2.3.2.1 2001/08/01 21:24:49 easysw Exp $". // -- cgit v1.2.3