Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Tools/3dsmaxExport/LEXIExporter/LexiExport/Sources/LexiDialogObjectProperties.h @ 6

Last change on this file since 6 was 6, checked in by anonymous, 17 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_ObjectPropertiesDialog__
29#define __NDS_LexiExporter_ObjectPropertiesDialog__
30
31//
32
33class CObjectPropertiesDlg : public GDI::Dialog, public IDDNotify
34{       
35public:
36        CObjectPropertiesDlg(Window* pParent); 
37        ~CObjectPropertiesDlg();
38
39        // Initialize controls from object
40        void    Init(CDDObject *pMeta, const char *pszDefExt); 
41        void    SetInstance(CDDObject *pData, CExportObject* pObj);
42
43private:
44        void    OnInitDialog();
45        void    OnSize();       
46        void    BrowseNode();
47        void    BrowseOutput();
48        void    OnNameChange();
49        void    OnFileNameChange();
50        void    OnChanged(const CDDObject *pInstance, const char *pszKey);
51               
52        std::string     m_sDefExt;
53
54        static INT_PTR CALLBACK DlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
55
56        CExportObject* m_pObj;
57        CDDObject       *m_pData;
58
59        HWND m_hMetaWnd;
60        GDI::MetaControl* m_pMetaCtrl;
61
62        RECT    m_OrgClientRect;
63};
64
65//
66
67#endif // __NDS_LexiExporter_ObjectPropertiesDialog__
Note: See TracBrowser for help on using the repository browser.