interface kit: added compatibility symbols for GCC4
* InvalidateLayout method for BBox, BButton, BCheckBox, BMenuField, BScrollView, BSlider, BStringView, BTextControl.
This commit is contained in:
@@ -874,11 +874,9 @@ BBox::_ValidateLayoutData()
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__4BBoxb(BBox* box, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__4BBoxb, _ZN4BBox16InvalidateLayoutEb)(
|
||||
BBox* box, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -886,5 +884,3 @@ InvalidateLayout__4BBoxb(BBox* box, bool descendants)
|
||||
box->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -781,11 +781,9 @@ BButton::_DrawFocusLine(float x, float y, float width, bool visible)
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__7BButtonb(BView* view, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__7BButtonb, _ZN7BButton16InvalidateLayoutEb)(
|
||||
BView* view, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -793,5 +791,3 @@ InvalidateLayout__7BButtonb(BView* view, bool descendants)
|
||||
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -624,11 +624,9 @@ BCheckBox::operator=(const BCheckBox &)
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__9BCheckBoxb(BCheckBox* box, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__9BCheckBoxb, _ZN9BCheckBox16InvalidateLayoutEb)(
|
||||
BCheckBox* box, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -636,5 +634,3 @@ InvalidateLayout__9BCheckBoxb(BCheckBox* box, bool descendants)
|
||||
box->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1511,11 +1511,9 @@ BMenuField::MenuBarLayoutItem::Instantiate(BMessage* from)
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__10BMenuFieldb(BMenuField* field, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__10BMenuFieldb, _ZN10BMenuField16InvalidateLayoutEb)(
|
||||
BMenuField* field, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -1523,5 +1521,3 @@ InvalidateLayout__10BMenuFieldb(BMenuField* field, bool descendants)
|
||||
field->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -898,11 +898,9 @@ void BScrollView::_ReservedScrollView3() {}
|
||||
void BScrollView::_ReservedScrollView4() {}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__11BScrollViewb(BScrollView* view, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__11BScrollViewb,
|
||||
_ZN11BScrollView16InvalidateLayoutEb)(BScrollView* view, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -910,5 +908,3 @@ InvalidateLayout__11BScrollViewb(BScrollView* view, bool descendants)
|
||||
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2230,8 +2230,12 @@ _ReservedSlider3__7BSlider(BSlider* slider, const BFont* font,
|
||||
}
|
||||
|
||||
|
||||
#endif // __GNUC__ < 3
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__7BSliderb(BView* view, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__7BSliderb, _ZN7BSlider16InvalidateLayoutEb)(
|
||||
BView* view, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -2239,4 +2243,3 @@ InvalidateLayout__7BSliderb(BView* view, bool descendants)
|
||||
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
#endif // __GNUC__ < 3
|
||||
|
||||
@@ -454,11 +454,9 @@ BStringView::_ValidatePreferredSize()
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__11BStringViewb(BView* view, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__11BStringViewb,
|
||||
_ZN11BStringView16InvalidateLayoutEb)(BView* view, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -466,5 +464,3 @@ InvalidateLayout__11BStringViewb(BView* view, bool descendants)
|
||||
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1480,11 +1480,9 @@ BTextControl::TextViewLayoutItem::Instantiate(BMessage* from)
|
||||
}
|
||||
|
||||
|
||||
#if __GNUC__ == 2
|
||||
|
||||
|
||||
extern "C" void
|
||||
InvalidateLayout__12BTextControlb(BView* view, bool descendants)
|
||||
B_IF_GCC_2(InvalidateLayout__12BTextControlb,
|
||||
_ZN12BTextControl16InvalidateLayoutEb)(BView* view, bool descendants)
|
||||
{
|
||||
perform_data_layout_invalidated data;
|
||||
data.descendants = descendants;
|
||||
@@ -1492,5 +1490,3 @@ InvalidateLayout__12BTextControlb(BView* view, bool descendants)
|
||||
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user