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

univers.h

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 
00023 #ifndef INCLUDE_UNIVERS_H
00024 #define INCLUDE_UNIVERS_H
00025 
00026 #include "control.h"
00027 #include "tip.h"
00028 
00032 class Univers : public Control
00033 {
00034 private:
00035         Tip *tipKey;            
00036 
00037         int OnApplyExit(Timer *);
00038         void UpdateTip();
00039 
00040 public:
00041         BOOL isOnMenu;                  
00042         BOOL isMenuUsing;               
00043         StateMouse oldMouse;
00044 
00045         Univers();
00046         ~Univers();
00047         virtual void Create();  // Createur pour container
00048         void ToString(MyString &str);
00049         void ExitQuestion();
00050         void HomePosition();
00051 
00052         int OnKeyDown (StateKey *key,int face);
00053         int OnKeyUp (StateKey *key,int face);
00054         int OnMouseMove(StateMouse *mouse,int deltaX,int deltaY,int face);
00055         int OnMouseWheel(StateMouse *mouse,int face);
00056         int OnLButtonDown(StateMouse *mouse,int face);
00057         int OnLButtonUp(StateMouse *mouse,int face);
00058         int OnMButtonDown(StateMouse *mouse,int face);
00059         int OnMButtonUp(StateMouse *mouse,int face);
00060         int OnRefresh(Timer *);
00061         int OnOverIn(Control *,int);
00062         int OnOverOut(Control *,int);
00063         int OnExit();
00064 };
00065 
00066 #endif

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