vworld/vcell_easyrun.h

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         // the event context passed to objects per paint event
00014         vcell *self;
00015 }
00016         vcelleventargs;
00017 
00018 
00019 typedef struct vcellclickeventargs
00020 {
00021         // the event context passed to objects per paint event
00022         vcell *newdialogtoopen;
00023 }
00024         vcellclickeventargs;
00025 
00026 
00027 typedef struct vcellpainteventargs
00028 {
00029         // the event context passed to objects per paint event
00030 
00031         //liqcliprect *cr;
00032         vgraph *graph;
00033         int         ox;                         // where you should consider top left: 0,0
00034         int         oy;
00035         int         mx;                         // your actual available dimensions in pixel sizes
00036         int         my;                         // this should have followed a setting on the cell itself and the users preferences
00037         int         runfast;            // set to 1 to indicate in a runfast session, the render engine will return asap to give you another frame
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         // the event context passed to objects per stroke
00055         // privately constructed and managed for you
00056         // to use in a floating section, just adjust by the deltas
00057 
00058         //liqcliprect *cr;
00059         vgraph *graph;
00060 
00061 
00062 
00063 
00064 
00065         liqstroke  *stroke;
00066 
00067         int mcnt;               // count of items
00068 
00069         int msx;                // start item
00070         int msy;
00071         int msz;
00072         unsigned long    mst;
00073 
00074         int mex;                // end item
00075         int mey;
00076         int mez;
00077         unsigned long    met;
00078 
00079         int mdx;                // item deltas since last invocation
00080         int mdy;
00081         int mdz;
00082         unsigned long    mdt;
00083 
00084         vcell *hit;
00085 
00086         int         ox;                         // where you should consider top left: 0,0
00087         int         oy;
00088 
00089 }
00090         vcellmouseeventargs;
00091 
00092 
00093 
00094 
00095 
00096 
00097 #endif

Generated on Mon Apr 13 15:09:26 2009 for libliqbase by  doxygen 1.5.1