Cleaned up the include list. It's probably safest to include <Debug.h> before

anything else.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29600 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-03-18 17:21:48 +00:00
parent 1162fe1c93
commit 1cf94bf91f
2 changed files with 11 additions and 5 deletions

View File

@ -32,14 +32,17 @@ names are registered trademarks or trademarks of their respective holders.
All rights reserved.
*/
#include <string.h>
#include <Debug.h>
#include "BarMenuBar.h"
#include <string.h>
#include <Bitmap.h>
#include <NodeInfo.h>
#include "icons.h"
#include "icons_logo.h"
#include "BarMenuBar.h"
#include "BarWindow.h"
#include "BeMenu.h"
#include "DeskBarUtils.h"

View File

@ -32,13 +32,16 @@ names are registered trademarks or trademarks of their respective holders.
All rights reserved.
*/
#include <Debug.h>
#include "BarView.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <AppFileInfo.h>
#include <Bitmap.h>
#include <Debug.h>
#include <Directory.h>
#include <NodeInfo.h>
#include <Roster.h>
@ -47,7 +50,6 @@ All rights reserved.
#include "icons.h"
#include "BarApp.h"
#include "BarView.h"
#include "BarMenuBar.h"
#include "BarWindow.h"
#include "BeMenu.h"
@ -139,7 +141,8 @@ TBarView::Draw(BRect)
if (Vertical() && Expando()) {
SetHighColor(hilite);
BRect frame(fExpando->Frame());
StrokeLine(frame.LeftTop() + BPoint(0, -1), frame.RightTop() + BPoint(0, -1));
StrokeLine(BPoint(frame.left, frame.top - 1),
BPoint(frame.right, frame.top -1));
}
}