/* select.h: everything concerning selection of patches */

#ifndef _SELECT_H_
#define _SELECT_H_

#include "patch.h"

/* informs what to do with the selected patch */
extern void SelectPatchSetCallback(void (*proc)(PATCH *patch, POINT *hitp));

/* called from CanvasMouseEvent() in canvas.c when a mouse button is pressed
 * in CANVAS_SELECT_PATCH mode */
extern void SelectPatch(int pixx, int pixy);

#endif /*_SELECT_H_*/
