virtualx-engine/platform/haiku/haiku_gl_view.h
2015-06-16 21:52:24 +03:00

17 lines
420 B
C++

#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