/*************************************************************************************************************************************/ /* */ /* D E F I N I T I O N S P O U R L E S F O N C T I O N S D E B A S E D ' E D I T I O N */ /* D E S I M A G E S S U R L E B I T - M A P N O I R E T B L A N C R I D G E : */ /* */ /* */ /* Definition : */ /* */ /* Ce fichier contient toutes les */ /* definitions pour les fonctions */ /* de base d'edition alpha-numerique et */ /* graphique des images raster, quelle que */ /* soit la definition. Mais attention */ /* ce fichier est une copie amelioree, */ /* des fichiers "/usr/include/sys/graf.h" */ /* et "/usr/include/sys/winctrl.h" d'origine */ /* 'Ridge'... */ /* */ /* */ /* Author of '$xiidr/fonction$DEF' : */ /* */ /* Jean-Francois Colonna (LACTAMME, 19880000000000). */ /* */ /*************************************************************************************************************************************/ /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* O P P O R T U N I T E D E C O M P I L E R C E M O D U L E : */ /* */ /*************************************************************************************************************************************/ #ifdef SYSTEME_SPS9_ROS_RC # define __VERSION__COMPILER_LE_GRAPHIQUE_ROS \ /* Sur un ordinateur SPS9 sous ROS compiler la bibliotheque graphique du bit-map... */ #Aifdef SYSTEME_SPS9_ROS_RC #Eifdef SYSTEME_SPS9_ROS_RC #ifdef SYSTEME_SPS9_ROS_CC # define __VERSION__COMPILER_LE_GRAPHIQUE_ROS \ /* Sur un ordinateur SPS9 sous ROS compiler la bibliotheque graphique du bit-map... */ #Aifdef SYSTEME_SPS9_ROS_CC #Eifdef SYSTEME_SPS9_ROS_CC #ifdef __VERSION__COMPILER_LE_GRAPHIQUE_ROS /*===================================================================================================================================*/ /*************************************************************************************************************************************/ /* */ /* S T R U C T U R E S N E C E S S A I R E S : */ /* */ /*************************************************************************************************************************************/ Dstruct03(Form ,DEFV(vrai_Int_de_base,width) ,DEFV(vrai_Int_de_base,height) ,DEFV(vrai_binaire_de_base,POINTEUR(bits)) ,NOM_VIDE ); Dstruct14(RasterOp ,DEFV(STRU(Form),destForm) ,DEFV(STRU(Form),sourceForm) ,DEFV(STRU(Form),maskForm) ,DEFV(vrai_Int_de_base,rule) ,DEFV(vrai_Int_de_base,destX) ,DEFV(vrai_Int_de_base,destY) ,DEFV(vrai_Int_de_base,width) ,DEFV(vrai_Int_de_base,height) ,DEFV(vrai_Int_de_base,clipX) ,DEFV(vrai_Int_de_base,clipY) ,DEFV(vrai_Int_de_base,clipWidth) ,DEFV(vrai_Int_de_base,clipHeight) ,DEFV(vrai_Int_de_base,sourceX) ,DEFV(vrai_Int_de_base,sourceY) ,NOM_VIDE ); Dstruct02(Point ,DEFV(vrai_Int_de_base,x) ,DEFV(vrai_Int_de_base,y) ,NOM_VIDE ); Dstruct02(Rectangle ,DEFV(STRU(Point),origin) ,DEFV(STRU(Point),extent) ,NOM_VIDE ); Dstruct05(WindowArgs ,DEFV(vrai_Int_de_base,wID) /* Identificateur de la fenetre. */ ,DEFV(vrai_Int_de_base,wFlags) /* Flags de controle de la fenetre. */ ,DEFV(STRU(Rectangle),wFrame) /* "Coordonnees" de la fenetre. */ ,DEFV(vrai_Int_de_base,wFontID) /* Identificateur de la fonte de caracteres utilisee dans la fenetre. */ ,DEFV(STRU(Point),wCharSize) /* Caracteristiques des caracteres de la fonte courante. */ ,NOM_VIDE ); Dstruct05(ControlArgs ,DEFV(vrai_Int_de_base,wID) /* Identificateur de la fenetre. */ ,DEFV(vrai_Int_de_base,cFlags1) ,DEFV(vrai_Int_de_base,cFlags2) ,DEFV(vrai_Int_de_base,cFlags3) ,DEFV(vrai_Int_de_base,cFlags4) ,NOM_VIDE ); Dstruct03(PointingArgs ,DEFV(vrai_Int_de_base,wID) /* Identificateur de la fenetre. */ ,DEFV(vrai_Int_de_base,buttons) ,DEFV(STRU(Point),location) ,NOM_VIDE ); Dstruct02(WCtlMsg ,DEFV(vrai_Int_de_base,wMsgTag) ,Dunion_04(NOM_VIDE ,DEFV(vrai_Int_de_base,wID) /* Identificateur de la fenetre. */ ,DEFV(STRU(WindowArgs),wArgs) ,DEFV(STRU(PointingArgs),pArgs) ,DEFV(STRU(ControlArgs),cArgs) ,wMsg ) ,NOM_VIDE ); #Aifdef __VERSION__COMPILER_LE_GRAPHIQUE_ROS #Eifdef __VERSION__COMPILER_LE_GRAPHIQUE_ROS