2015-06-11 21:57:41 +02:00
|
|
|
#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:
|
2015-06-16 20:52:24 +02:00
|
|
|
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);
|
2015-06-11 21:57:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|