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:
parent
c24e9a8838
commit
9080b4b47c
@ -42,7 +42,6 @@
|
||||
class BRegion;
|
||||
class LinkMsgReader;
|
||||
class LinkMsgSender;
|
||||
class ServerBitmap;
|
||||
|
||||
class DrawData {
|
||||
public:
|
||||
@ -172,21 +171,6 @@ class LayerData : public DrawData {
|
||||
|
||||
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
|
||||
virtual void PrintToStream() const;
|
||||
|
||||
@ -197,16 +181,6 @@ class LayerData : public DrawData {
|
||||
void ReadFromLink(LinkMsgReader& link);
|
||||
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:
|
||||
// used for the state stack
|
||||
LayerData* prevState;
|
||||
|
Loading…
Reference in New Issue
Block a user