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: public:
DrawData(void); DrawData(void);
DrawData(const DrawData &data); DrawData(const DrawData &data);
~DrawData(void); virtual ~DrawData(void);
DrawData &operator=(const DrawData &from); DrawData& operator=(const DrawData &from);
// uncomment when needed. Also implement it! :-)
// virtual void PrintToStream() const;
BPoint penlocation; BPoint penlocation;
RGBColor highcolor, RGBColor highcolor,
@@ -69,10 +72,9 @@ public:
bool fontAliasing; bool fontAliasing;
ServerFont font; ServerFont font;
BRegion *clippReg; BRegion* clippReg;
escapement_delta edelta; escapement_delta edelta;
}; };
class LayerData : public DrawData class LayerData : public DrawData
@@ -81,8 +83,10 @@ public:
LayerData(void); LayerData(void);
LayerData(const Layer *layer); LayerData(const Layer *layer);
LayerData(const LayerData &data); LayerData(const LayerData &data);
virtual ~LayerData(void);
LayerData &operator=(const LayerData &from); LayerData &operator=(const LayerData &from);
~LayerData(void);
virtual void PrintToStream() const;
BPoint coordOrigin; BPoint coordOrigin;
@@ -90,10 +94,10 @@ public:
// We have both because we are not going to suffer from the limitation that R5 // We have both because we are not going to suffer from the limitation that R5
// places on us. We can have both. :) // places on us. We can have both. :)
ServerBitmap *background; ServerBitmap* background;
ServerBitmap *overlay; ServerBitmap* overlay;
// used for the state stack // used for the state stack
LayerData *prevState; LayerData* prevState;
}; };
#endif #endif