|
// InterpolationDlg.h : header file
//
#pragma once
#include "GLSetup.h"
#include "GLTexture.h"
#include "GLVertexBuffer.h"
#include "afxwin.h"
#include "GLExtension.h"
#include "GLSLShader.h"
// CInterpolationDlg dialog
class CInterpolationDlg : public CDialog
{
// Construction
public:
CInterpolationDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_INTERPOLATION_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton2();
afx_msg void OnBnClickedButton1();
private:
bool LoadBitmap( CString csFileName_i, GLTexture& Texture_io );
bool LoadBitmap( const int nResID_i, GLTexture& Texture_io );
private:
GLSetup m_glSetup; // For initialisation and display with Opengl.
GLTexture m_glTexture1;
GLTexture m_glTexture2;
GLSLShader* m_pPixelShader;
GLVertexBuffer m_VertexBuffer;
public:
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
CScrollBar m_ScrollBar;
int m_nInterpolationValue;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.