00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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();
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