From 72b56edc2940e0279a551fa9182d5ffb16cc1953 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 29 Sep 2001 22:59:45 +0000 Subject: Tooltips, and more tooltips. Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff. Fix write_properties so it writes tooltips properly from FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_Dialog.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Fl_Help_Dialog.cxx') diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx index feacd52de..5521cdc8c 100644 --- a/src/Fl_Help_Dialog.cxx +++ b/src/Fl_Help_Dialog.cxx @@ -120,21 +120,25 @@ Fl_Help_Dialog::Fl_Help_Dialog() { o->callback((Fl_Callback*)cb_Close); } { Fl_Button* o = back_ = new Fl_Button(365, 350, 25, 25, "@<-"); + o->tooltip("Show the previous help page."); o->shortcut(0xff51); o->labelcolor(2); o->callback((Fl_Callback*)cb_back_); } { Fl_Button* o = forward_ = new Fl_Button(395, 350, 25, 25, "@->"); + o->tooltip("Show the next help page."); o->shortcut(0xff53); o->labelcolor(2); o->callback((Fl_Callback*)cb_forward_); } { Fl_Button* o = smaller_ = new Fl_Button(305, 350, 25, 25, "F"); + o->tooltip("Make the help text smaller."); o->labelfont(1); o->labelsize(10); o->callback((Fl_Callback*)cb_smaller_); } { Fl_Button* o = larger_ = new Fl_Button(335, 350, 25, 25, "F"); + o->tooltip("Make the help text larger."); o->labelfont(1); o->labelsize(16); o->callback((Fl_Callback*)cb_larger_); -- cgit v1.2.3