From 004175c0d93fd0ef416396bc5efabe73af864eb3 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sun, 14 Apr 2013 13:26:00 -0400 Subject: [PATCH] Eliminate unused DrawBackground method and restyle header --- src/apps/deskbar/TeamMenu.cpp | 6 ------ src/apps/deskbar/TeamMenu.h | 19 ++++++++----------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/apps/deskbar/TeamMenu.cpp b/src/apps/deskbar/TeamMenu.cpp index 80a1fa0c2c..e6f895a14e 100644 --- a/src/apps/deskbar/TeamMenu.cpp +++ b/src/apps/deskbar/TeamMenu.cpp @@ -147,9 +147,3 @@ TTeamMenu::DetachedFromWindow() BMessenger self(this); TBarApp::Unsubscribe(self); } - - -void -TTeamMenu::DrawBackground(BRect) -{ -} diff --git a/src/apps/deskbar/TeamMenu.h b/src/apps/deskbar/TeamMenu.h index 244ead8abd..ac3d7cf4a1 100644 --- a/src/apps/deskbar/TeamMenu.h +++ b/src/apps/deskbar/TeamMenu.h @@ -43,21 +43,18 @@ All rights reserved. #include -#include "BarMenuBar.h" -#include "TeamMenuItem.h" - class TTeamMenu : public BMenu { - public: - TTeamMenu(); +public: + TTeamMenu(); - void AttachedToWindow(); - void DetachedFromWindow(); - void DrawBackground(BRect update); + void AttachedToWindow(); + void DetachedFromWindow(); - private: - static int CompareByName(const void* first, const void* second); +private: + static int CompareByName(const void* first, + const void* second); }; -#endif /* TEAMMENU_H */ +#endif // TEAMMENU_H