Main Page | Data Structures | File List | Data Fields | Globals

ibglXdraw.h

Go to the documentation of this file.
00001 
00002 #include "isimb_sigeo.h"
00003 
00004 /*--------------------------------------
00005        Variaveis globais da Xdraw
00006 --------------------------------------*/
00007 void             (*fbgxFuncaoMotion)();
00008 void             (*fbgxFuncaoKey)();
00009 int              gbgxCntlMyPmap;
00010 Pixmap           gbgxMyPmap;
00011 int              gbgxLastx, gbgxLasty, gbgxPenacorr;
00012 int              gbgxLastNomx, gbgxLastNomy, gbgxCntlScreen;
00013 double           gbgxUnitConvert=1., gbgxUnitConvert0=1.;
00014 double           gbgxXSnap, gbgxYSnap;
00015 double           gbgxMundoCorrente[4], gbgxParmx, gbgxParmy;
00016 double           gbgxEscCmHor,gbgxEscCmVer,gbgxEscMundoHor,gbgxEscMundoVer;
00017 double           gbgxTelaCorrente [4];
00018 long             gbgxTemMyCmap, gbgxDeltaTabCorImg;
00019 long             gbgxEstiloCorrente, gbgxTemColormap, gbgxTemRegion;
00020 long             gbgxCntlMotion,gbgxCntlKey,gbgxComAspecto,gbgxCriouJanela;
00021 Dimension        gbgxTxCorrente, gbgxTyCorrente;
00022 Display          *gbgxDpyDraw;
00023 Window           gbgxJanDraw;
00024 Widget           gbgxWdgCorrente;
00025 GC               gbgxCgCorrente, gbgxCgClear;
00026 cbgxPmap         *gbgxCabPmap, *gbgxPmapCorrente;
00027 Colormap         gbgxCmap, gbgxMyCmap, gbgxCmapScreen[2];
00028 Region           gbgxRegion;
00029 long             gbgxComJanela, gbgxAmpliacao, gbgxNumLines, gbgxNumFill;
00030 Widget           gbgxwgMsg, gbgxwgJanela, gbgxwgFormJanela, gbgxwgDaJanela;
00031 unsigned long    gbgxTabCorImg[256];
00032 unsigned char    gbgxTabCorImgChar[256];
00033 XImage           *gbgxImg;
00034 
00035 void             *gbgxOpaqueFontServer;
00036 int              gbgxTamTxtTp=128;
00037 char             gbgxFontXlfd[40]="-*-*-%s-%s-normal-*-%d-0-0-0-*-0-*-*";
00038 char             gbgxpath0[80] = "/g0eo/Bin/Dados/Cfg/abgxFontServer";
00039 long             gbgxDepth24;
00040 unsigned short   gbgxr=1, gbgxg=2, gbgxb=3;
00041 long             gbgxLastIndCor=0;
00042 Visual           *gbgxVisual;
00043 unsigned long    gbgxrmask , gbgxgmask , gbgxbmask;
00044 int              gbgxrshift, gbgxgshift, gbgxbshift;
00045 
00046 
00047 cbgxCaracter gbgxFonte[24][256];
00048 
00049 char gbgxpath1[80] = "/g0eo/Bin/Dados";
00050 
00051 char gbgxpathAll[80] = "/g0eo/Bin/Dados/abgxfontes.chr";
00052 char *gbgxpath[24] = { "/abgxSmall.chr",
00053                        "/abgxComplex.chr",
00054                        "/abgxItalic.chr",
00055                        "/abgxItalicc.chr",
00056                        "/abgxItalict.chr",
00057                        "/abgxTxt.chr",
00058                        "/abgxMonotxt.chr",
00059                        "/abgxRomanc.chr",
00060                        "/abgxRomand.chr",
00061                        "/abgxRomans.chr",
00062                        "/abgxRomant.chr",
00063                        "/abgxScriptc.chr",
00064                        "/abgxScripts.chr",
00065                        "/abgxSimplex.chr",
00066                        "/abgxGothice.chr",
00067                        "/abgxGothicg.chr",
00068                        "/abgxGothici.chr",
00069                        "/abgxCyrillic.chr",
00070                        "/abgxCyriltlc.chr",
00071                        "/abgxGreekc.chr",
00072                        "/abgxGreeks.chr",
00073                        "/abgxSyastro.chr",
00074                        "/abgxSymap.chr",
00075                        "/abgxSymath.chr"};
00076 
00077 /*-----------------------------------------------------
00078        Variaveis globais das funcoes de simbolos
00079 -----------------------------------------------------*/
00080 cbgxReg1          gbgxReg1;
00081 cbgxChave_Simb  * gbgxReg2_chave;
00082 cbgxXY          * gbgxReg2_pontos;
00083 cbgxAtrib_Pol   * gbgxReg2_atrib_P;
00084 cbgxAtrib_Area  * gbgxReg2_atrib_A;
00085 char            * gbgxreg_geral;
00086   
00087  
00088 long           gbgxnregs;
00089 cbgxXY       * gbgxpontos;
00090 long           gbgxuni_logica = 100L;
00091 short          gbgxcrit_pesq = 0;
00092 long           gbgxsub_chv = 0L;
00093 long           gbgxt_chave = (long) sizeof (cbgxChave_Simb);
00094 long           gbgxp_chave = 0L;
00095 short          gbgxkopen, gbgxkclose;
00096 short          gbgxmodo = 1;
00097 short          gbgxbloqueia = 0;
00098 char         * gbgxnomarq = "/g0eo/Bin/Dados/abgxSimb_poco.dat";
00099 
00100 /*--------------------------------------------------
00101        Variaveis globais da tabela de cores
00102 --------------------------------------------------*/
00103 
00104 /*  --------------------------------------- */
00105 /*  Define as cores constantes (16)         */
00106 /*  As primeiras 7 cores foram definidas    */
00107 /*  em funcao das cores de linha do plotter */
00108 /*  colorido ligado ao mainframe.           */
00109 /*  --------------------------------------- */
00110 
00111 int   gbgxPRETO;         /* # 0 */
00112 int   gbgxAZUL;          /* # 1 */
00113 int   gbgxVERMELHO;      /* # 2 */
00114 int   gbgxVERDE;         /* # 3 */
00115 int   gbgxAMARELO;       /* # 4 */
00116 int   gbgxMAGENTA;       /* # 5 */
00117 int   gbgxCYAN;          /* # 6 */
00118 int   gbgxBRANCO;        /* # 7 */
00119 int   gbgxAZUL_CLARO;    /* # 8 */
00120 int   gbgxVERDE_CLARO;   /* # 9 */
00121 int   gbgxAMARELO_CLARO; /* # 10 */
00122 int   gbgxROSA;          /* # 11 */
00123 int   gbgxCINZA_CLARO;   /* # 12 */
00124 int   gbgxCINZA_ESCURO;  /* # 13 */
00125 int   gbgxROXO;          /* # 14 */
00126 int   gbgxLARANJA;       /* # 15 */
00127 
00128 unsigned int gbgxINC_CORES [5] =
00129   { 0 , 64 , 128 , 192 , 255 };
00130   
00131 XColor  gbgxCores [CBGXMAXCORES];
00132 
00133 unsigned long gbgxIndCores[180];
00134 unsigned long gbgxIndCoresCtes[16];
00135  
00136 int  gbgxNCORES;
00137 int  gbgxINDCOR;
00138 

Generated on Mon Dec 15 14:12:43 2008 for XDraw by doxygen 1.3.5