2014-10-27 20:05:40 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//WX_GL_CORE_PROFILE 1
|
|
|
|
//WX_GL_MAJOR_VERSION 3
|
|
|
|
//WX_GL_MINOR_VERSION 2
|
|
|
|
|
2014-10-27 21:22:29 -04:00
|
|
|
#include "wx/glcanvas.h"
|
|
|
|
#include "PrimaryGLContext.h"
|
2014-10-27 20:05:40 -04:00
|
|
|
|
2014-10-28 21:39:59 -04:00
|
|
|
class CubicSDR: public wxApp {
|
2014-10-27 20:05:40 -04:00
|
|
|
public:
|
2014-10-28 21:39:59 -04:00
|
|
|
CubicSDR() {
|
|
|
|
m_glContext = NULL;
|
|
|
|
}
|
2014-10-27 20:05:40 -04:00
|
|
|
|
2014-10-27 21:22:29 -04:00
|
|
|
PrimaryGLContext &GetContext(wxGLCanvas *canvas);
|
2014-10-27 20:05:40 -04:00
|
|
|
|
|
|
|
virtual bool OnInit();
|
|
|
|
virtual int OnExit();
|
|
|
|
|
|
|
|
private:
|
|
|
|
PrimaryGLContext *m_glContext;
|
2014-11-04 17:25:04 -05:00
|
|
|
|
2014-10-27 20:05:40 -04:00
|
|
|
};
|
|
|
|
|
2014-10-27 21:22:29 -04:00
|
|
|
DECLARE_APP(CubicSDR)
|