diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2004-07-04 06:49:34 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2004-07-04 06:49:34 +0000 |
| commit | 47276e733d9d422ca6ac49cd4f87c2b8b712ef7c (patch) | |
| tree | 584b253305e00ec1bc9ba9da57291717e3655951 /src/Fl_Help_Dialog.fl | |
| parent | 0384c8695762d4a71b2565855cb15b28facc540c (diff) | |
In order to make the whitte text field at the bottom left of the
Help Dialog clearer, I added a magnifying glass in front of the
field sybolising "search".
I made the scaleable magnifying glass available as a symbol via
"@search"
I added yet another symbol that draw a vectorized version of
the FLTK logo. Available via "@FLTK".
Lastly, I changed the 'symbol' test program to show the additional
symbols, and added a slider to changae the relative symbol size.
I hope the new symbols look good enough on other platforms, too. I
tested only OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_Dialog.fl')
| -rw-r--r-- | src/Fl_Help_Dialog.fl | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/Fl_Help_Dialog.fl b/src/Fl_Help_Dialog.fl index 7647aaab6..4524cbda3 100644 --- a/src/Fl_Help_Dialog.fl +++ b/src/Fl_Help_Dialog.fl @@ -17,7 +17,7 @@ class FL_EXPORT Fl_Help_Dialog {open } { Fl_Window window_ { label {Help Dialog} open - private xywh {398 65 530 385} type Double hide resizable + private xywh {398 65 530 385} type Double resizable visible } { Fl_Group view_ { callback {if (view_->changed()) @@ -48,7 +48,7 @@ else if (view_->filename()) { strlcpy(file_[index_], view_->filename(), sizeof(file_[0])); line_[index_] = view_->topline(); -}} open selected +}} open private xywh {10 10 510 330} box DOWN_BOX selection_color 15 resizable code0 {\#include <FL/Fl_Help_View.H>} class Fl_Help_View @@ -115,9 +115,14 @@ if (view_->textsize() >= 18) smaller_->activate();} private tooltip {Make the help text larger.} xywh {320 350 25 25} labelfont 1 labelsize 16 } - Fl_Input find_ { - callback {find_pos_ = view_->find(find_->value(), find_pos_);} - private xywh {10 350 265 25} when 10 + Fl_Group {} {open + xywh {10 350 265 25} box DOWN_BOX color 7 + } { + Fl_Input find_ { + label {@search} + callback {find_pos_ = view_->find(find_->value(), find_pos_);} selected + private tooltip {find text in document} xywh {35 352 238 21} box FLAT_BOX labelsize 13 when 10 + } } } code {back_->deactivate(); |
