/dports/cad/electric/electric-7.00/src/usr/ |
H A D | usrdisp.c | 862 static INTBIG us_xarrowpoint[] = {1, DISPLAYSLIDERSIZE/2, DISPLAYSLIDERSIZE/2, DISPLAYSLIDERSIZE-1, 863 DISPLAYSLIDERSIZE-1, DISPLAYSLIDERSIZE/2, DISPLAYSLIDERSIZE/2}; 864 static INTBIG us_yarrowpoint[] = {1+DISPLAYSLIDERSIZE/2, DISPLAYSLIDERSIZE, 865 1+DISPLAYSLIDERSIZE/3*2, 1+DISPLAYSLIDERSIZE/3*2, 2+DISPLAYSLIDERSIZE/3, 925 poly->xv[0] = lx+DISPLAYSLIDERSIZE+1; poly->yv[0] = ly-DISPLAYSLIDERSIZE; in us_drawverticalslider() 932 poly->xv[1] = lx+DISPLAYSLIDERSIZE; poly->yv[1] = hy-DISPLAYSLIDERSIZE-1; in us_drawverticalslider() 935 poly->xv[1] = lx+DISPLAYSLIDERSIZE; poly->yv[1] = ly+DISPLAYSLIDERSIZE+1; in us_drawverticalslider() 994 poly->xv[0] = lx+DISPLAYSLIDERSIZE+1; poly->yv[0] = hy-DISPLAYSLIDERSIZE; in us_drawhorizontalslider() 997 poly->xv[0] = hx-DISPLAYSLIDERSIZE-1; poly->yv[0] = hy-DISPLAYSLIDERSIZE; in us_drawhorizontalslider() 1029 maketruerectpoly(hx+2, hx+DISPLAYSLIDERSIZE, ly+DISPLAYSLIDERSIZE+2, hy-DISPLAYSLIDERSIZE-2, poly); in us_drawverticalsliderthumb() [all …]
|
H A D | usreditpac.c | 174 win->usehx += DISPLAYSLIDERSIZE; in us_editpacmakeeditor() 175 win->usely -= DISPLAYSLIDERSIZE; in us_editpacmakeeditor() 179 win->uselx -= DISPLAYSLIDERSIZE; in us_editpacmakeeditor() 180 win->usely -= DISPLAYSLIDERSIZE; in us_editpacmakeeditor() 1026 if (y > e->revy - DISPLAYSLIDERSIZE) in us_editpacgotbutton() 1052 us_vthumbbegin(y, win, win->usehx-DISPLAYSLIDERSIZE, win->usely+DISPLAYSLIDERSIZE, in us_editpacgotbutton() 1192 (e->shei-DISPLAYSLIDERSIZE*2-THUMBSIZE); in us_editpacvthumbtrackingtextcallback() 1779 win->usehx-DISPLAYSLIDERSIZE, 0); in us_editpacdrawsliders() 1835 top = e->revy - DISPLAYSLIDERSIZE; in us_editpacdrawvscroll() 1841 us_drawverticalsliderthumb(win, win->usehx-DISPLAYSLIDERSIZE, win->usely+DISPLAYSLIDERSIZE, in us_editpacdrawvscroll() [all …]
|
H A D | usr.c | 1469 if (y <= w->usely+DISPLAYSLIDERSIZE) in us_ontablet() 1527 lx += DISPLAYSLIDERSIZE; in us_ontablet() 1547 if (x <= lx+DISPLAYSLIDERSIZE) in us_ontablet() 2096 w->usehx -= DISPLAYSLIDERSIZE; in us_endobjectchange() 2097 w->usely += DISPLAYSLIDERSIZE; in us_endobjectchange() 2103 w->usehx += DISPLAYSLIDERSIZE; in us_endobjectchange() 2104 w->usely -= DISPLAYSLIDERSIZE; in us_endobjectchange() 2112 w->uselx += DISPLAYSLIDERSIZE; in us_endobjectchange() 2113 w->usely += DISPLAYSLIDERSIZE; in us_endobjectchange() 2119 w->uselx -= DISPLAYSLIDERSIZE; in us_endobjectchange() [all …]
|
H A D | usrtrack.c | 2357 us_trackww.screenly = us_trackww.usely = hy-DISPLAYSLIDERSIZE; in us_hthumbbegin() 2379 us_dragpoly->yv[1] = us_trackww.usehy-DISPLAYSLIDERSIZE+1; in us_hthumbdown() 2388 x = us_trackww.uselx+DISPLAYSLIDERSIZE+1 - us_dragwindow->thumblx + us_initthumbcoord; in us_hthumbdown() 2394 us_dragpoly->yv[1] = us_trackww.usehy-DISPLAYSLIDERSIZE+1; in us_hthumbdown() 2420 thumbareax = (us_dragwindow->usehx - us_dragwindow->uselx - DISPLAYSLIDERSIZE*2-4) / 2; in us_hthumbtrackingcallback() 2442 us_dragpoly->yv[1] = us_trackww.usehy-DISPLAYSLIDERSIZE+1; in us_hthumbdone() 2479 us_trackww.screenhx = us_trackww.usehx = hx+DISPLAYSLIDERSIZE; in us_vthumbbegin() 2506 us_dragpoly->xv[1] = us_dragoffx+DISPLAYSLIDERSIZE-1; in us_vthumbdown() 2521 us_dragpoly->xv[1] = us_dragoffx+DISPLAYSLIDERSIZE-1; in us_vthumbdown() 2548 thumbareay = (us_dragwindow->usehy - us_dragwindow->usely - DISPLAYSLIDERSIZE*2-4) / 2; in us_vthumbtrackingcallback() [all …]
|
H A D | usrnet.c | 2575 ow->usehx += DISPLAYSLIDERSIZE; in us_createexplorerstruct() 2576 ow->usely -= DISPLAYSLIDERSIZE; in us_createexplorerstruct() 2579 ow->usehx -= DISPLAYSLIDERSIZE; in us_createexplorerstruct() 3763 if (w->thumbhy > w->usehy-DISPLAYSLIDERSIZE-2) w->thumbhy = w->usehy-DISPLAYSLIDERSIZE-2; in us_exploreredisphandler() 3764 if (w->thumbly < w->usely+DISPLAYSLIDERSIZE*2+2) w->thumbly = w->usely+DISPLAYSLIDERSIZE*2+2; in us_exploreredisphandler() 3765 us_drawverticalsliderthumb(w, w->usehx-DISPLAYSLIDERSIZE, w->usely+DISPLAYSLIDERSIZE, in us_exploreredisphandler() 3808 gra_drawbox(w, lx, lx+DISPLAYSLIDERSIZE-1, ly, ly+DISPLAYSLIDERSIZE-1, &us_box); in us_drawwindowicon() 3834 if (highx > w->usehx-DISPLAYSLIDERSIZE) highx = w->usehx-DISPLAYSLIDERSIZE; in us_highlightexplorernode() 3837 if (lowy < w->usely+DISPLAYSLIDERSIZE) lowy = w->usely+DISPLAYSLIDERSIZE; in us_highlightexplorernode() 4043 us_vthumbbegin(y, w, w->usehx-DISPLAYSLIDERSIZE, w->usely+DISPLAYSLIDERSIZE, in us_explorebuttonhandler() [all …]
|
H A D | usrwindow.c | 317 neww->usehx -= DISPLAYSLIDERSIZE; in us_switchtocell() 318 neww->usely += DISPLAYSLIDERSIZE; in us_switchtocell() 323 neww->usehx += DISPLAYSLIDERSIZE; in us_switchtocell() 324 neww->usely -= DISPLAYSLIDERSIZE; in us_switchtocell() 331 neww->uselx += DISPLAYSLIDERSIZE; in us_switchtocell() 332 neww->usely += DISPLAYSLIDERSIZE; in us_switchtocell() 337 neww->uselx -= DISPLAYSLIDERSIZE; in us_switchtocell() 338 neww->usely -= DISPLAYSLIDERSIZE; in us_switchtocell()
|
H A D | usrcomln.c | 640 curw->usehx -= DISPLAYSLIDERSIZE; in us_library() 641 curw->usely += DISPLAYSLIDERSIZE; in us_library() 645 curw->uselx -= DISPLAYSLIDERSIZE; in us_library() 646 curw->usely -= DISPLAYSLIDERSIZE; in us_library()
|
H A D | usreditemacs.c | 195 win->usehx += DISPLAYSLIDERSIZE; in us_editemacsmakeeditor() 196 win->usely -= DISPLAYSLIDERSIZE; in us_editemacsmakeeditor()
|
H A D | usrmisc.c | 634 uhx -= DISPLAYSLIDERSIZE; in us_windowfit() 635 uly += DISPLAYSLIDERSIZE; in us_windowfit() 639 ulx += DISPLAYSLIDERSIZE; in us_windowfit() 640 uly += DISPLAYSLIDERSIZE; in us_windowfit()
|
/dports/cad/electric/electric-7.00/src/sim/ |
H A D | simwindow.c | 3500 w->uselx -= DISPLAYSLIDERSIZE; in sim_window_redisphandler() 3501 w->usely -= DISPLAYSLIDERSIZE; in sim_window_redisphandler() 3522 if (w->thumbhy > w->usehy-DISPLAYSLIDERSIZE-2) w->thumbhy = w->usehy-DISPLAYSLIDERSIZE-2; in sim_window_redisphandler() 3523 if (w->thumbly < w->usely+DISPLAYSLIDERSIZE*2+2) w->thumbly = w->usely+DISPLAYSLIDERSIZE*2+2; in sim_window_redisphandler() 3533 us_drawhorizontalslider(w, ly+DISPLAYSLIDERSIZE, lx+DISPLAYSLIDERSIZE+extraroom, hx, 0); in sim_window_redisphandler() 3546 if (w->thumbhx > w->usehx-DISPLAYSLIDERSIZE-2) w->thumbhx = w->usehx-DISPLAYSLIDERSIZE-2; in sim_window_redisphandler() 3547 if (w->thumblx < w->uselx+DISPLAYSLIDERSIZE*2+2) w->thumblx = w->uselx+DISPLAYSLIDERSIZE*2+2; in sim_window_redisphandler() 3557 …us_drawslidercorner(w, lx+DISPLAYSLIDERSIZE*7, lx+DISPLAYSLIDERSIZE*7-1, ly, ly+DISPLAYSLIDERSIZE-… in sim_window_redisphandler() 3560 …us_drawslidercorner(w, lx+DISPLAYSLIDERSIZE*10, lx+DISPLAYSLIDERSIZE*10-1, ly, ly+DISPLAYSLIDERSIZ… in sim_window_redisphandler() 3566 w->uselx += DISPLAYSLIDERSIZE; in sim_window_redisphandler() [all …]
|
/dports/cad/electric/electric-7.00/src/include/ |
H A D | global.h | 1239 #define DISPLAYSLIDERSIZE 12 /* size of sliders on the right and bottom */ macro
|