xref: /haiku/src/preferences/screensaver/PreviewView.h (revision b55a57da7173b9af0432bd3e148d03f06161d036)
1 /*
2  * Copyright 2003-2006, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Michael Phipps
7  *		Jérôme Duval, jerome.duval@free.fr
8  */
9 #ifndef PREVIEW_VIEW_H
10 #define PREVIEW_VIEW_H
11 
12 
13 #include <View.h>
14 #include <Box.h>
15 #include <ScreenSaverRunner.h>
16 
17 class BScreenSaver;
18 
19 
20 class PreviewView : public BView {
21 	public:
22 		PreviewView(BRect frame, const char *name);
23 		virtual ~PreviewView();
24 
25 		virtual void Draw(BRect update);
26 
27 		BView* AddPreview();
28 		BView* RemovePreview();
29 
30 	private:
31 		BView* fSaverView;
32 };
33 
34 #endif	// PREVIEW_VIEW_H
35