moved Shape related defines to their own header

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19154 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-10-30 21:20:38 +00:00
parent 34633cab94
commit 2f9eca855a
5 changed files with 36 additions and 30 deletions
+2 -18
View File
@@ -16,29 +16,13 @@
#include <Point.h>
#include <Rect.h>
#include <ShapePrivate.h>
#include <new>
#include <stdlib.h>
#include <string.h>
// NOTE: changing these defines will break Painter,
// currently located in src/servers/app/drawing/Painter/Painter.cpp
#define OP_LINETO 0x10000000
#define OP_BEZIERTO 0x20000000
#define OP_CLOSE 0x40000000
#define OP_MOVETO 0x80000000
struct shape_data {
uint32 *opList;
int32 opCount;
int32 opSize;
int32 opBlockSize;
BPoint *ptList;
int32 ptCount;
int32 ptSize;
int32 ptBlockSize;
};
BShapeIterator::BShapeIterator()
+1
View File
@@ -16,6 +16,7 @@
#include <MessageUtils.h>
#include <PortLink.h>
#include <ServerProtocol.h>
#include <ShapePrivate.h>
#include <TokenSpace.h>
#include <ViewPrivate.h>