1/*
2 * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com>
3 * Copyright 2014 Haiku, Inc. All rights reserved.
4 *
5 * Distributed under the terms of the MIT license.
6 *
7 * Authors:
8 *		Tri-Edge AI
9 *		John Scipione, jscipione@gmail.com
10 */
11#ifndef GRAVITY_VIEW_H
12#define GRAVITY_VIEW_H
13
14
15#include <GLView.h>
16
17
18class Gravity;
19struct GravitySource;
20
21
22class GravityView : public BGLView {
23public:
24							GravityView(BRect frame, Gravity* parent);
25							~GravityView();
26
27			void			AttachedToWindow();
28
29			void			DirectDraw();
30
31private:
32			Gravity*		fParent;
33			GravitySource*	fGravitySource;
34
35			int32			fSize;
36			int32			fShade;
37};
38
39
40#endif	// GRAVITY_VIEW_H
41