RemoteDrawingEngine: Reduce RP_READ_BITMAP result timeout.
[haiku.git] / src / preferences / screensaver / ScreenSaverWindow.h
blobe1f8834246d31b1c27aef4a3a6186be52ebf42a7
1 /*
2 * Copyright 2003-2013 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Axel Dörfler, axeld@pinc-software.de
7 * Jérôme Duval, jerome.duval@free.fr
8 * Michael Phipps
9 * John Scipione, jscipione@gmail.com
11 #ifndef SCREEN_SAVER_WINDOW_H
12 #define SCREEN_SAVER_WINDOW_H
15 #include <DirectWindow.h>
17 #include "PasswordWindow.h"
18 #include "ScreenSaverSettings.h"
21 class BMessage;
22 class BRect;
24 class FadeView;
25 class ModulesView;
26 class TabView;
29 class ScreenSaverWindow : public BWindow {
30 public:
31 ScreenSaverWindow();
32 virtual ~ScreenSaverWindow();
34 virtual void MessageReceived(BMessage* message);
35 virtual void ScreenChanged(BRect frame, color_space space);
36 virtual bool QuitRequested();
38 void LoadSettings();
40 private:
41 float fMinWidth;
42 float fMinHeight;
43 ScreenSaverSettings fSettings;
44 PasswordWindow* fPasswordWindow;
46 FadeView* fFadeView;
47 ModulesView* fModulesView;
48 TabView* fTabView;
52 static const int32 kMsgUpdateList = 'UPDL';
55 #endif // SCREEN_SAVER_WINDOW_H