* Renamed ViewAux.h header to ViewPrivate.h.

* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17210 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-04-23 15:55:15 +00:00
parent 0ac013e66f
commit 621a832488
4 changed files with 51 additions and 62 deletions
@@ -1,7 +1,17 @@
#ifndef _VIEWAUX_H_ /*
#define _VIEWAUX_H_ * Copyright 2003-2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Adrian Oanca <adioanca@cotty.iren.ro>
* Axel Dörfler, axeld@pinc-software.de
*/
#ifndef VIEW_PRIVATE_H
#define VIEW_PRIVATE_H
#include <PortLink.h>
#include <BeBuild.h>
#include <Font.h> #include <Font.h>
#include <InterfaceDefs.h> #include <InterfaceDefs.h>
#include <Point.h> #include <Point.h>
@@ -133,4 +143,4 @@ struct _array_data_{
_array_hdr_* array; _array_hdr_* array;
}; };
#endif /* _VIEWAUX_H_ */ #endif /* VIEW_PRIVATE_H */
+12 -26
View File
@@ -1,28 +1,15 @@
//------------------------------------------------------------------------------ /*
// Copyright (c) 2001-2004, Haiku * Copyright 2001-2006, Haiku.
// * Distributed under the terms of the MIT License.
// Permission is hereby granted, free of charge, to any person obtaining a *
// copy of this software and associated documentation files (the "Software"), * Authors:
// to deal in the Software without restriction, including without limitation * Marc Flerackers ([email protected])
// the rights to use, copy, modify, merge, publish, distribute, sublicense, */
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions: //! BDragger represents a replicant "handle".
//
// The above copyright notice and this permission notice shall be included in #include <ViewPrivate.h>
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
// File Name: Dragger.cpp
// Author: Marc Flerackers ([email protected])
// Description: BDragger represents a replicant "handle".
//------------------------------------------------------------------------------
#include <Alert.h> #include <Alert.h>
#include <Beep.h> #include <Beep.h>
#include <Bitmap.h> #include <Bitmap.h>
@@ -36,7 +23,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <ViewAux.h>
bool BDragger::sVisible; bool BDragger::sVisible;
bool BDragger::sInited; bool BDragger::sInited;
+22 -28
View File
@@ -8,40 +8,34 @@
*/ */
#include <BeBuild.h>
#include <InterfaceDefs.h>
#include <PropertyInfo.h>
#include <Handler.h>
#include <View.h>
#include <Window.h>
#include <Message.h>
#include <MessageQueue.h>
#include <Rect.h>
#include <Point.h>
#include <Region.h>
#include <Font.h>
#include <ScrollBar.h>
#include <Cursor.h>
#include <Bitmap.h>
#include <Picture.h>
#include <Polygon.h>
#include <Shape.h>
#include <Button.h>
#include <Shelf.h>
#include <MenuBar.h>
#include <String.h>
#include <SupportDefs.h>
#include <Application.h>
#include <AppMisc.h> #include <AppMisc.h>
#include <ViewAux.h> #include <AppServerLink.h>
#include <TokenSpace.h>
#include <MessagePrivate.h> #include <MessagePrivate.h>
#include <MessageUtils.h> #include <MessageUtils.h>
#include <AppServerLink.h>
#include <PortLink.h> #include <PortLink.h>
#include <ServerProtocol.h> #include <ServerProtocol.h>
#include <TokenSpace.h>
#include <ViewPrivate.h>
#include <Application.h>
#include <Bitmap.h>
#include <Button.h>
#include <Cursor.h>
#include <InterfaceDefs.h>
#include <Message.h>
#include <MessageQueue.h>
#include <Picture.h>
#include <Point.h>
#include <Polygon.h>
#include <PropertyInfo.h>
#include <Region.h>
#include <ScrollBar.h>
#include <Shape.h>
#include <Shelf.h>
#include <String.h>
#include <View.h>
#include <Window.h>
#include <MenuBar.h>
#include <math.h> #include <math.h>
#include <new> #include <new>
+1 -2
View File
@@ -44,7 +44,6 @@
#include <MessagePrivate.h> #include <MessagePrivate.h>
#include <PictureProtocol.h> #include <PictureProtocol.h>
#include <PortLink.h> #include <PortLink.h>
#include <ViewAux.h>
#include <WindowInfo.h> #include <WindowInfo.h>
#include <WindowPrivate.h> #include <WindowPrivate.h>
@@ -2130,7 +2129,7 @@ ServerWindow::_DispatchViewDrawingMessage(int32 code, BPrivate::LinkReceiver &li
// Attached Data: // Attached Data:
// 1) int32 Number of lines in the array // 1) int32 Number of lines in the array
// 2) array of struct _array_data_ objects, as defined in ViewAux.h // 2) LineArrayData
int32 lineCount; int32 lineCount;