Eliminate unused DrawBackground method and restyle header

This commit is contained in:
John Scipione
2013-04-14 13:26:00 -04:00
parent 0969e20ee1
commit 004175c0d9
2 changed files with 8 additions and 17 deletions
-6
View File
@@ -147,9 +147,3 @@ TTeamMenu::DetachedFromWindow()
BMessenger self(this); BMessenger self(this);
TBarApp::Unsubscribe(self); TBarApp::Unsubscribe(self);
} }
void
TTeamMenu::DrawBackground(BRect)
{
}
+8 -11
View File
@@ -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