Vertical scrollbars didn't draw inactive arrows...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2002-10-06 18:37:14 +00:00
parent c4003cf4dc
commit 5c8ccb8289
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -1,3 +1,9 @@
CHANGES IN FLTK 1.1.1
- Vertical scrollbars did not draw the arrows inactive
when the scrollbar was inactive.
CHANGES IN FLTK 1.1.0
- Documentation updates.
+3 -3
View File
@@ -1,5 +1,5 @@
//
// "$Id: Fl_Scrollbar.cxx,v 1.7.2.14.2.12 2002/09/28 12:04:12 easysw Exp $"
// "$Id: Fl_Scrollbar.cxx,v 1.7.2.14.2.13 2002/10/06 18:37:14 easysw Exp $"
//
// Scroll bar widget for the Fast Light Tool Kit (FLTK).
//
@@ -226,7 +226,7 @@ void Fl_Scrollbar::draw() {
if (active_r())
fl_color(labelcolor());
else
fl_color(labelcolor() | 8);
fl_color(fl_inactive(labelcolor()));
int w1 = (W-4)/3; if (w1 < 1) w1 = 1;
int x1 = X+(W-2*w1-1)/2;
int yy1 = Y+(W-w1-1)/2;
@@ -249,5 +249,5 @@ Fl_Scrollbar::Fl_Scrollbar(int X, int Y, int W, int H, const char* L)
}
//
// End of "$Id: Fl_Scrollbar.cxx,v 1.7.2.14.2.12 2002/09/28 12:04:12 easysw Exp $".
// End of "$Id: Fl_Scrollbar.cxx,v 1.7.2.14.2.13 2002/10/06 18:37:14 easysw Exp $".
//