Gl Graph
Gl Graph Source of glutwin.h
#ifndef GLUT_WIN_H
#define GLUT_WIN_H
#include <glwindow.h>
class GlutWin : public GlWindow {
private:
MouseButton currentButton;
public:
GlutWin(unsigned int width, unsigned int height);
GlutWin(unsigned int width, unsigned int height, bool debug);
void initGl();
void swapBuffers();
void setTitle(const char* title);
void checkEvent();
void destroyWindow();
void glutDisplay();
void run();
void processButtonPressFX(int key);
Atom getDeleteMsg();
void processButtonPress(int x, int y, unsigned int button);
void processButtonRelease(int x, int y);
void processMotion(int x, int y);
};
#endif