Eliminate unused DrawBackground method and restyle header
This commit is contained in:
@@ -147,9 +147,3 @@ TTeamMenu::DetachedFromWindow()
|
|||||||
BMessenger self(this);
|
BMessenger self(this);
|
||||||
TBarApp::Unsubscribe(self);
|
TBarApp::Unsubscribe(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
TTeamMenu::DrawBackground(BRect)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -43,21 +43,18 @@ All rights reserved.
|
|||||||
|
|
||||||
#include <Menu.h>
|
#include <Menu.h>
|
||||||
|
|
||||||
#include "BarMenuBar.h"
|
|
||||||
#include "TeamMenuItem.h"
|
|
||||||
|
|
||||||
|
|
||||||
class TTeamMenu : public BMenu {
|
class TTeamMenu : public BMenu {
|
||||||
public:
|
public:
|
||||||
TTeamMenu();
|
TTeamMenu();
|
||||||
|
|
||||||
void AttachedToWindow();
|
void AttachedToWindow();
|
||||||
void DetachedFromWindow();
|
void DetachedFromWindow();
|
||||||
void DrawBackground(BRect update);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static int CompareByName(const void* first, const void* second);
|
static int CompareByName(const void* first,
|
||||||
|
const void* second);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* TEAMMENU_H */
|
#endif // TEAMMENU_H
|
||||||
|
|||||||
Reference in New Issue
Block a user