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:
haydentech
2003-05-14 17:21:46 +00:00
parent e1d7ae79b2
commit 30fd51473f
17 changed files with 1702 additions and 1698 deletions
+3 -3
View File
@@ -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 *);
+4 -4
View File
@@ -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();
+3 -3
View File
@@ -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();
+2 -2
View File
@@ -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);
+2 -2
View File
@@ -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>
+1 -1
View File
@@ -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>
/*------------------------------*/ /*------------------------------*/
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 ------------------------------------------------------------
+4 -4
View File
@@ -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 {
+3 -3
View File
@@ -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 ------------------------------------------------------------
+1 -1
View File
@@ -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 -1
View File
@@ -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>
+1 -1
View File
@@ -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>
+5 -1
View File
@@ -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)
+5 -5
View File
@@ -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
+1 -1
View File
@@ -25,7 +25,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Standard Includes ----------------------------------------------------------- // Standard Includes -----------------------------------------------------------
#include <malloc.h> #include <stdlib.h>
#include <string.h> #include <string.h>
// System Includes ------------------------------------------------------------- // System Includes -------------------------------------------------------------
+1 -1
View File
@@ -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>