Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

masterContainer.cpp

Go to the documentation of this file.
00001 /* *************************************************************************************
00002         Writer:         Sebastien Bloc
00003         Copyright:      2003-2004
00004         eMail:          sebastien.bloc@free.fr
00005         URL:            http://mignonsoft.free.fr
00006 
00007         This program is free software; you can redistribute it and/or
00008         modify it under the terms of the GNU General Public License
00009         as published by the Free Software Foundation; either version 2
00010         of the License, or (at your option) any later version.
00011 
00012         This program is distributed in the hope that it will be useful,
00013         but WITHOUT ANY WARRANTY; without even the implied warranty of
00014         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015         GNU General Public License for more details.
00016         http://www.gnu.org/copyleft/gpl.html
00017 ************************************************************************************* */
00018 
00019 #include "3d.h"
00020 #include "mastercontainer.h"
00021 #include "controlEngine.h"
00022 
00023 extern ControlEngine ce;
00024 
00025 // ********************************************************************************
00026 
00027 MasterContainer::MasterContainer()
00028 {
00029 }
00030 
00031 MasterContainer::~MasterContainer()
00032 {
00033 }
00034 
00035 // ********************************************************************************
00036 
00037 void MasterContainer::Create()
00038 {       // creation graphics
00039         SetParent(); // ne sert a rien car il n'a pas de parent
00040         name="MasterContainer";
00041         faceNode = ce.primitive.AddFace("MasterContainer",id,-1,FALSE,0,0,0,0,0,0,1,0,1);
00042         faceNode->elem->size.x.SetPercent(1,&ce.dxWin);
00043         faceNode->elem->size.y.SetPercent(1,&ce.dyWin);
00044 }
00045 
00046 void MasterContainer::ToString(MyString &str)
00047 {
00048         str.AddFormat("name: %s",name);
00049 }

Generated on Fri Aug 20 19:19:46 2004 for 3d Controls by doxygen 1.3.6