BMenu: Remove _ from protected method _DrawItems
This commit is contained in:
@@ -223,7 +223,7 @@ private:
|
|||||||
BRect _CalcFrame(BPoint where, bool* scrollOn);
|
BRect _CalcFrame(BPoint where, bool* scrollOn);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _DrawItems(BRect updateRect);
|
void DrawItems(BRect updateRect);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _OverSuper(BPoint loc);
|
bool _OverSuper(BPoint loc);
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ _BMCMenuBar_::Draw(BRect updateRect)
|
|||||||
be_control_look->DrawMenuFieldBackground(this, rect,
|
be_control_look->DrawMenuFieldBackground(this, rect,
|
||||||
updateRect, base, fShowPopUpMarker, flags);
|
updateRect, base, fShowPopUpMarker, flags);
|
||||||
|
|
||||||
_DrawItems(updateRect);
|
DrawItems(updateRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -427,7 +427,7 @@ BMenu::Draw(BRect updateRect)
|
|||||||
}
|
}
|
||||||
|
|
||||||
DrawBackground(updateRect);
|
DrawBackground(updateRect);
|
||||||
_DrawItems(updateRect);
|
DrawItems(updateRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -2436,7 +2436,7 @@ BMenu::_CalcFrame(BPoint where, bool* scrollOn)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
BMenu::_DrawItems(BRect updateRect)
|
BMenu::DrawItems(BRect updateRect)
|
||||||
{
|
{
|
||||||
int32 itemCount = fItems.CountItems();
|
int32 itemCount = fItems.CountItems();
|
||||||
for (int32 i = 0; i < itemCount; i++) {
|
for (int32 i = 0; i < itemCount; i++) {
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ BMenuBar::Draw(BRect updateRect)
|
|||||||
be_control_look->DrawMenuBarBackground(this, rect, updateRect, base,
|
be_control_look->DrawMenuBarBackground(this, rect, updateRect, base,
|
||||||
0, fBorders);
|
0, fBorders);
|
||||||
|
|
||||||
_DrawItems(updateRect);
|
DrawItems(updateRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user