mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
Fixed the drawing of the Fl_Browser_ selection box (STR #786)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.7
|
|||||||
|
|
||||||
- Documentation fixes (STR #648, STR #692, STR #730, STR
|
- Documentation fixes (STR #648, STR #692, STR #730, STR
|
||||||
#744, STR #745)
|
#744, STR #745)
|
||||||
|
- Fixed the drawing of the Fl_Browser_ selection box (STR
|
||||||
|
#786)
|
||||||
- Dropped Codewarrier project files and support.
|
- Dropped Codewarrier project files and support.
|
||||||
- The FLTK string functions are now compiled in on all
|
- The FLTK string functions are now compiled in on all
|
||||||
systems (STR #774)
|
systems (STR #774)
|
||||||
|
|||||||
+2
-1
@@ -362,7 +362,8 @@ J1:
|
|||||||
}
|
}
|
||||||
item_draw(l, X-hposition_, yy+Y, W+hposition_, hh);
|
item_draw(l, X-hposition_, yy+Y, W+hposition_, hh);
|
||||||
if (l == selection_ && Fl::focus() == this) {
|
if (l == selection_ && Fl::focus() == this) {
|
||||||
draw_focus(FL_NO_BOX, X, yy+Y+1, W, hh);
|
draw_box(FL_BORDER_FRAME, X, yy+Y, W, hh, color());
|
||||||
|
draw_focus(FL_NO_BOX, X, yy+Y, W, hh+1);
|
||||||
}
|
}
|
||||||
int ww = item_width(l);
|
int ww = item_width(l);
|
||||||
if (ww > max_width) {max_width = ww; max_width_item = l;}
|
if (ww > max_width) {max_width = ww; max_width_item = l;}
|
||||||
|
|||||||
Reference in New Issue
Block a user