Minor header-related changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3246 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -171,9 +171,9 @@ virtual void DrawBackground(BRect update);
|
|||||||
|
|
||||||
/*----- Private or reserved -----------------------------------------*/
|
/*----- Private or reserved -----------------------------------------*/
|
||||||
private:
|
private:
|
||||||
friend BWindow;
|
friend class BWindow;
|
||||||
friend BMenuBar;
|
friend class BMenuBar;
|
||||||
friend BMenuItem;
|
friend class BMenuItem;
|
||||||
friend status_t _init_interface_kit_();
|
friend status_t _init_interface_kit_();
|
||||||
friend status_t set_menu_info(menu_info *);
|
friend status_t set_menu_info(menu_info *);
|
||||||
friend status_t get_menu_info(menu_info *);
|
friend status_t get_menu_info(menu_info *);
|
||||||
|
|||||||
@@ -80,10 +80,10 @@ virtual void AllDetached();
|
|||||||
virtual status_t Perform(perform_code d, void *arg);
|
virtual status_t Perform(perform_code d, void *arg);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend BWindow;
|
friend class BWindow;
|
||||||
friend BMenuItem;
|
friend class BMenuItem;
|
||||||
friend BMenuField;
|
friend class BMenuField;
|
||||||
friend BMenu;
|
friend class BMenu;
|
||||||
|
|
||||||
virtual void _ReservedMenuBar1();
|
virtual void _ReservedMenuBar1();
|
||||||
virtual void _ReservedMenuBar2();
|
virtual void _ReservedMenuBar2();
|
||||||
|
|||||||
@@ -65,9 +65,9 @@ virtual void Highlight(bool on);
|
|||||||
|
|
||||||
/*----- Private or reserved -----------------------------------------*/
|
/*----- Private or reserved -----------------------------------------*/
|
||||||
private:
|
private:
|
||||||
friend BMenu;
|
friend class BMenu;
|
||||||
friend BPopUpMenu;
|
friend class BPopUpMenu;
|
||||||
friend BMenuBar;
|
friend class BMenuBar;
|
||||||
|
|
||||||
virtual void _ReservedMenuItem1();
|
virtual void _ReservedMenuItem1();
|
||||||
virtual void _ReservedMenuItem2();
|
virtual void _ReservedMenuItem2();
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ virtual void _ReservedShape2();
|
|||||||
virtual void _ReservedShape3();
|
virtual void _ReservedShape3();
|
||||||
virtual void _ReservedShape4();
|
virtual void _ReservedShape4();
|
||||||
|
|
||||||
friend BShapeIterator;
|
friend class BShapeIterator;
|
||||||
friend class TPicture;
|
friend class TPicture;
|
||||||
friend BView;
|
friend class BView;
|
||||||
friend class BFont;
|
friend class BFont;
|
||||||
void GetData(int32 *opCount, int32 *ptCount, uint32 **opList, BPoint **ptList);
|
void GetData(int32 *opCount, int32 *ptCount, uint32 **opList, BPoint **ptList);
|
||||||
void SetData(int32 opCount, int32 ptCount, uint32 *opList, BPoint *ptList);
|
void SetData(int32 opCount, int32 ptCount, uint32 *opList, BPoint *ptList);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Autolock.h,v 1.1 2002/07/09 12:24:33 ejakowatz Exp $
|
// $Id: Autolock.h,v 1.2 2003/05/14 17:21:46 haydentech Exp $
|
||||||
//
|
//
|
||||||
// This is the BAutolock interface for OpenBeOS. It has been created to
|
// This is the BAutolock interface for OpenBeOS. It has been created to
|
||||||
// be source and binary compatible with the BeOS version of BAutolock.
|
// be source and binary compatible with the BeOS version of BAutolock.
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#define _OPENBEOS_AUTOLOCK_H
|
#define _OPENBEOS_AUTOLOCK_H
|
||||||
|
|
||||||
|
|
||||||
#include "Locker.h"
|
#include <Locker.h>
|
||||||
#include <Looper.h>
|
#include <Looper.h>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
/*------------------------------*/
|
/*------------------------------*/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#define _BLUE_STOP_WATCH_H
|
#define _BLUE_STOP_WATCH_H
|
||||||
|
|
||||||
#include <BeBuild.h>
|
#include <BeBuild.h>
|
||||||
#include "support/SupportDefs.h"
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
#ifdef USE_OPENBEOS_NAMESPACE
|
#ifdef USE_OPENBEOS_NAMESPACE
|
||||||
namespace OpenBeOS {
|
namespace OpenBeOS {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ typedef unsigned short ushort;
|
|||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
#include <BeBuild.h>
|
#include <BeBuild.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <support/Errors.h>
|
#include <Errors.h>
|
||||||
|
|
||||||
// Project Includes ------------------------------------------------------------
|
// Project Includes ------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
//
|
//
|
||||||
// $Id: MessageQueue.cpp,v 1.2 2002/09/28 09:49:34 shatty Exp $
|
// $Id: MessageQueue.cpp,v 1.3 2003/05/14 17:21:46 haydentech Exp $
|
||||||
//
|
//
|
||||||
// This file contains the implementation of the BMessageQueue class
|
// This file contains the implementation of the BMessageQueue class
|
||||||
// for the OpenBeOS project.
|
// for the OpenBeOS project.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
#include "MessageQueue.h"
|
#include <MessageQueue.h>
|
||||||
#include "Autolock.h"
|
#include <Autolock.h>
|
||||||
#include "Message.h"
|
#include <Message.h>
|
||||||
|
|
||||||
#ifdef USE_OPENBEOS_NAMESPACE
|
#ifdef USE_OPENBEOS_NAMESPACE
|
||||||
namespace OpenBeOS {
|
namespace OpenBeOS {
|
||||||
|
|||||||
@@ -28,9 +28,9 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
#include "ColorControl.h"
|
#include <ColorControl.h>
|
||||||
#include "TextControl.h"
|
#include <TextControl.h>
|
||||||
#include <Support/Errors.h>
|
#include <Errors.h>
|
||||||
|
|
||||||
// Project Includes ------------------------------------------------------------
|
// Project Includes ------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// Standard Includes -----------------------------------------------------------
|
// Standard Includes -----------------------------------------------------------
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
#include <Control.h>
|
#include <Control.h>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Standard Includes -----------------------------------------------------------
|
// Standard Includes -----------------------------------------------------------
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
#include <MenuItem.h>
|
#include <MenuItem.h>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
// Standard Includes -----------------------------------------------------------
|
// Standard Includes -----------------------------------------------------------
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
#include <Picture.h>
|
#include <Picture.h>
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ BArchivable *BScrollBar::Instantiate(BMessage *data)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
status_t BScrollBar::Archive(BMessage *data, bool deep = true) const
|
status_t BScrollBar::Archive(BMessage *data, bool deep) const
|
||||||
{
|
{
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
@@ -481,6 +481,10 @@ void BScrollBar::ResizeToPreferred()
|
|||||||
|
|
||||||
void BScrollBar::GetPreferredSize(float *width, float *height)
|
void BScrollBar::GetPreferredSize(float *width, float *height)
|
||||||
{
|
{
|
||||||
|
if (fOrientation == B_VERTICAL)
|
||||||
|
*width = B_V_SCROLL_BAR_WIDTH;
|
||||||
|
else if (fOrientation == B_HORIZONTAL)
|
||||||
|
*height = B_H_SCROLL_BAR_HEIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
void BScrollBar::MakeFocus(bool state)
|
void BScrollBar::MakeFocus(bool state)
|
||||||
|
|||||||
@@ -24,11 +24,11 @@
|
|||||||
// Description: BShape encapsulates a Postscript-style "path"
|
// Description: BShape encapsulates a Postscript-style "path"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "Shape.h"
|
#include <Shape.h>
|
||||||
#include "Point.h"
|
#include <Point.h>
|
||||||
#include "Rect.h"
|
#include <Rect.h>
|
||||||
#include <Support/Errors.h>
|
#include <Errors.h>
|
||||||
#include <App/Message.h>
|
#include <Message.h>
|
||||||
|
|
||||||
#define OP_LINETO 0x10000000
|
#define OP_LINETO 0x10000000
|
||||||
#define OP_BEZIERTO 0x20000000
|
#define OP_BEZIERTO 0x20000000
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
// Standard Includes -----------------------------------------------------------
|
// Standard Includes -----------------------------------------------------------
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// Standard Includes -----------------------------------------------------------
|
// Standard Includes -----------------------------------------------------------
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// System Includes -------------------------------------------------------------
|
// System Includes -------------------------------------------------------------
|
||||||
#include <StatusBar.h>
|
#include <StatusBar.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user