viewColor, background and overlay bitmaps are not part of a view graphics state anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13050 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -42,7 +42,6 @@
|
|||||||
class BRegion;
|
class BRegion;
|
||||||
class LinkMsgReader;
|
class LinkMsgReader;
|
||||||
class LinkMsgSender;
|
class LinkMsgSender;
|
||||||
class ServerBitmap;
|
|
||||||
|
|
||||||
class DrawData {
|
class DrawData {
|
||||||
public:
|
public:
|
||||||
@@ -172,21 +171,6 @@ class LayerData : public DrawData {
|
|||||||
|
|
||||||
LayerData& operator=(const LayerData &from);
|
LayerData& operator=(const LayerData &from);
|
||||||
|
|
||||||
// automatic background blanking by app_server
|
|
||||||
void SetViewColor(const RGBColor& color);
|
|
||||||
inline const RGBColor& ViewColor() const
|
|
||||||
{ return fViewColor; }
|
|
||||||
|
|
||||||
void SetBackgroundBitmap(const ServerBitmap* bitmap);
|
|
||||||
inline const ServerBitmap* BackgroundBitmap() const
|
|
||||||
{ return fBackgroundBitmap; }
|
|
||||||
|
|
||||||
// overlay support
|
|
||||||
// TODO: This can't be all, what about color key?
|
|
||||||
void SetOverlayBitmap(const ServerBitmap* bitmap);
|
|
||||||
inline const ServerBitmap* OverlayBitmap() const
|
|
||||||
{ return fOverlayBitmap; }
|
|
||||||
|
|
||||||
// convenience functions
|
// convenience functions
|
||||||
virtual void PrintToStream() const;
|
virtual void PrintToStream() const;
|
||||||
|
|
||||||
@@ -197,16 +181,6 @@ class LayerData : public DrawData {
|
|||||||
void ReadFromLink(LinkMsgReader& link);
|
void ReadFromLink(LinkMsgReader& link);
|
||||||
void WriteToLink(LinkMsgSender& link) const;
|
void WriteToLink(LinkMsgSender& link) const;
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
RGBColor fViewColor;
|
|
||||||
|
|
||||||
// We have both because we are not going to suffer
|
|
||||||
// from the limitation that R5 places on us.
|
|
||||||
// We can have both. :)
|
|
||||||
const ServerBitmap* fBackgroundBitmap;
|
|
||||||
const ServerBitmap* fOverlayBitmap;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// used for the state stack
|
// used for the state stack
|
||||||
LayerData* prevState;
|
LayerData* prevState;
|
||||||
|
|||||||
Reference in New Issue
Block a user