include/liqcell_easyrun.h

00001 
00002 #ifndef liqcell_EASYRUN_H
00003 #define liqcell_EASYRUN_H
00004 
00005 #include "liqbase.h"
00006 
00007 #include "liqcell.h"
00008 
00009 #include "vgraph.h"
00010 
00011 typedef struct liqcelleventargs
00012 {
00013         // the event context passed to objects per paint event
00014         liqcell *self;
00015 }
00016         liqcelleventargs;
00017 
00018 
00019 typedef struct liqcellfiltereventargs
00020 {
00021         // the event context passed to objects per filter event
00022         int   filterinuse;              // 0 no filter in effect, 1 filter in use
00023         char *searchterm;               // normal search pattern, may include a tokensized breakdown of the search below
00024         char *searchtags;               // list of tags to include
00025         
00026         int   resultoutof;              // number of possible units
00027         int   resultshown;              // number actually remaining visible
00028 }
00029         liqcellfiltereventargs;
00030 
00031 
00032 
00033 typedef struct liqcellclickeventargs
00034 {
00035         // the event context passed to objects per paint event
00036         liqcell *newdialogtoopen;
00037         int newdialogshowmode;          // 0 zoom to selection, 1 slide in out
00038 }
00039         liqcellclickeventargs;
00040 
00041 
00042 typedef struct liqcellpainteventargs
00043 {
00044         // the event context passed to objects per paint event
00045 
00046         //liqcliprect *cr;
00047         vgraph *graph;
00048         int         ox;                         // where you should consider top left: 0,0
00049         int         oy;
00050         int         mx;                         // your actual available dimensions in pixel sizes
00051         int         my;                         // this should have followed a setting on the cell itself and the users preferences
00052         int         runfast;            // set to 1 to indicate in a runfast session, the render engine will return asap to give you another frame
00053 }
00054         liqcellpainteventargs;
00055 
00056 
00057 typedef struct liqcellkeyeventargs
00058 {
00059         int  keycode;
00060         char keystring[16];
00061         int  ispress;
00062 }
00063         liqcellkeyeventargs;
00064 
00065 
00066 
00067 typedef struct liqcellmouseeventargs
00068 {
00069         // the event context passed to objects per stroke
00070         // privately constructed and managed for you
00071         // to use in a floating section, just adjust by the deltas
00072 
00073         //liqcliprect *cr;
00074         vgraph *graph;
00075 
00076 
00077 
00078 
00079 
00080         liqstroke  *stroke;
00081 
00082         int mcnt;               // count of items
00083 
00084         int msx;                // start item
00085         int msy;
00086         int msz;
00087         unsigned long    mst;
00088 
00089         int mex;                // end item
00090         int mey;
00091         int mez;
00092         unsigned long    met;
00093 
00094         int mdx;                // item deltas since last invocation
00095         int mdy;
00096         int mdz;
00097         unsigned long    mdt;
00098 
00099         liqcell *hit;
00100 
00101         int         ox;                         // where you should consider top left: 0,0
00102         int         oy;
00103 
00104 }
00105         liqcellmouseeventargs;
00106 
00107 
00108 
00109 
00110 
00111 
00112 #endif

Generated on Sat May 23 23:03:13 2009 for libliqbase by  doxygen 1.5.1