/dports/cad/tkgate/tkgate-2.1/src/tkgate/ |
H A D | tkgatewin.c | 329 if (TkGate.D && !TkGate.ktextXF) in initJapanese() 823 int max_x = imax(TkGate.ed->max_x,TkGate.ed->min_x+TkGate.width/TkGate.circuit->zoom_factor); in parseXScrollDistance() 838 int max_y = imax(TkGate.ed->max_y,TkGate.ed->min_y+TkGate.height/TkGate.circuit->zoom_factor); in parseYScrollDistance() 871 XCopyArea(TkGate.D,TkGate.W,TkGate.W,TkGate.copyGC,x1,y1,w,h,x2,y2); in doScroll() 895 XCopyArea(TkGate.D,TkGate.W,TkGate.W,TkGate.copyGC,x1,y1,w,h,x2,y2); in doScroll() 1221 TkGate.ed->lx = TkGate.ed->tx; in tkg_buttonPress() 1222 TkGate.ed->ly = TkGate.ed->ty; in tkg_buttonPress() 1459 TkGate.ed->lx = TkGate.ed->tx; in tkg_buttonRelease() 1460 TkGate.ed->ly = TkGate.ed->ty; in tkg_buttonRelease() 1599 TkGate.ed->lx = TkGate.ed->tx; in tkg_buttonMotion() [all …]
|
H A D | edit.c | 84 …Icon_draw(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->mark_x),ctow_y(TkGate.ed->mark_y),Mark… in mark_draw() 150 TkGate.ed->mark_x = TkGate.ed->tx; in mark_post() 319 TkGate.ed->lx = TkGate.ed->sx = TkGate.ed->tx; in setrubberband() 320 TkGate.ed->lx = TkGate.ed->sy = TkGate.ed->ty; in setrubberband() 322 …ZDrawLine(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGat… in setrubberband() 332 …ZDrawLine(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGat… in moverubberband() 333 …ZDrawLine(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGat… in moverubberband() 435 sel_move(es,TkGate.ed->tx-TkGate.ed->lx,TkGate.ed->ty-TkGate.ed->ly); in EditState_moveobject() 447 TkGate.ed->tx-TkGate.ed->lx,TkGate.ed->ty-TkGate.ed->ly, in EditState_moveobject() 456 gate_move(TkGate.circuit->select,TkGate.ed->tx-TkGate.ed->lx,TkGate.ed->ty-TkGate.ed->ly); in EditState_moveobject() [all …]
|
H A D | editstate.c | 47 TkGate.idle_ev.scroll_new_x = TkGate.circuit->org_x; in TkGate_setOrigin() 48 TkGate.idle_ev.scroll_new_y = TkGate.circuit->org_y; in TkGate_setOrigin() 609 if (TkGate.ed->min_x > TkGate.ed->max_x) in editstate_update() 610 TkGate.ed->min_x = TkGate.ed->max_x = TkGate.ed->min_y = TkGate.ed->max_y = 0; in editstate_update() 633 XSetClipMask(TkGate.D,TkGate.instGC,None); in editstate_update() 636 XSetClipMask(TkGate.D,TkGate.frameGC,None); in editstate_update() 639 XSetClipMask(TkGate.D,TkGate.wireGC,None); in editstate_update() 640 XSetClipMask(TkGate.D,TkGate.busGC,None); in editstate_update() 643 XSetClipMask(TkGate.D,TkGate.toolGC,None); in editstate_update() 644 XSetClipMask(TkGate.D,TkGate.cpathGC,None); in editstate_update() [all …]
|
H A D | selection.c | 173 if (!TkGate.tcl) return; in sel_updateMenuState() 180 sel_ok = (TkGate.circuit->select != 0) || (TkGate.circuit->mg_selection != 0); in sel_updateMenuState() 332 int x = TkGate.ed->sx; in sel_select() 333 int y = TkGate.ed->sy; in sel_select() 334 int width = TkGate.ed->tx-TkGate.ed->sx; in sel_select() 335 int height = TkGate.ed->ty-TkGate.ed->sy; in sel_select() 651 if (TkGate.circuit->cut_buffer) delete_GCutBuffer(TkGate.circuit->cut_buffer); in sel_copy() 796 TkGate.circuit->cut_buffer->cb_dx = TkGate.ed->tx - TkGate.circuit->cut_buffer->cb_ctrx; in sel_yank() 797 TkGate.circuit->cut_buffer->cb_dy = TkGate.ed->ty - TkGate.circuit->cut_buffer->cb_ctry; in sel_yank() 879 TkGate.circuit->last = TkGate.circuit->select = 0; in sel_delete() [all …]
|
H A D | circuit.c | 172 ob_touch(TkGate.circuit); in Circuit_setCurrentFileVersion() 180 ob_touch(TkGate.circuit); in Circuit_setTitle() 181 if (TkGate.circuit->title) ob_free(TkGate.circuit->title); in Circuit_setTitle() 208 if (TkGate.japaneseMode) in Circuit_setFileEncoding() 218 ob_touch(TkGate.circuit); in Circuit_setScripts() 237 ob_touch(TkGate.circuit); 291 ob_touch(TkGate.circuit); in Circuit_changeRoot() 388 if (TkGate.circuit->select || TkGate.circuit->mg_selection || TkGate.circuit->wnsel) in Circuit_isSelection() 454 for (he = Hash_first(TkGate.libraries), n = 0;he;he = Hash_next(TkGate.libraries,he)) in Circuit_unloadAllLibraries() 477 gc = TkGate.selBusGC; in GrabbedLabel_draw() [all …]
|
H A D | error.c | 40 ob_touch(TkGate.errl); in SetErrorPosition() 175 TkGate.errl->errlist = TkGate.errl->curerr = e; in Error_add() 189 TkGate.errl->curerr->e_next->e_last = TkGate.errl->curerr; in Error_add() 190 TkGate.errl->curerr = TkGate.errl->curerr->e_next; in Error_add() 244 TkGate.errl->errlist = TkGate.errl->errlist->e_next; in Error_purge() 250 TkGate.errl->curerr = TkGate.errl->errlist = 0; in Error_purge() 310 x = TkGate.width/2; in Error_open() 311 y = TkGate.height/2; in Error_open() 352 TkGate_setOrigin(TkGate.width/2 - x,TkGate.height/2 - y); in Error_open() 384 if (TkGate.baderp) { in badermessage() [all …]
|
H A D | modint.c | 149 if (TkGate.circuit->es && TkGate.circuit->es->isInterface) { in modint_deleteInterface() 262 ob_touch(TkGate.circuit); in modint_arrange() 320 ob_touch(TkGate.circuit); in modint_arrange() 353 x = TkGate.width/2; in modint_center() 354 y = TkGate.height/2; in modint_center() 361 TkGate.circuit->org_x = TkGate.circuit->org_y = 0; in modint_center() 385 x = TkGate.width/2; in modint_syncDisplay() 386 y = TkGate.height/2; in modint_syncDisplay() 387 TkGate.circuit->org_x = TkGate.circuit->org_y = 0; in modint_syncDisplay() 463 if (TkGate.circuit->es->env == TkGate.circuit->mid_display) in modint_close() [all …]
|
H A D | led.c | 449 XSetFont(TkGate.D,TkGate.instGC,TkGate.textbXF[TkGate.circuit->zoom_factor]->fid); in led_drawname() 451 XSetFont(TkGate.D,TkGate.instGC,TkGate.textXF[TkGate.circuit->zoom_factor]->fid); in led_drawname() 473 XSetFont(TkGate.D,TkGate.instGC,TkGate.textbXF[TkGate.circuit->zoom_factor]->fid); in led_PSdrawname() 475 XSetFont(TkGate.D,TkGate.instGC,TkGate.textXF[TkGate.circuit->zoom_factor]->fid); in led_PSdrawname() 525 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),w,h); in Led_Draw_bar() 539 ZFillRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx),ctow_y(y),3,10); in Led_Draw_bar() 551 ZFillRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx),ctow_y(y),3,10); in Led_Draw_bar() 563 ZFillRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx),ctow_y(y),3,10); in Led_Draw_bar() 590 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),w,h); in Led_Draw_7segs() 616 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in Led_Draw_7segs() [all …]
|
H A D | tclfuncs.c | 2531 XSetFont(TkGate.D, TkGate.instGC, TkGate.textXF[zoom]->fid); in gat_zoom() 2532 XSetFont(TkGate.D, TkGate.moduleGC, TkGate.textXF[zoom]->fid); in gat_zoom() 2533 XSetFont(TkGate.D, TkGate.modportGC, TkGate.textXF[zoom]->fid); in gat_zoom() 2534 XSetFont(TkGate.D, TkGate.frameGC, TkGate.textXF[zoom]->fid); in gat_zoom() 2536 XSetFont(TkGate.D, TkGate.hyperlinkGC, TkGate.textXF[zoom]->fid); in gat_zoom() 2537 XSetFont(TkGate.D, TkGate.wireGC, TkGate.stextXF[zoom]->fid); in gat_zoom() 2538 XSetFont(TkGate.D, TkGate.busGC, TkGate.stextXF[zoom]->fid); in gat_zoom() 2540 XSetFont(TkGate.D, TkGate.selBusGC, TkGate.stextbXF[zoom]->fid); in gat_zoom() 2541 XSetFont(TkGate.D, TkGate.toolGC, TkGate.textXF[zoom]->fid); in gat_zoom() 2542 XSetFont(TkGate.D, TkGate.cpathGC, TkGate.textXF[zoom]->fid); in gat_zoom() [all …]
|
H A D | scope.c | 328 XDrawLine(TkGate.D,TkGate.ScopeW,gc, in GTrace_updateTransition() 333 XDrawLine(TkGate.D,TkGate.ScopeW,gc, in GTrace_updateTransition() 338 XDrawLine(TkGate.D,TkGate.ScopeW,gc, in GTrace_updateTransition() 355 XDrawLine(TkGate.D,TkGate.ScopeW,gc, in GTrace_updateValue() 358 XDrawLine(TkGate.D,TkGate.ScopeW,gc, in GTrace_updateValue() 619 XDrawLine(TkGate.D,TkGate.ScopeW,TkGate.scopeGridGC,P,y-2,P,y+2); in GTrace_draw() 641 XDrawLine(TkGate.D,TkGate.ScopeW,TkGate.scopeGridGC,10,y, in GTrace_draw() 737 XFillRectangle(TkGate.D,TkGate.ScopeW,TkGate.scopeSelectGC, in GScope_drawSelection() 800 XFillRectangle(TkGate.D,TkGate.ScopeW,TkGate.scopeSelectGC, in GScope_moveSelection() 980 XFillRectangle(TkGate.D,TkGate.ScopeW,TkGate.scopeClearGC, in GScope_drawScale() [all …]
|
H A D | cursors.c | 185 XQueryBestCursor(TkGate.D,TkGate.root,32,32,&MaxW,&MaxH); in init_cursors() 205 XAllocNamedColor(TkGate.D,TkGate.CM,"black",&FGCreal,&FGC); in init_cursors() 206 XAllocNamedColor(TkGate.D,TkGate.CM,"white",&BGCreal,&BGC); in init_cursors() 219 XCopyArea(TkGate.D,iconPM,srcPM,TkGate.bitGC, in init_cursors() 246 XDefineCursor(TkGate.D,TkGate.W,C); in wm_SetCursor() 248 XFlush(TkGate.D); in wm_SetCursor() 260 XDefineCursor(TkGate.D,TkGate.W,C); in PushCursor() 262 XFlush(TkGate.D); in PushCursor() 271 XDefineCursor(TkGate.D,TkGate.W,LastCursor); in PopCursor() 290 XDefineCursor(TkGate.D,TkGate.W, link_cursor); in MouseoverCursor() [all …]
|
H A D | concat.c | 296 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x,y+L/2,x,y-L/2); in Concat_Draw() 297 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x,y+L/2+1,x-CONCAT_HOOK,y+L/2+1); in Concat_Draw() 300 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x-1,y+L/2,x-1,y-L/2); in Concat_Draw() 306 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x+L/2,y,x-L/2,y); in Concat_Draw() 310 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x+L/2,y+1,x-L/2,y+1); in Concat_Draw() 316 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x,y+L/2,x,y-L/2); in Concat_Draw() 320 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x+1,y+L/2,x+1,y-L/2); in Concat_Draw() 326 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x+L/2,y,x-L/2,y); in Concat_Draw() 330 ZDrawLine(TkGate.D,TkGate.W,TkGate.instGC,x+L/2,y-1,x-L/2,y-1); in Concat_Draw() 340 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in Concat_Draw() [all …]
|
H A D | wiresdraw.c | 126 gc = TkGate.selBusGC; in GWireNode_displayLabel() 131 gc = TkGate.busGC; in GWireNode_displayLabel() 133 gc = TkGate.wireGC; in GWireNode_displayLabel() 194 Icon_draw(TkGate.D,TkGate.W,TkGate.busGC,ctow_x(x+TKGATE_BUSW_VERT-1),ctow_y(y),SIZEHASH); in GWireNode_displaySize() 197 Icon_draw(TkGate.D,TkGate.W,TkGate.busGC,ctow_x(x),ctow_y(y+TKGATE_BUSW_HORZ-1),SIZEHASH); in GWireNode_displaySize() 217 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC, in wire_drawend() 235 ZDrawLine(TkGate.D, TkGate.W, TkGate.instGC, x1,y1, x2,y2); in wire_drawend() 294 GC gc = (w1->net == TkGate.circuit->nsel) ? TkGate.selBusGC : TkGate.busGC; in GWire_draw() 299 ZDrawLines(TkGate.D,TkGate.W,gc,p,k,CoordModeOrigin); in GWire_draw() 301 GC gc = (w1->net == TkGate.circuit->nsel) ? TkGate.selWireGC : TkGate.wireGC; in GWire_draw() [all …]
|
H A D | tkgate.c | 318 TkGate.tcl = 0; in doVerifyLoad() 323 TkGate.circuit = new_Circuit(); in doVerifyLoad() 380 TkGate.siteName = strdup(str); in commandLinePrintSetup() 433 if (!TkGate.siteName) in commandLinePrintSetup() 451 TkGate.tcl = 0; in commandLinePrint() 737 TkGate.baderp = 1; in bader_check() 740 TkGate.startrekp = 1; in bader_check() 743 TkGate.startrekp = 1; in bader_check() 746 TkGate.batp = 1; in bader_check() 924 memset(&TkGate,0,sizeof(TkGate)); in init_TkGate() [all …]
|
H A D | cpath.c | 96 if (TkGate.cpath_pelems) { in cpath_flush() 102 TkGate.cpath_pelems = 0; in cpath_flush() 103 TkGate.cpath_len = 0; in cpath_flush() 481 TkGate.cpath_len = n; in cpath_show() 486 cpath_show_aux(TkGate.cpath_len,TkGate.cpath_pelems); in cpath_show() 498 cpath_show_aux(TkGate.cpath_len,TkGate.cpath_pelems); in cpath_reshow() 540 Icon_draw(TkGate.D,TkGate.W,TkGate.cpathGC,x+x_off,y+y_off,SIZEHASH); in cpath_draw() 567 TkGate.cpath_flashState = !TkGate.cpath_flashState; in cpath_flash() 669 GCElement *g = gate_hit(es->env,TkGate.ed->tx,TkGate.ed->ty); in cpath_mouseDown() 670 GWireNode *wn = wire_iohit(TkGate.ed->tx,TkGate.ed->ty,es->env->m_wires); in cpath_mouseDown() [all …]
|
H A D | clock.c | 155 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in gate_drawclockparams() 157 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextXF[TkGate.circuit->zoom_factor]->fid); in gate_drawclockparams() 160 …x = RelPosDrawString(TkGate.painterW,TkGate.stextXF[TkGate.circuit->zoom_factor],TkGate.instGC,x,y… in gate_drawclockparams() 163 …x = RelPosDrawString(TkGate.painterW,TkGate.stextXF[TkGate.circuit->zoom_factor],TkGate.instGC,x,y… in gate_drawclockparams() 166 …x = RelPosDrawString(TkGate.painterW,TkGate.stextXF[TkGate.circuit->zoom_factor],TkGate.instGC,x,y… in gate_drawclockparams() 225 Tcl_Interp *tcl = TkGate.tcl; in Clock_EditProps()
|
H A D | locale.c | 142 TkGate.localeTable = new_SHash_noob(); in init_localeSet() 143 TkGate.localeNameTable = new_SHash_noob(); in init_localeSet() 145 sprintf(dirName,"%s/locale",TkGate.homedir); in init_localeSet() 162 SHash_insert(TkGate.localeTable, l->l_code,l); in init_localeSet() 163 SHash_insert(TkGate.localeNameTable, l->l_name,l); in init_localeSet() 172 TkGate.locale = (Locale*) SHash_find(TkGate.localeTable, "en"); in init_localeSet() 173 if (!TkGate.locale) { in init_localeSet() 366 TkGate.locale = (Locale*) SHash_find(TkGate.localeTable, lang); in localization_Setup() 367 if (!TkGate.locale) { in localization_Setup() 370 TkGate.locale = englishLocale; in localization_Setup() [all …]
|
H A D | hyperlink.c | 68 strreplace(file,"@L",TkGate.locale->l_code,1); in expandSpecialDirs() 77 result = Tcl_GetStringResult(TkGate.tcl); in Hyperlink_inSimulator() 102 sprintf(command,"%s",TkGate.browserCommand); in Html_invoke_browser() 137 sprintf(command,"%s",TkGate.emailCommand); in Html_invoke_email() 214 ob_touch(TkGate.circuit); in Html_invoke_file() 216 editstate_setPath(&TkGate.circuit->es,label); in Html_invoke_file() 241 temp_s = strdup(Tcl_GetStringResult(TkGate.tcl)); in Html_invoke_action() 291 ob_touch(TkGate.circuit); in dohyperlink() 292 TkGate.circuit->mode = MODE_MOVENULL; in dohyperlink() 308 GCElement *g = gate_hit(TkGate.circuit->es->env,x,y); in Hyperlink_selectAt() [all …]
|
H A D | search.c | 57 if (TkGate.circuit->es->env != M) { in GSearchContext_setPosition() 58 ob_touch(TkGate.circuit); in GSearchContext_setPosition() 60 editstate_setCurrent(TkGate.circuit->es); in GSearchContext_setPosition() 72 sel_clear(TkGate.circuit->es,1); in GSearchContext_setPosition() 73 sel_appendGate(TkGate.circuit->es,g,1); in GSearchContext_setPosition() 74 sel_finish(TkGate.circuit->es); in GSearchContext_setPosition() 87 sel_clear(TkGate.circuit->es,1); in GSearchContext_setPosition() 93 TkGate_setOrigin(TkGate.width/2 - x,TkGate.height/2 - y); in GSearchContext_setPosition() 94 ob_touch(TkGate.circuit->es); in GSearchContext_setPosition() 95 editstate_saveOrig(TkGate.circuit->es); in GSearchContext_setPosition() [all …]
|
H A D | icon.c | 62 XFreePixmap(TkGate.D,zset->p[i]); in Pixmap_deleteZoomSet() 71 if (!TkGate.tcl) return None; in Pixmap_register() 77 *P = XCreatePixmapFromBitmapData(TkGate.D,TkGate.root,(char*)data,w,h,1,0,1); in Pixmap_register() 92 if (!TkGate.tcl) return None; in Pixmap_registerFromFileWithParms() 96 base_dir = Tcl_GetVar(TkGate.tcl,"bd",TCL_GLOBAL_ONLY); in Pixmap_registerFromFileWithParms() 107 if (XReadBitmapFile(TkGate.D,TkGate.root,buf,&w,&h,P,&x,&y) != BitmapSuccess) { in Pixmap_registerFromFileWithParms() 143 XImage *SI = XGetImage(TkGate.D,p,0,0,w,h,0x1,XYPixmap); in Pixmap_createZoomPixmap() 144 Pixmap DP = XCreatePixmap(TkGate.D,TkGate.root,zp*w,zp*h,1); in Pixmap_createZoomPixmap() 145 XImage *DI = XGetImage(TkGate.D,DP,0,0,zp*w,zp*h,0x1,XYPixmap); in Pixmap_createZoomPixmap() 159 XPutImage(TkGate.D,DP,TkGate.bitGC,DI,0,0,0,0,zp*w,zp*h); in Pixmap_createZoomPixmap()
|
H A D | decoder.c | 326 XSetFont(TkGate.D,TkGate.instGC,TkGate.textbXF[TkGate.circuit->zoom_factor]->fid); in Decoder_Draw_Special() 328 XSetFont(TkGate.D,TkGate.instGC,TkGate.textXF[TkGate.circuit->zoom_factor]->fid); in Decoder_Draw_Special() 335 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in Decoder_Draw_Special() 337 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextXF[TkGate.circuit->zoom_factor]->fid); in Decoder_Draw_Special() 341 dce_DrawString(TkGate.instGC, in Decoder_Draw_Special() 344 dce_DrawString(TkGate.instGC, in Decoder_Draw_Special() 349 dce_DrawString(TkGate.instGC, in Decoder_Draw_Special() 352 dce_DrawString(TkGate.instGC, in Decoder_Draw_Special() 357 dce_DrawString(TkGate.instGC, in Decoder_Draw_Special() 360 dce_DrawString(TkGate.instGC, in Decoder_Draw_Special() [all …]
|
H A D | demux.c | 337 XSetFont(TkGate.D,TkGate.instGC,TkGate.textbXF[TkGate.circuit->zoom_factor]->fid); in Demux_Draw_Special() 339 XSetFont(TkGate.D,TkGate.instGC,TkGate.textXF[TkGate.circuit->zoom_factor]->fid); in Demux_Draw_Special() 346 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in Demux_Draw_Special() 348 XSetFont(TkGate.D,TkGate.instGC,TkGate.stextXF[TkGate.circuit->zoom_factor]->fid); in Demux_Draw_Special() 352 dce_DrawString(TkGate.instGC, in Demux_Draw_Special() 355 dce_DrawString(TkGate.instGC, in Demux_Draw_Special() 360 dce_DrawString(TkGate.instGC, in Demux_Draw_Special() 363 dce_DrawString(TkGate.instGC, in Demux_Draw_Special() 368 dce_DrawString(TkGate.instGC, in Demux_Draw_Special() 371 dce_DrawString(TkGate.instGC, in Demux_Draw_Special() [all …]
|
H A D | block.c | 499 XSetFont(TkGate.D,TkGate.modportGC, TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in block_drawnamelist() 502 XSetFont(TkGate.D,TkGate.modportGC, TkGate.stextXF[TkGate.circuit->zoom_factor]->fid); in block_drawnamelist() 537 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.moduleGC, in Block_Draw() 552 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.moduleGC, in Block_Draw() 562 XSetFont(TkGate.D,TkGate.moduleGC, TkGate.stextbXF[TkGate.circuit->zoom_factor]->fid); in Block_Draw() 564 XSetFont(TkGate.D,TkGate.moduleGC, TkGate.stextXF[TkGate.circuit->zoom_factor]->fid); in Block_Draw() 573 XSetFont(TkGate.D,TkGate.moduleGC, TkGate.textbXF[TkGate.circuit->zoom_factor]->fid); in Block_Draw() 575 XSetFont(TkGate.D,TkGate.moduleGC, TkGate.textXF[TkGate.circuit->zoom_factor]->fid); in Block_Draw() 1590 if (!block_edgehit(g,TkGate.ed->tx,TkGate.ed->ty)) return; in block_newport() 1598 orient = quadrent(g,TkGate.ed->tx,TkGate.ed->ty); in block_newport() [all …]
|
H A D | gates.c | 342 if (MinX < TkGate.ed->min_x) TkGate.ed->min_x = MinX; in gate_displayall() 343 if (MinY < TkGate.ed->min_y) TkGate.ed->min_y = MinY; in gate_displayall() 344 if (MaxX > TkGate.ed->max_x) TkGate.ed->max_x = MaxX; in gate_displayall() 345 if (MaxY > TkGate.ed->max_y) TkGate.ed->max_y = MaxY; in gate_displayall() 392 XSetFont(TkGate.D,TkGate.instGC,TkGate.textbXF[TkGate.circuit->zoom_factor]->fid); in gate_drawgatename() 394 XSetFont(TkGate.D,TkGate.instGC,TkGate.textXF[TkGate.circuit->zoom_factor]->fid); in gate_drawgatename() 460 Icon_draw(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(x),ctow_y(y),REPCOUNTMARK); in displayRepCount() 472 …ZDrawLine(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGat… in gate_doReplication() 481 ex = TkGate.ed->tx; in gate_doReplication() 857 if (TkGate.tcl) { in init_specials() [all …]
|
/dports/cad/tkgate/tkgate-2.1/ |
H A D | tkgate.desktop | 2 Name=TkGate 15 Name[gl]=TkGate 18 Name[de]=TkGate 22 Name[pl]=TkGate 28 Name[ru]=TkGate 32 Name[it]=TkGate 36 Name[ca]=TkGate 40 Name[sr]=TkGate 44 Name[da]=TkGate 48 Name[sv]=TkGate [all …]
|