/dports/multimedia/lives/lives-3.2.0/lives-plugins/weed-plugins/gdk/ |
H A D | videowall.c | 125 pwidth = width / xwid; in videowall_process() 131 offs_x = (width - pwidth * xwid) >> 1; in videowall_process() 158 row = (int)((float)idxno / (float)xwid); in videowall_process() 159 col = idxno - (row * xwid); in videowall_process() 169 else idxno += xwid; in videowall_process() 172 if (col <= (xwid - row - 1) - (xwid - xht)) { in videowall_process() 186 if (col < xwid - 1 - row) idxno++; in videowall_process() 189 else idxno -= xwid; in videowall_process() 200 idxno %= (xwid * xht); in videowall_process() 203 row = (int)((float)idxno / (float)xwid); in videowall_process() [all …]
|
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Widkit/Misc/ |
H A D | refresh_widget.cpp | 54 if (cache->contains (xwid)) { in recompute() 56 if (curobj == xwid) return false; in recompute() 57 curobj= xwid; in recompute() 58 cur = cache [xwid]; in recompute() 63 curobj= xwid; in recompute() 69 if (menu_caching) cache (xwid)= cur; in recompute() 122 object xwid = call (prom); in recompute() local 123 if (curobj == xwid) return false; in recompute() 124 if (!is_widget (xwid)) return false; in recompute() 125 curobj= xwid; in recompute() [all …]
|
/dports/games/xmines/xmines/ |
H A D | makemap.c | 42 Window xwid, root; variable 115 XGetGeometry(dpy, xwid, &root, (int *)&junk, (int *)&junk, &junk, &junk, in InitXStuff() 123 event.window = xwid; in InitXStuff() 149 fscanf(xwidpipe, "%lx", &xwid); in GetWindowID() 164 while (!XSendEvent(dpy, xwid, True, 0, (XEvent *) &event)); in ClickOnSquare()
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/ |
H A D | hud.c | 151 void hud_update_lines(short x, short *y, short xwid, short ywid); 327 void hud_update_compass(short *y, short xmin, short xwid); 336 void hud_update_compass(short *y, short xmin, short xwid) { in hud_update_compass() argument 343 short x = (int)adj * xwid / HUD_COMPASS_ARC; in hud_update_compass() 345 if (x >= xwid) in hud_update_compass() 553 short xwid = fc->xwid; in hud_update() local 556 safe_set_cliprect(0, 0, fc->xwid, fc->ywid); in hud_update() 602 xwid = SCREEN_VIEW_WIDTH; in hud_update() 606 hud_update_compass(&y, x, xwid); in hud_update() 607 hud_update_lines(x, &y, xwid, fc->ywid); in hud_update() [all …]
|
H A D | combat.c | 292 ((fauxrend_context *)_current_fr_context)->xwid; in find_fire_vector() 294 ((fauxrend_context *)_current_fr_context)->xwid; in find_fire_vector() 298 ((fauxrend_context *)_current_fr_context)->xwid; in find_fire_vector() 300 ((fauxrend_context *)_current_fr_context)->xwid; in find_fire_vector() 303 ((fauxrend_context *)_current_fr_context)->xwid; in find_fire_vector() 305 ((fauxrend_context *)_current_fr_context)->xwid; in find_fire_vector()
|
H A D | olhscan.c | 69 intxt->xwid / SCAN_RATIO, intxt->ywid / SCAN_RATIO); in olh_init_single_scan() 181 … dat->count * (fr->xwid + fr->ywid) / (abs(2 * pos.x - fr->xwid) + abs(2 * pos.y - fr->ywid) + 1); in olh_scan_objs()
|
H A D | frsetup.c | 478 fr->xwid = wid; in fr_place_view() 501 nw = _fr->xwid; in fr_view_resize() 549 …gr_init_canvas(&_fr->draw_canvas, _fr->main_canvas.bm.bits, BMT_FLAT8, _fr->xwid >> det_sizing[det… in _fr_update_context() 552 … gr_init_sub_canvas(&_fr->main_canvas, &_fr->draw_canvas, 0, 0, _fr->xwid >> det_sizing[det][0], in _fr_update_context() 683 opengl_set_viewport(_fr->xtop, _fr->ytop, _fr->xwid, _fr->ywid); in fr_start_view() 871 … FastFullscreenDouble2Canvas(&_fr->draw_canvas.bm, &gDoubleSizeOffCanvas, _fr->xwid, _fr->ywid); in fr_send_view() 873 … FastSlotDouble2Canvas(&_fr->draw_canvas.bm, &gDoubleSizeOffCanvas, _fr->xwid, _fr->ywid); in fr_send_view()
|
/dports/deskutils/lumina-screenshot/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/deskutils/lumina-mediaplayer/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/deskutils/lumina-photo/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/deskutils/lumina-fm/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/deskutils/lumina-textedit/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/deskutils/lumina-fileinfo/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/x11/lumina-coreutils/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/deskutils/lumina-archiver/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/x11/lumina-core/lumina-1.6.0/src-qt5/core/lumina-desktop/ |
H A D | LPanel.cpp | 147 int xwid = LSession::handle()->screenGeom(Screen()).width(); in UpdatePanel() local 158 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 160 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 161 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 177 QSize sz = QSize(xwid*panelPercent, ht); in UpdatePanel() 179 else if(panelPinLoc=="right"){ xloc = xloc+xwid-sz.width(); } in UpdatePanel() 180 else{ xloc = xloc+((xwid-sz.width())/2) ; } //centered in UpdatePanel() 217 this->setGeometry(xloc+xwid-ht,yloc,ht, sz.height()); in UpdatePanel() 221 …if(reserveloc){ LSession::handle()->XCB->ReserveLocation(this->winId(), QRect(xloc+xwid-hidesize, … in UpdatePanel() 222 hidepoint = QPoint(xloc+xwid-hidesize, yloc); in UpdatePanel() [all …]
|
/dports/graphics/opendx/dx-4.4.4/src/uipp/base/ |
H A D | lex.C | 614 int xwid; in IsWhere() 617 &depth, dispstr, &xwid); in IsWhere() 621 &depth, dispstr, &xwid); in IsWhere() 625 &depth, dispstr, &xwid); in IsWhere() 629 &depth, dispstr, &xwid); in IsWhere()
|
/dports/science/fastcap/fastcap-2.0wr/src/ |
H A D | psMatDisplay.c | 168 void dump_block(fp, xstart, ystart, xwid, ywid) in dump_block() argument 170 double xstart, ystart, xwid, ywid; 174 fprintf(fp, "%g %g lineto\n", xstart+xwid, ystart); /* over, to right */ 175 fprintf(fp, "%g %g lineto\n", xstart+xwid, ystart+ywid); /* up */
|
/dports/x11-wm/fvwm3/fvwm3-1.0.4/modules/FvwmMFL/ |
H A D | FvwmMFL.c | 304 char xwid[20]; in handle_packet() local 314 sprintf(xwid, "0x%lx", body[0]); in handle_packet() 324 cJSON_AddStringToObject(content, "window", xwid); in handle_packet() 347 cJSON_AddStringToObject(content, "window", xwid); in handle_packet() 391 cJSON_AddStringToObject(content, "window", xwid); in handle_packet() 403 cJSON_AddStringToObject(content, "window", xwid); in handle_packet() 425 cJSON_AddStringToObject(content, "window", xwid); in handle_packet() 474 cJSON_AddStringToObject(content, "window", xwid); in handle_packet() 490 cJSON_AddStringToObject(content, "window", xwid); in handle_packet()
|
/dports/print/cups-filters/cups-filters-1.28.10/filter/ |
H A D | texttopdf.c | 847 int col,xcol,xwid; /* Current column */ in write_line() local 893 xwid = 0; in write_line() 903 xwid += Widths[lastfont]; in write_line() 920 xwid += Widths[lastfont]; in write_line() 927 xcol += xwid; in write_line() 947 xwid += Widths[lastfont]; in write_line() 953 xwid-=Widths[lastfont]; in write_line() 954 write_string(xcol + xwid, row, 1, start); in write_line() 956 xwid--; in write_line()
|
/dports/cad/gplcver/gplcver-2.12a.src/src/ |
H A D | v_fx3.c | 1253 xwid = 1; in __get_rhswidth() 1289 if (xwid2 > xwid) xwid = xwid2; in __get_rhswidth() 1322 return(xwid); in __get_rhswidth() 1331 xwid += xwid2; in __get_rhswidth() 1343 if (xwid2 > xwid) xwid = xwid2; in __get_rhswidth() 1350 return(xwid); in __get_rhswidth() 1446 if (xwid < tndp->ru.x->szu.xclen) xwid = tndp->ru.x->szu.xclen; in set2_rhswidth() 1508 xwid = 0; in set2_rhswidth() 1553 if (xwid2 > xwid) xwid = xwid2; in set2_rhswidth() 1572 if (xwid < cwid) xwid = cwid; in set2_rhswidth() [all …]
|
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Qt/ |
H A D | QTMMenuHelper.cpp | 835 if (cache->contains (xwid)) { in recompute() 836 if (curobj == xwid) return false; in recompute() 837 curobj = xwid; in recompute() 838 cur = cache [xwid]; in recompute() 841 curobj = xwid; in recompute() 845 if (menu_caching) cache (xwid) = cur; in recompute() 920 object xwid = call (prom); in recompute() local 921 if (curobj == xwid) return false; in recompute() 922 if (!is_widget (xwid)) return false; in recompute() 923 curobj= xwid; in recompute() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/graphics/contrib/life/ |
H A D | life_g.c | 113 { int xloc, yloc, xwid, ywid; in life() local 116 xwid = ((my_offset + i) * width) / matrix_size - xloc; in life() 118 MPE_Fill_rectangle( graph, xloc, yloc, xwid, ywid, temp[i][j] ); in life()
|
/dports/math/plplot-ada/plplot-5.15.0/src/ |
H A D | plargs.c | 2687 PLINT xwid, ywid, xoff, yoff; in opt_geo() local 2698 numargs = sscanf( opt_arg, "%dx%d%d%d", &xwid, &ywid, &xoff, &yoff ); in opt_geo() 2703 if ( xwid == 0 ) in opt_geo() 2707 if ( xwid < 0 ) in opt_geo() 2720 if ( xwid == 0 ) in opt_geo() 2724 if ( xwid < 0 ) in opt_geo() 2744 xwid = 0; in opt_geo() 2758 plspage( xdpi, ydpi, xwid, ywid, xoff, yoff ); in opt_geo() 2810 PLINT xwid = 0, ywid = 0, xoff = 0, yoff = 0; in opt_dpi() local 2836 plspage( xdpi, ydpi, xwid, ywid, xoff, yoff ); in opt_dpi()
|
/dports/math/plplot/plplot-5.15.0/src/ |
H A D | plargs.c | 2687 PLINT xwid, ywid, xoff, yoff; in opt_geo() local 2698 numargs = sscanf( opt_arg, "%dx%d%d%d", &xwid, &ywid, &xoff, &yoff ); in opt_geo() 2703 if ( xwid == 0 ) in opt_geo() 2707 if ( xwid < 0 ) in opt_geo() 2720 if ( xwid == 0 ) in opt_geo() 2724 if ( xwid < 0 ) in opt_geo() 2744 xwid = 0; in opt_geo() 2758 plspage( xdpi, ydpi, xwid, ywid, xoff, yoff ); in opt_geo() 2810 PLINT xwid = 0, ywid = 0, xoff = 0, yoff = 0; in opt_dpi() local 2836 plspage( xdpi, ydpi, xwid, ywid, xoff, yoff ); in opt_dpi()
|