EditTextureDlg.h
资源名称:gloop.zip [点击查看]
上传用户:shxiangxiu
上传日期:2007-01-03
资源大小:1101k
文件大小:3k
源码类别:
OpenGL
开发平台:
Visual C++
- /////////////////////////////////////////////////////////////////////////////
- // EditTextureDlg.h :Header file; Defines the class definitions
- //
- // glOOP (OpenGL Object Oriented Programming library)
- // Copyright (c) Craig Fahrnbach 1997, 1998
- //
- // OpenGL is a registered trademark of Silicon Graphics
- //
- //
- // This program is provided for educational and personal use only and
- // is provided without guarantee or warrantee expressed or implied.
- //
- // Commercial use is strickly prohibited without written permission
- // from ImageWare Development.
- //
- // This program is -not- in the public domain.
- //
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // CEditTextureDlg dialog
- class AFX_EXT_CLASS CEditTextureDlg : public CDialog
- {
- // Construction
- public:
- void InitializeDialogData();
- CEditTextureDlg(CTexture* pTexture, CWnd* pParent = NULL); // standard constructor
- // Attributes
- public:
- CTexture* m_pTexture;
- // Dialog Data
- //{{AFX_DATA(CEditTextureDlg)
- enum { IDD = IDD_EDIT_TEXTURE_DIALOG };
- int m_iMagFilter;
- int m_iPerspectiveHint;
- int m_iMinFilter;
- int m_iMode;
- int m_iSGenMode;
- int m_iTGenMode;
- int m_iSGenON;
- int m_iTColorON;
- int m_iWrapS;
- int m_iWrapT;
- CString m_szFileName;
- double m_dSPlaneW;
- double m_dSPlaneX;
- double m_dSPlaneY;
- double m_dSPlaneZ;
- BYTE m_bytTColorR;
- BYTE m_bytTColorG;
- BYTE m_bytTColorB;
- double m_dTPlaneW;
- double m_dTPlaneX;
- double m_dTPlaneY;
- double m_dTPlaneZ;
- int m_iTGenON;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEditTextureDlg)
- public:
- virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CEditTextureDlg)
- afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
- virtual BOOL OnInitDialog();
- afx_msg void OnApply();
- virtual void OnOK();
- afx_msg void OnRadioHintFastest();
- afx_msg void OnRadioHintNicest();
- afx_msg void OnRadioMagfilterLinear();
- afx_msg void OnRadioMagfilterNearest();
- afx_msg void OnRadioMinfilterLinear();
- afx_msg void OnRadioMinfilterNearest();
- afx_msg void OnRadioModeBlend();
- afx_msg void OnRadioModeDecal();
- afx_msg void OnRadioModeModulate();
- afx_msg void OnRadioSgenModeEyelinear();
- afx_msg void OnRadioSgenModeMap();
- afx_msg void OnRadioSgenModeObjlinear();
- afx_msg void OnRadioSgenOn();
- afx_msg void OnRadioTcolorOn();
- afx_msg void OnRadioTgenModeEyelinear();
- afx_msg void OnRadioTgenModeMap();
- afx_msg void OnRadioTgenModeObjlinear();
- afx_msg void OnRadioTgenOn();
- afx_msg void OnRadioWrapSClamp();
- afx_msg void OnRadioWrapSRepeat();
- afx_msg void OnRadioWrapTClamp();
- afx_msg void OnRadioWrapTRepeat();
- afx_msg void OnClickSliderColorVarance(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };