mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-01 14:15:53 +01:00
76 lines
2.2 KiB
C
76 lines
2.2 KiB
C
|
/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
|
||
|
|
||
|
#if !defined(AFX_DLGCREATENORMALTEXTURE_H__C517CED2_FA6C_11D1_82E9_000000000000__INCLUDED_)
|
||
|
#define AFX_DLGCREATENORMALTEXTURE_H__C517CED2_FA6C_11D1_82E9_000000000000__INCLUDED_
|
||
|
|
||
|
#if _MSC_VER >= 1000
|
||
|
#pragma once
|
||
|
#endif // _MSC_VER >= 1000
|
||
|
// DlgCreateNormalTexture.h : header file
|
||
|
//
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CDlgCreateNormalTexture dialog
|
||
|
|
||
|
class CDlgCreateNormalTexture : public CDialog
|
||
|
{
|
||
|
// Construction
|
||
|
public:
|
||
|
CDlgCreateNormalTexture(CTFileName fnInputFile, CWnd* pParent = NULL); // standard constructor
|
||
|
~CDlgCreateNormalTexture();
|
||
|
void RefreshCreatedTexture(void);
|
||
|
void ReleaseCreatedTexture(void);
|
||
|
|
||
|
BOOL m_bSourcePictureValid;
|
||
|
BOOL m_bPreviewWindowsCreated;
|
||
|
PIX m_pixSourceWidth;
|
||
|
PIX m_pixSourceHeight;
|
||
|
MEX m_mexCreatedWidth;
|
||
|
CTFileName m_fnSourceFileName;
|
||
|
CTFileName m_fnCreatedFileName;
|
||
|
CWndDisplayTexture m_wndViewDetailTexture;
|
||
|
CWndDisplayTexture m_wndViewCreatedTexture;
|
||
|
CTextureData *m_ptdCreated;
|
||
|
|
||
|
// Dialog Data
|
||
|
//{{AFX_DATA(CDlgCreateNormalTexture)
|
||
|
enum { IDD = IDD_CREATE_NORMAL_TEXTURE };
|
||
|
CButton m_ctrlForce32;
|
||
|
CButton m_ctrlCheckButton;
|
||
|
CComboBox m_ctrlNoOfMipMapsCombo;
|
||
|
CComboBox m_ctrlMexSizeCombo;
|
||
|
CString m_strCreatedTextureName;
|
||
|
CString m_strSizeInPixels;
|
||
|
BOOL m_bCreateMipmaps;
|
||
|
//}}AFX_DATA
|
||
|
|
||
|
|
||
|
// Overrides
|
||
|
// ClassWizard generated virtual function overrides
|
||
|
//{{AFX_VIRTUAL(CDlgCreateNormalTexture)
|
||
|
protected:
|
||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||
|
//}}AFX_VIRTUAL
|
||
|
|
||
|
// Implementation
|
||
|
protected:
|
||
|
|
||
|
// Generated message map functions
|
||
|
//{{AFX_MSG(CDlgCreateNormalTexture)
|
||
|
afx_msg void OnPaint();
|
||
|
afx_msg void OnChequeredAlpha();
|
||
|
afx_msg void OnForce32();
|
||
|
virtual BOOL OnInitDialog();
|
||
|
afx_msg void OnBrowseDetail();
|
||
|
afx_msg void OnDetailNone();
|
||
|
afx_msg void OnCreateTexture();
|
||
|
afx_msg void OnCreateMipmaps();
|
||
|
//}}AFX_MSG
|
||
|
DECLARE_MESSAGE_MAP()
|
||
|
};
|
||
|
|
||
|
//{{AFX_INSERT_LOCATION}}
|
||
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||
|
|
||
|
#endif // !defined(AFX_DLGCREATENORMALTEXTURE_H__C517CED2_FA6C_11D1_82E9_000000000000__INCLUDED_)
|