#ifndef PAN_INFO_H #define PAN_INFO_H #include typedef struct { /* * A panning operation has begun. */ bool active; /* * Coordinates of mouse when the pan operation is begun. */ int begin[2]; /* * Translation */ float trans[2]; } PAN_INFO; #endif // PAN_INFO_H