// Browser widget for the Fast Light Tool Kit (FLTK).
//
@ -373,7 +373,7 @@ void Fl_Browser::item_draw(void* v, int x, int y, int w, int h) const {
@@ -373,7 +373,7 @@ void Fl_Browser::item_draw(void* v, int x, int y, int w, int h) const {
@ -325,7 +325,7 @@ Fl_File_Browser::item_draw(void *p, // I - List item data
@@ -325,7 +325,7 @@ Fl_File_Browser::item_draw(void *p, // I - List item data
*ptr='\0';
fl_draw(fragment,x+width,y,w-width,fl_height(),
(Fl_Align)(FL_ALIGN_LEFT|FL_ALIGN_CLIP));
(Fl_Align)(FL_ALIGN_LEFT|FL_ALIGN_CLIP),0,0);
// Point back to the start of the fragment...
ptr=fragment;
@ -339,7 +339,7 @@ Fl_File_Browser::item_draw(void *p, // I - List item data
@@ -339,7 +339,7 @@ Fl_File_Browser::item_draw(void *p, // I - List item data
*ptr='\0';
fl_draw(fragment,x+width,y,w-width,fl_height(),
(Fl_Align)(FL_ALIGN_LEFT|FL_ALIGN_CLIP));
(Fl_Align)(FL_ALIGN_LEFT|FL_ALIGN_CLIP),0,0);
// Advance to the next column...
column++;
@ -362,7 +362,7 @@ Fl_File_Browser::item_draw(void *p, // I - List item data
@@ -362,7 +362,7 @@ Fl_File_Browser::item_draw(void *p, // I - List item data
@ -149,11 +150,28 @@ Fl_Widget::draw_focus(Fl_Boxtype B, int X, int Y, int W, int H) const {
@@ -149,11 +150,28 @@ Fl_Widget::draw_focus(Fl_Boxtype B, int X, int Y, int W, int H) const {
break;
}
fl_color(FL_BLACK);
fl_color(fl_contrast(FL_BLACK,color()));
#ifdef WIN32
// Windows 95/98/ME do not implement the dotted line style, so draw