xref: /haiku/src/servers/app/OffscreenWindow.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * Copyright 2005-2008, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT license.
4  *
5  * Author:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 #ifndef OFFSCREEN_WINDOW_H
9 #define OFFSCREEN_WINDOW_H
10 
11 
12 #include "Window.h"
13 
14 
15 class BitmapHWInterface;
16 class ServerBitmap;
17 
18 class OffscreenWindow : public Window {
19 public:
20 							OffscreenWindow(ServerBitmap* bitmap,
21 								const char* name, ::ServerWindow* window);
22 	virtual					~OffscreenWindow();
23 
24 	virtual	bool			IsOffscreenWindow() const
25 								{ return true; }
26 
27 private:
28 	ServerBitmap*			fBitmap;
29 	BitmapHWInterface*		fHWInterface;
30 };
31 
32 #endif	// OFFSCREEN_WINDOW_H
33