From f12052870cb82ec885f0feb0c23bde8f56cbe53a Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 2 Apr 2005 18:57:49 +0000 Subject: STR #784: Fixed tooltip stating 'function' instead of 'comment' git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 3 ++- fluid/function_panel.cxx | 2 +- fluid/function_panel.fl | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index fa706fad0..0fa12a09a 100644 --- a/CHANGES +++ b/CHANGES @@ -2,7 +2,8 @@ CHANGES IN FLTK 1.1.7 - Documentation fixes (STR #648, STR #692, STR #730, STR #744, STR #745) - - added zlib path to fluid (STR #783) + - Fixed wrong tooltip in fluid (STR #784) + - Added zlib path to fluid (STR #783) - Menus and other pop-up windows now obey screen boundaries on multi-screen displays (STR #781) - Fl_Chart would draw outside its bounding box (STR #780) diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index 01923e069..787b6ffe2 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -485,7 +485,7 @@ Fl_Window* make_widgetbin() { o->image(pixmap[11]); } { Fl_Button* o = new Fl_Button(52, 4, 24, 24); - o->tooltip("Function"); + o->tooltip("Comment"); o->box(FL_THIN_UP_BOX); o->callback((Fl_Callback*)type_make_cb, (void*)("comment")); o->image(pixmap[46]); diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index ae0275934..0f61cb8fb 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -327,7 +327,7 @@ Function {make_widgetbin()} {open Fl_Button {} { user_data {"comment"} callback type_make_cb - tooltip Function xywh {52 4 24 24} box THIN_UP_BOX + tooltip Comment xywh {52 4 24 24} box THIN_UP_BOX code0 {o->image(pixmap[46]);} } } -- cgit v1.2.3