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.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/platform/haiku/haiku_gl_view.h b/platform/haiku/haiku_gl_view.h
index 44d05fa27f..78ebb513a8 100644
--- a/platform/haiku/haiku_gl_view.h
+++ b/platform/haiku/haiku_gl_view.h
@@ -7,21 +7,11 @@
class HaikuGLView : public BGLView
{
public:
- HaikuGLView(BRect frame, uint32 type);
- virtual void AttachedToWindow(void);
- virtual void FrameResized(float newWidth, float newHeight);
- virtual void MessageReceived(BMessage * msg);
- virtual void KeyDown(const char* bytes, int32 numBytes);
-
- void Render(void);
-
-private:
- void gDraw(float rotation = 0);
- void gReshape(int width, int height);
-
- float width;
- float height;
- float rotate;
+ 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