00001 /*------------------------------------------------------------------------ 00002 * Graphic library 00003 * Copyright INRIA 00004 * newGraph Library header 00005 * Matthieu PHILIPPE, INRIA 2001-2002 00006 * Djalel ABDEMOUCHE, INRIA 2002-2004 00007 * Fabrice Leray, INRIA 2004-xxxx 00008 * Comment: 00009 * This file contains all functions used to INTERACT with the graphic 00010 * window (zoom by pressing button, callbacks...) 00011 --------------------------------------------------------------------------*/ 00012 00013 #include "ObjectStructure.h" 00014 #include "HandleManagement.h" 00015 00016 #ifndef __SCI_INTERACTION__ 00017 #define __SCI_INTERACTION__ 00018 00019 00020 extern int sciAddCallback (sciPointObj * pthis, char *code, int len, int mevent); /* INTERACTION */ 00021 extern int sciExecCallback (sciPointObj * pthis); /* INTERACTION */ 00022 extern int sciGetCallbackMouseEvent (sciPointObj * pthis); /* INTERACTION */ 00023 extern int sciSetCallbackMouseEvent (sciPointObj * pthis, int mevent); /* INTERACTION */ 00024 extern int sciGetCallbackLen (sciPointObj * pthis); /* INTERACTION */ 00025 extern char *sciGetCallback (sciPointObj * pthis); /* INTERACTION */ 00026 extern int sciDelCallback (sciPointObj * pthis); /* INTERACTION */ 00027 00028 extern int Objmove (long *hdl, double *d, int m, BOOL opt); /* INTERACTION */ 00029 extern BOOL sciIsAreaZoom(integer *box, integer *box1 ,integer *section); /* INTERACTION */ 00030 00031 00032 00033 00034 00035 00036 #endif /* __SCI_INTERACTION__ */
1.5.1