diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-08 15:05:48 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-08 15:05:48 +0000 |
| commit | a90ca2d60a0cdf699410be34fde62a03558715b4 (patch) | |
| tree | 8764d77661768fa2bb1f4ccd60656cd41f0678f1 /src/fl_file_chooser.cxx | |
| parent | 4c68a1ca547f15de9b7b53173974cd1683b1535b (diff) | |
Patches from Bill:
- Box type problems with 2-pixel boxes (wrong colors)
- Fl_Pixmap fix (uchar instead of char)
- Style demo fixes for Windows.
- HPUX comparison function prototype wrong.
- Spelling errors...
git-svn-id: file:///fltk/svn/fltk/trunk@70 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_file_chooser.cxx')
| -rw-r--r-- | src/fl_file_chooser.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fl_file_chooser.cxx b/src/fl_file_chooser.cxx index 8f947f986..de97bcdd9 100644 --- a/src/fl_file_chooser.cxx +++ b/src/fl_file_chooser.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_file_chooser.cxx,v 1.5 1998/11/06 16:00:45 mike Exp $" +// "$Id: fl_file_chooser.cxx,v 1.6 1998/11/08 15:05:46 mike Exp $" // // File chooser widget for the Fast Light Tool Kit (FLTK). // @@ -341,11 +341,11 @@ void FCB::draw() { if (full_height() > 0) return; message = "No matching files"; } - Fl_Boxtype b = box(); if (!b) b = Fl_Input_::default_box(); - draw_box(b,color()); - fl_color(FL_INACTIVE_COLOR); + Fl_Boxtype b = box(); if (!b) b = Fl_Input_::default_box(); + draw_box(b,color()); + fl_color(FL_INACTIVE_COLOR); fl_font(textfont(), textsize(), default_font(), default_size()); - fl_draw(message, x()+7, y()+3, w(), h()-3, FL_ALIGN_TOP_LEFT); + fl_draw(message, x()+7, y()+3, w(), h()-3, FL_ALIGN_TOP_LEFT); } void FCB::clear_prev() { @@ -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.5 1998/11/06 16:00:45 mike Exp $". +// End of "$Id: fl_file_chooser.cxx,v 1.6 1998/11/08 15:05:46 mike Exp $". // |
