diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2003-07-18 03:49:58 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2003-07-18 03:49:58 +0000 |
| commit | 91721061895a16fea93a866061e632c8a6556088 (patch) | |
| tree | f11be9274973c142deef5a218b7549ce344fc175 | |
| parent | 8aa95bcd966d0cd5a46023904bbcede921c22362 (diff) | |
STR #106: collapse triangle in fluid hrc list would not receive events
when view is scrolled horizontally.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 6 | ||||
| -rw-r--r-- | fluid/Fl_Type.cxx | 6 |
2 files changed, 7 insertions, 5 deletions
@@ -1,9 +1,11 @@ CHANGES IN FLTK 1.1.4 + - Fluid collapse triangle events were not offset by + horizontal scroll (STR #106) - QuitAppleEvent now correctly returns from Fl::run() - instead of just exiting. + instead of just exiting (STR #??) - Hiding the first created OpenGL context was not - possible. FLTK now manages a list of contexts. + possible. FLTK now manages a list of contexts (STR #??) - FLUID didn't keep the double/single buffer type for windows. - FLTK didn't work with Xft2. diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index eb29400fc..13082d5c2 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.cxx,v 1.6.2.6.2.14 2003/01/28 20:51:10 easysw Exp $" +// "$Id: Fl_Type.cxx,v 1.6.2.6.2.15 2003/07/18 03:49:58 matthiaswm Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -358,7 +358,7 @@ int Widget_Browser::handle(int e) { if (!Fl::event_inside(X,Y,W,H)) break; l = (Fl_Type*)find_item(Fl::event_y()); if (l) { - X += 12*l->level + 18; + X += 12*l->level + 18 - hposition(); if (l->is_parent() && Fl::event_x()>X && Fl::event_x()<X+13) { title = pushedtitle = l; redraw_line(l); @@ -791,5 +791,5 @@ void Fl_Type::read_property(const char *c) { int Fl_Type::read_fdesign(const char*, const char*) {return 0;} // -// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.14 2003/01/28 20:51:10 easysw Exp $". +// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.15 2003/07/18 03:49:58 matthiaswm Exp $". // |
