summaryrefslogtreecommitdiff
path: root/platform/haiku/haiku_gl_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/haiku/haiku_gl_view.h')
-rw-r--r--platform/haiku/haiku_gl_view.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/haiku/haiku_gl_view.h b/platform/haiku/haiku_gl_view.h
new file mode 100644
index 0000000000..78ebb513a8
--- /dev/null
+++ b/platform/haiku/haiku_gl_view.h
@@ -0,0 +1,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