EventTypeComplex := 6.
"types for touch events"
Technically the event comes up as an array of integers, this was changed to allow the 4th indexed item to be a Smalltalk Object
typedef struct sqComplexEvent
{
int type; /* type of event;
EventTypeComplex */
unsigned int timeStamp; /* time stamp */
/* the interpretation of the following fields depend on the type of the event */
int action; /* one of
ComplexEventXXX (see below) */
usqInt objectPointer; /* used to point to object */
int unused1; /* */
int unused2; /* */
int unused3; /* */
int windowIndex; /* host window structure */
} sqComplexEvent;
The 4th item contains the following Smalltalk Objects
interpreterProxy->storePointerofObjectwithValue(0, storageArea, squeakMSTime);
interpreterProxy->storePointerofObjectwithValue(1, storageArea, timeStamp);
interpreterProxy->storePointerofObjectwithValue(2, storageArea, phase);
interpreterProxy->storePointerofObjectwithValue(3, storageArea, tapCount);
interpreterProxy->storePointerofObjectwithValue(4, storageArea, window);
interpreterProxy->storePointerofObjectwithValue(5, storageArea, view);
interpreterProxy->storePointerofObjectwithValue(6, storageArea, locationInViewX);
interpreterProxy->storePointerofObjectwithValue(7, storageArea, locationInViewY);
interpreterProxy->storePointerofObjectwithValue(8, storageArea, previousLocationInViewX);
interpreterProxy->storePointerofObjectwithValue(9, storageArea, previousLocationInViewY);
typedef enum {
}
and
There are no comments on this page. [Add comment]