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

window.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_WINDOW_CTRL_H
00024 #define INCLUDE_WINDOW_CTRL_H
00025 
00026 #include "MyString.h"
00027 #include "MyDebug.h"
00028 #include "title.h"
00029 #include "container.h"
00030 #include "cubedock.h"
00031 
00035 [event_receiver(native)]
00036 class Window : public Control
00037 {
00038 public:
00039         BOOL canResize;
00040 
00041         Title title;
00042         Container client;
00043         CubeDock resize;
00044 
00045         Window();
00046         ~Window();
00047         virtual void Create() { Create(DEFAULT_DELTAZ_WINDOW); }
00048         void Create(double deltaZ);
00049         void ToString(MyString &str);
00050 
00051         void OnResize(Point3D<double> delta); // La fenetre a changer de taille
00052         void OnMove(Point3D<double> pos,BOOL asAbsolute);
00053         void OnRotate(Point2D<double> angle,BOOL asAbsolute);
00054         void OnMouseWheel(StateMouse *mouse,int face);
00055         void OnMax();
00056         void OnMin();
00057         void OnClose(); // on a demander la fermeture
00058 };
00059 
00060 #endif

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