00001
00002 #ifndef VCELL_EASYRUN_H
00003 #define VCELL_EASYRUN_H
00004
00005 #include "liqbase.h"
00006
00007 #include "vcell.h"
00008
00009 #include "vgraph.h"
00010
00011 typedef struct vcelleventargs
00012 {
00013
00014 vcell *self;
00015 }
00016 vcelleventargs;
00017
00018
00019 typedef struct vcellclickeventargs
00020 {
00021
00022 vcell *newdialogtoopen;
00023 }
00024 vcellclickeventargs;
00025
00026
00027 typedef struct vcellpainteventargs
00028 {
00029
00030
00031
00032 vgraph *graph;
00033 int ox;
00034 int oy;
00035 int mx;
00036 int my;
00037 int runfast;
00038 }
00039 vcellpainteventargs;
00040
00041
00042 typedef struct vcellkeyeventargs
00043 {
00044 int keycode;
00045 char keystring[16];
00046 int ispress;
00047 }
00048 vcellkeyeventargs;
00049
00050
00051
00052 typedef struct vcellmouseeventargs
00053 {
00054
00055
00056
00057
00058
00059 vgraph *graph;
00060
00061
00062
00063
00064
00065 liqstroke *stroke;
00066
00067 int mcnt;
00068
00069 int msx;
00070 int msy;
00071 int msz;
00072 unsigned long mst;
00073
00074 int mex;
00075 int mey;
00076 int mez;
00077 unsigned long met;
00078
00079 int mdx;
00080 int mdy;
00081 int mdz;
00082 unsigned long mdt;
00083
00084 vcell *hit;
00085
00086 int ox;
00087 int oy;
00088
00089 }
00090 vcellmouseeventargs;
00091
00092
00093
00094
00095
00096
00097 #endif