Page principale | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Composants | Déclarations | Pages associées

container.h

Aller à la documentation de ce fichier.
00001 /* ***********************************************************************************
00002         Writer:         Sebastien Bloc
00003         Copyright:      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 
00023 #ifndef INCLUDE_CONTAINER_H
00024 #define INCLUDE_CONTAINER_H
00025 
00026 #include "myList.h"
00027 #include "title.h"
00028 
00029 class EventContainer
00030 {
00031 public:
00032 };
00033 
00038 [event_receiver(native)]
00039 class Container : public Control
00040 {
00041 public:
00042         MyList<Control *> controls; // list des controls
00043         EventContainer onContainer;
00044 
00045         Container();
00046         ~Container();
00047         virtual void Create() { Create(DEFAULT_DELTAZ_CONTAINER); } // Createur pour container
00048         void Create(double deltaZ);
00049         void SelfDestructor(); // Libere les element de la liste des controls allouer dynamiquement pour le container
00050         void operator+=(Control *control) { controls+=control; } // permet l'ecriture: container+=control1;
00051         void ToString(MyString &str);
00052 };
00053 
00054 #endif

Généré le Thu Apr 8 18:52:12 2004 pour 3D Controls par doxygen 1.3.6