mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
File chooser scrollbar redraw bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@65 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: fl_file_chooser.cxx,v 1.4 1998/10/21 14:20:51 mike Exp $"
|
// "$Id: fl_file_chooser.cxx,v 1.5 1998/11/06 16:00:45 mike Exp $"
|
||||||
//
|
//
|
||||||
// File chooser widget for the Fast Light Tool Kit (FLTK).
|
// File chooser widget for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -278,7 +278,7 @@ void FCB::set(const char* buf) {
|
|||||||
prev_last = last;
|
prev_last = last;
|
||||||
}
|
}
|
||||||
list = last = 0;
|
list = last = 0;
|
||||||
message = "reading..."; redraw(); Fl::flush();
|
message = "reading..."; redraw(); Fl::flush(); redraw();
|
||||||
strcpy(listed, buf);
|
strcpy(listed, buf);
|
||||||
dirend = nameend = bufdirend;
|
dirend = nameend = bufdirend;
|
||||||
listed[dirend] = listed[dirend+1] = 0;
|
listed[dirend] = listed[dirend+1] = 0;
|
||||||
@@ -611,5 +611,5 @@ char* fl_file_chooser(const char* message, const char* pat, const char* fname)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: fl_file_chooser.cxx,v 1.4 1998/10/21 14:20:51 mike Exp $".
|
// End of "$Id: fl_file_chooser.cxx,v 1.5 1998/11/06 16:00:45 mike Exp $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user