added PrintToStream method

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7147 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2004-04-03 15:03:57 +00:00
parent 979f50e101
commit 254a8cc4a3
+12 -8
View File
@@ -48,8 +48,11 @@ class DrawData
public:
DrawData(void);
DrawData(const DrawData &data);
~DrawData(void);
DrawData &operator=(const DrawData &from);
virtual ~DrawData(void);
DrawData& operator=(const DrawData &from);
// uncomment when needed. Also implement it! :-)
// virtual void PrintToStream() const;
BPoint penlocation;
RGBColor highcolor,
@@ -69,10 +72,9 @@ public:
bool fontAliasing;
ServerFont font;
BRegion *clippReg;
BRegion* clippReg;
escapement_delta edelta;
};
class LayerData : public DrawData
@@ -81,8 +83,10 @@ public:
LayerData(void);
LayerData(const Layer *layer);
LayerData(const LayerData &data);
virtual ~LayerData(void);
LayerData &operator=(const LayerData &from);
~LayerData(void);
virtual void PrintToStream() const;
BPoint coordOrigin;
@@ -90,10 +94,10 @@ public:
// We have both because we are not going to suffer from the limitation that R5
// places on us. We can have both. :)
ServerBitmap *background;
ServerBitmap *overlay;
ServerBitmap* background;
ServerBitmap* overlay;
// used for the state stack
LayerData *prevState;
LayerData* prevState;
};
#endif