2 * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com>
3 * Copyright 2014 Haiku, Inc. All rights reserved.
5 * Distributed under the terms of the MIT license.
9 * John Scipione, jscipione@gmail.com
11 #ifndef GRAVITY_SCREEN_SAVER_H
12 #define GRAVITY_SCREEN_SAVER_H
15 #include <ScreenSaver.h>
25 class Gravity
: public BScreenSaver
{
32 Gravity(BMessage
* prefs
, image_id imageID
);
34 status_t
SaveState(BMessage
* prefs
) const;
36 void StartConfig(BView
* view
);
38 status_t
StartSaver(BView
* view
, bool preview
);
41 void DirectConnected(direct_buffer_info
* info
);
42 void Draw(BView
*, int32 frame
);
45 GravityView
* fGravityView
;
46 ConfigView
* fConfigView
;
50 #endif // GRAVITY_SCREEN_SAVER_H