summaryrefslogtreecommitdiff
path: root/platform/haiku/haiku_gl_view.h
blob: 78ebb513a8f1d0f7df6cfd70a6094bc5d76e55d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef HAIKU_GL_VIEW_H
#define HAIKU_GL_VIEW_H

#include <kernel/image.h> // needed for image_id
#include <GLView.h>

class HaikuGLView : public BGLView
{
public:
	HaikuGLView(BRect frame, uint32 type);
	virtual void AttachedToWindow(void);
	virtual void MessageReceived(BMessage* msg);
	virtual void MouseMoved (BPoint where, uint32 code, const BMessage *dragMessage);
	virtual void Draw(BRect updateRect);
};

#endif