virtualx-engine/platform/haiku/haiku_gl_view.h

18 lines
420 B
C
Raw Normal View History

#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