3ca8cdfc07
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15636 a95241bf-73f2-0310-859d-f6bbb57e9c96
34 lines
702 B
C++
34 lines
702 B
C++
/*
|
|
* Copyright 2005, Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT license.
|
|
*
|
|
* Author:
|
|
* Stephan Aßmus <superstippi@gmx.de>
|
|
*/
|
|
#ifndef OFFSCREEN_WINBORDER_H
|
|
#define OFFSCREEN_WINBORDER_H
|
|
|
|
|
|
#include "WindowLayer.h"
|
|
|
|
|
|
class BitmapHWInterface;
|
|
class ServerBitmap;
|
|
|
|
class OffscreenWindowLayer : public WindowLayer {
|
|
public:
|
|
OffscreenWindowLayer(ServerBitmap* bitmap,
|
|
const char* name,
|
|
::ServerWindow* window);
|
|
virtual ~OffscreenWindowLayer();
|
|
|
|
virtual bool IsOffscreenWindow() const
|
|
{ return true; }
|
|
|
|
private:
|
|
ServerBitmap* fBitmap;
|
|
BitmapHWInterface* fHWInterface;
|
|
};
|
|
|
|
#endif // OFFSCREEN_WINBORDER_H
|