will try some openGL on android
This commit is contained in:
26
map/MapView.h
Normal file
26
map/MapView.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef MAPVIEW_H
|
||||
#define MAPVIEW_H
|
||||
|
||||
#include <QGLWidget>
|
||||
|
||||
class MapView : public QGLWidget {
|
||||
|
||||
public:
|
||||
|
||||
MapView(QWidget* parent = 0);
|
||||
|
||||
protected:
|
||||
|
||||
void initializeGL();
|
||||
|
||||
void paintGL();
|
||||
|
||||
void resizeGL(int width, int height);
|
||||
|
||||
private:
|
||||
|
||||
void draw();
|
||||
|
||||
};
|
||||
|
||||
#endif // MAPVIEW_H
|
||||
Reference in New Issue
Block a user