Move WidthBuffer and TextGapBuffer into BPrivate and use them from there in BPoseView and BTextView. This (correctly) fixes the previous gcc4 build issues.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27675 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -150,7 +150,7 @@ struct BTextView::LayoutData {
|
||||
};
|
||||
|
||||
// Initialized/finalized by init/fini_interface_kit
|
||||
BTextView::WidthBuffer* BTextView::sWidths = NULL;
|
||||
BPrivate::WidthBuffer* BTextView::sWidths = NULL;
|
||||
|
||||
|
||||
const static rgb_color kBlackColor = { 0, 0, 0, 255 };
|
||||
@@ -3009,7 +3009,7 @@ BTextView::_InitObject(BRect textRect, const BFont *initialFont,
|
||||
if (initialColor == NULL)
|
||||
initialColor = &kBlackColor;
|
||||
|
||||
fText = new TextGapBuffer;
|
||||
fText = new BPrivate::TextGapBuffer;
|
||||
fLines = new LineBuffer;
|
||||
fStyles = new StyleBuffer(&font, initialColor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user