Deskbar: Rename _InitData() to just _Init()
in TeamMenuItem. For consistency.
This commit is contained in:
@@ -73,7 +73,7 @@ TTeamMenuItem::TTeamMenuItem(BList* team, BBitmap* icon, char* name,
|
|||||||
:
|
:
|
||||||
TTruncatableMenuItem(new TWindowMenu(team, signature))
|
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)
|
TTruncatableMenuItem("", NULL)
|
||||||
{
|
{
|
||||||
_InitData(NULL, NULL, strdup(""), strdup(""), width, height);
|
_Init(NULL, NULL, strdup(""), strdup(""), width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -413,7 +413,7 @@ TTeamMenuItem::ExpanderBounds() const
|
|||||||
|
|
||||||
|
|
||||||
void
|
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)
|
float width, float height)
|
||||||
{
|
{
|
||||||
fTeam = team;
|
fTeam = team;
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ protected:
|
|||||||
void DrawExpanderArrow();
|
void DrawExpanderArrow();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _InitData(BList* team, BBitmap* icon,
|
void _Init(BList* team, BBitmap* icon,
|
||||||
char* name, char* signature,
|
char* name, char* signature,
|
||||||
float width = -1.0f, float height = -1.0f);
|
float width = -1.0f, float height = -1.0f);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user