Minor header-related changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3246 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -172,7 +172,7 @@ BArchivable *BScrollBar::Instantiate(BMessage *data)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
status_t BScrollBar::Archive(BMessage *data, bool deep = true) const
|
||||
status_t BScrollBar::Archive(BMessage *data, bool deep) const
|
||||
{
|
||||
return B_ERROR;
|
||||
}
|
||||
@@ -481,6 +481,10 @@ void BScrollBar::ResizeToPreferred()
|
||||
|
||||
void BScrollBar::GetPreferredSize(float *width, float *height)
|
||||
{
|
||||
if (fOrientation == B_VERTICAL)
|
||||
*width = B_V_SCROLL_BAR_WIDTH;
|
||||
else if (fOrientation == B_HORIZONTAL)
|
||||
*height = B_H_SCROLL_BAR_HEIGHT;
|
||||
}
|
||||
|
||||
void BScrollBar::MakeFocus(bool state)
|
||||
|
||||
Reference in New Issue
Block a user