diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-05-01 23:20:39 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-05-01 23:20:39 +0000 |
| commit | b4b6776d8fab585c5fc43fe54dbdb7d3171acf6e (patch) | |
| tree | 7c48786f9d66c9680164e7dfc03a7fecb3f2863a /src/Fl_Help_View.cxx | |
| parent | 47e802218d5645bb8a4320037f32dcc82b265ef8 (diff) | |
Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626)
Fixed selection of first word in Fl_Help_View
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_View.cxx')
| -rw-r--r-- | src/Fl_Help_View.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 07c05035f..8ea568e76 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -196,10 +196,6 @@ struct fl_margins { * in a single set of variables. * * Still to do: - * - The viewer flickers like crazy when redrawing. The window should be - * Fl_Double_Window, but is that binary compatible? - * - We should not draw anything when counting (draw_mode>0). That would - * improve performance a lot * - &word; style characters mess up our count inside a word boundary * - we can only select words, no individual characters * - no dragging of the selection into another widget @@ -508,6 +504,7 @@ Fl_Help_View::draw() hv_selection_color = FL_SELECTION_COLOR; hv_selection_text_color = fl_contrast(textcolor_, FL_SELECTION_COLOR); } + current_pos = 0; // Clip the drawing to the inside of the box... fl_push_clip(x() + Fl::box_dx(b), y() + Fl::box_dy(b), |
