Deskbar: Rename _InitData() to just _Init()

in TeamMenuItem. For consistency.
This commit is contained in:
John Scipione 2015-02-19 20:28:28 -05:00
parent 5af340efdf
commit e9982f6828
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ TTeamMenuItem::TTeamMenuItem(BList* team, BBitmap* icon, char* name,
:
TTruncatableMenuItem(new TWindowMenu(team, signature))
{
_InitData(team, icon, name, signature, width, height);
_Init(team, icon, name, signature, width, height);
}
@ -81,7 +81,7 @@ TTeamMenuItem::TTeamMenuItem(float width, float height)
:
TTruncatableMenuItem("", NULL)
{
_InitData(NULL, NULL, strdup(""), strdup(""), width, height);
_Init(NULL, NULL, strdup(""), strdup(""), width, height);
}
@ -413,7 +413,7 @@ TTeamMenuItem::ExpanderBounds() const
void
TTeamMenuItem::_InitData(BList* team, BBitmap* icon, char* name, char* signature,
TTeamMenuItem::_Init(BList* team, BBitmap* icon, char* name, char* signature,
float width, float height)
{
fTeam = team;

View File

@ -91,7 +91,7 @@ protected:
void DrawExpanderArrow();
private:
void _InitData(BList* team, BBitmap* icon,
void _Init(BList* team, BBitmap* icon,
char* name, char* signature,
float width = -1.0f, float height = -1.0f);