diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-10-31 18:49:05 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-10-31 18:49:05 +0000 |
| commit | f4a60090ba4f4256eeb03d5378d301fd3df40e5c (patch) | |
| tree | df62156629861157da8d612f72bf93a6570de8ee /fluid/Fl_Type.cxx | |
| parent | 270c364bb35f116443ba78f5cff1f51efc3beebc (diff) | |
Added WidgetBin/ToolBox to fluid. Made fluid remember window
positions (only main and toolbox yet). Toolbox can be switched
off. Position remeber function can be switched off.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.cxx')
| -rw-r--r-- | fluid/Fl_Type.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index 91e5b9bcc..ddbebfa48 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.10 2002/10/30 21:06:11 matthiaswm Exp $" +// "$Id: Fl_Type.cxx,v 1.6.2.6.2.11 2002/10/31 18:48:54 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 += 10*l->level + 16; + X += 12*l->level + 18; if (l->is_parent() && Fl::event_x()>X && Fl::event_x()<X+13) { title = pushedtitle = l; redraw_line(l); @@ -784,5 +784,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.10 2002/10/30 21:06:11 matthiaswm Exp $". +// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.11 2002/10/31 18:48:54 matthiaswm Exp $". // |
