diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-11-14 11:02:18 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-11-14 11:02:18 +0000 |
| commit | e7c93053b64e72a0321db09a5675ba58c040567e (patch) | |
| tree | 040f76fd597ca3490b68dda021911f5656ada2c1 /test/buttons.cxx | |
| parent | e729fccaf9cdc743b34691367161c8c6f0586bcd (diff) | |
Added visual indication for buttons activated by a keyboard shortcut (STR 2372
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/buttons.cxx')
| -rw-r--r-- | test/buttons.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/buttons.cxx b/test/buttons.cxx index e4440e0d2..66827c17f 100644 --- a/test/buttons.cxx +++ b/test/buttons.cxx @@ -39,7 +39,8 @@ int main(int argc, char ** argv) { Fl_Window *window = new Fl_Window(320,130); - (new Fl_Button(10, 10, 130, 30, "Fl_Button"))->tooltip("This is a Tooltip."); + Fl_Button *b = new Fl_Button(10, 10, 130, 30, "Fl_Button"); + b->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"); |
