Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ogre/Tools/3dsmaxExport/LEXIExporter/LexiExport/Sources/LexiDialogAnimProperties.h @ 45

Last change on this file since 45 was 6, checked in by anonymous, 18 years ago

=…

File size: 1.9 KB
Line 
1/*
2-----------------------------------------------------------------------------
3This source file is part of LEXIExporter
4
5Copyright 2006 NDS Limited
6
7Author(s):
8Mark Folkenberg,
9Bo Krohn
10Lasse Tassing
11
12This program is free software; you can redistribute it and/or modify it under
13the terms of the GNU Lesser General Public License as published by the Free Software
14Foundation; either version 2 of the License, or (at your option) any later
15version.
16
17This program is distributed in the hope that it will be useful, but WITHOUT
18ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
20
21You should have received a copy of the GNU Lesser General Public License along with
22this program; if not, write to the Free Software Foundation, Inc., 59 Temple
23Place - Suite 330, Boston, MA 02111-1307, USA, or go to
24http://www.gnu.org/copyleft/lesser.txt.
25-----------------------------------------------------------------------------
26*/
27
28#ifndef __NDS_LexiExporter_AnimPropertiesDialog__
29#define __NDS_LexiExporter_AnimPropertiesDialog__
30
31//
32class CAnimPropertiesDlg : public GDI::Dialog, public IDDNotify
33{       
34public:
35        CAnimPropertiesDlg(Window* pParent);   
36        ~CAnimPropertiesDlg();
37
38        // Initialize controls from object
39        void    Init(CDDObject *pMeta, const char *pszDefExt); 
40        void    SetInstance(CDDObject *pData, CExportObject* pObj);
41
42private:
43        void    OnInitDialog();
44        void    OnSize();       
45        void    BrowseOutput();
46        void    OnNameChange();
47        void    OnFileNameChange();
48        void    OnChanged(const CDDObject *pInstance, const char *pszKey);
49               
50        std::string     m_sDefExt;
51
52        static INT_PTR CALLBACK DlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
53
54        CExportObject* m_pObj;
55        CDDObject       *m_pData;
56
57        HWND m_hMetaWnd;
58        GDI::MetaControl* m_pMetaCtrl;
59        GDI::Button     m_SaveSeperate;
60
61        RECT    m_OrgClientRect;
62};
63
64//
65
66#endif // __NDS_LexiExporter_AnimPropertiesDialog__
Note: See TracBrowser for help on using the repository browser.