Deskbar: Add some pragma statements

This commit is contained in:
John Scipione 2015-02-19 18:59:39 -05:00
parent 1501d1d619
commit 072c2dcde2
4 changed files with 15 additions and 2 deletions

View File

@ -50,6 +50,9 @@ All rights reserved.
#include "TeamMenuItem.h"
// #pragma mark - TTeamMenuItem
TTeamMenu::TTeamMenu()
:
BMenu("Team Menu")

View File

@ -65,6 +65,9 @@ const float kLabelOffset = 8.0f;
const float kSwitchWidth = 12.0f;
// #pragma mark - TTeamMenuItem
TTeamMenuItem::TTeamMenuItem(BList* team, BBitmap* icon, char* name,
char* signature, float width, float height)
:

View File

@ -46,7 +46,6 @@ All rights reserved.
#include "BarApp.h"
#include "BarView.h"
#include "ExpandoMenuBar.h"
#include "ShowHideMenuItem.h"
#include "TeamMenu.h"
#include "TeamMenuItem.h"
@ -66,6 +65,10 @@ const int32 kSystemFloater = 6;
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "WindowMenu"
// #pragma mark - TWindowMenu
bool
TWindowMenu::WindowShouldBeListed(client_window_info* info)
{

View File

@ -44,11 +44,12 @@ All rights reserved.
#include "BarMenuBar.h"
#include "BarView.h"
#include "ExpandoMenuBar.h"
#include "icons.h"
#include "ResourceSet.h"
#include "TeamMenu.h"
#include "WindowMenu.h"
#include "icons.h"
const float kHPad = 10.0f;
const float kVPad = 2.0f;
@ -57,6 +58,9 @@ const float kLabelOffset = 8.0f;
const BRect kIconRect(1.0f, 1.0f, 13.0f, 14.0f);
// #pragma mark - TWindowMenuItem
TWindowMenuItem::TWindowMenuItem(const char* label, int32 id, bool mini,
bool currentWorkspace, bool dragging)
: