00001
00002
00003
00004
00005
00006
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
00028 int x0, y0, x1, y1;
00029 bool StateDrawRectangle;
00030
00031 string WorkFilename;
00032
00033
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