RemoteDrawingEngine: Reduce RP_READ_BITMAP result timeout.
[haiku.git] / src / preferences / screensaver / PreviewView.h
blobf062f9c233070205245a4fc208117da8a2432878
1 /*
2 * Copyright 2003-2013 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
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
13 #include <View.h>
16 class BTextView;
18 class PreviewView : public BView {
19 public:
20 PreviewView(const char* name);
21 virtual ~PreviewView();
23 virtual void Draw(BRect updateRect);
25 BView* AddPreview();
26 BView* RemovePreview();
27 BView* SaverView();
29 void ShowNoPreview() const;
30 void HideNoPreview() const;
32 private:
33 BView* fSaverView;
34 BTextView* fNoPreview;
38 #endif // PREVIEW_VIEW_H