Main Page | Namespace List | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

Engine.hh

Go to the documentation of this file.
00001 /*
00002  * Engine class
00003  * by hackervalley@free.fr
00004  * http://hackervalley.free.fr
00005  * June 2004
00006  * this program is licensed under the GPL.
00007  */
00008 
00009 #ifndef ENGINE_H
00010 #define ENGINE_H
00011 
00012 #include <string>
00013 #include <fstream>
00014 
00015 using namespace std;
00016 
00017 namespace FE
00018 {
00019 
00020         class Engine
00021         {
00022               public:
00023                 
00024                   Engine ();
00025                  ~Engine ();
00026                   
00027                   /* Rectangle Coordinates */
00028                 int x0, y0, x1, y1;
00029                 bool StateDrawRectangle;
00030                 /* WorkFile */
00031                 string WorkFilename;
00032                   
00033                 /* Move */
00034                 bool StateMove;
00035 
00036                 void draw ();
00037                 void drawRectangle (int &, int &, int &, int &);
00038                 void DrawMoveLine(int &, int &, int &, int &);
00039                 void createvertex (int &, int &);
00040                 void selectvertex (int &, int &);
00041                 void RectangleSelectVertex (int &, int &,int &, int &);
00042                 void DeleteSelectVertex ();
00043                 void MoveSelected(int &, int &, int &, int &);
00044                 void OpenFile(char *path);
00045                 void SaveFile(char *path);
00046                   
00047         };
00048 
00049 }
00050 
00051 #endif

Generated on Sat Aug 7 18:49:02 2004 for FE by doxygen 1.3.6-20040222