Change SCROLL_KNOB_* constants to B_SCROLL_KNOB_*

This commit is contained in:
John Scipione
2012-11-02 19:08:09 -04:00
parent 87e7009019
commit dfa8cf8c05
4 changed files with 24 additions and 23 deletions
+2 -2
View File
@@ -1154,11 +1154,11 @@ BScrollBar::Draw(BRect updateRect)
}
}
if (fPrivateData->fScrollBarInfo.knob == KNOB_STYLE_NONE)
if (fPrivateData->fScrollBarInfo.knob == B_KNOB_STYLE_NONE)
return;
// draw the scrollbar thumb knobs
bool square = fPrivateData->fScrollBarInfo.knob == KNOB_STYLE_DOTS;
bool square = fPrivateData->fScrollBarInfo.knob == B_KNOB_STYLE_DOTS;
int32 hextent = 0;
int32 vextent = 0;