Home
last modified time | relevance | path

Searched refs:BOXSIZE (Results 1 – 19 of 19) sorted by relevance

/dports/math/giacxcas/fltk-1.3.0/src/
H A Dfl_show_colormap.cxx34 #define BOXSIZE 14 macro
54 Fl_Window(BOXSIZE*8+1+2*BORDER, BOXSIZE*32+1+2*BORDER) { in ColorMenu()
65 if (c == which) fl_draw_box(FL_DOWN_BOX, X+1, Y+1, BOXSIZE-1, BOXSIZE-1, c); in drawbox()
66 else fl_draw_box(FL_BORDER_BOX, X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
69 X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
90 if (X >= 0) X = X/BOXSIZE; in handle()
92 if (Y >= 0) Y = Y/BOXSIZE; in handle()
125 if (px+bx+BOXSIZE+BORDER >= scr_x+scr_w) px = scr_x+scr_w-bx-BOXSIZE-BORDER; in handle()
127 if (py+by+BOXSIZE+BORDER >= scr_y+scr_h) py = scr_y+scr_h-by-BOXSIZE-BORDER; in handle()
144 position(Fl::event_x_root()-(initial%8)*BOXSIZE-BOXSIZE/2-BORDER, in run()
[all …]
/dports/x11-toolkits/fltk/fltk-1.3.8/src/
H A Dfl_show_colormap.cxx25 #define BOXSIZE 14 macro
45 Fl_Window(BOXSIZE*8+1+2*BORDER, BOXSIZE*32+1+2*BORDER) { in ColorMenu()
53 int X = (c%8)*BOXSIZE+BORDER; in drawbox()
54 int Y = (c/8)*BOXSIZE+BORDER; in drawbox()
56 if (c == which) fl_draw_box(FL_DOWN_BOX, X+1, Y+1, BOXSIZE-1, BOXSIZE-1, c); in drawbox()
57 else fl_draw_box(FL_BORDER_BOX, X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
60 X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
116 if (px+bx+BOXSIZE+BORDER >= scr_x+scr_w) px = scr_x+scr_w-bx-BOXSIZE-BORDER; in handle()
118 if (py+by+BOXSIZE+BORDER >= scr_y+scr_h) py = scr_y+scr_h-by-BOXSIZE-BORDER; in handle()
135 position(Fl::event_x_root()-(initial%8)*BOXSIZE-BOXSIZE/2-BORDER, in run()
[all …]
/dports/x11-toolkits/ntk/ntk/src/
H A Dfl_show_colormap.cxx34 #define BOXSIZE 14 macro
54 Fl_Window(BOXSIZE*8+1+2*BORDER, BOXSIZE*32+1+2*BORDER) { in ColorMenu()
65 if (c == which) fl_draw_box(FL_DOWN_BOX, X+1, Y+1, BOXSIZE-1, BOXSIZE-1, c); in drawbox()
66 else fl_draw_box(FL_BORDER_BOX, X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
69 X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
90 if (X >= 0) X = X/BOXSIZE; in handle()
92 if (Y >= 0) Y = Y/BOXSIZE; in handle()
125 if (px+bx+BOXSIZE+BORDER >= scr_x+scr_w) px = scr_x+scr_w-bx-BOXSIZE-BORDER; in handle()
127 if (py+by+BOXSIZE+BORDER >= scr_y+scr_h) py = scr_y+scr_h-by-BOXSIZE-BORDER; in handle()
144 position(Fl::event_x_root()-(initial%8)*BOXSIZE-BOXSIZE/2-BORDER, in run()
[all …]
/dports/x11/virtualgl/virtualgl-3.0/server/fltk/src/
H A Dfl_show_colormap.cxx37 #define BOXSIZE 14 macro
53 Fl_Window(BOXSIZE*8+1+2*BORDER, BOXSIZE*32+1+2*BORDER) { in ColorMenu()
65 if (c == which) fl_draw_box(FL_DOWN_BOX, X+1, Y+1, BOXSIZE-1, BOXSIZE-1, c); in drawbox()
66 else fl_draw_box(FL_BORDER_BOX, X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
69 X, Y, BOXSIZE+1, BOXSIZE+1, c); in drawbox()
90 if (X >= 0) X = X/BOXSIZE; in handle()
92 if (Y >= 0) Y = Y/BOXSIZE; in handle()
125 if (px+bx+BOXSIZE+BORDER >= scr_x+scr_w) px = scr_x+scr_w-bx-BOXSIZE-BORDER; in handle()
127 if (py+by+BOXSIZE+BORDER >= scr_y+scr_h) py = scr_y+scr_h-by-BOXSIZE-BORDER; in handle()
144 position(Fl::event_x_root()-(initial%8)*BOXSIZE-BOXSIZE/2-BORDER, in run()
[all …]
/dports/games/xlife/xlife-6.7/
H A Dgenerate.c336 maketile(context, cptr->x - BOXSIZE, cptr->y - BOXSIZE); in evolve2b0()
814 cell_t ocell[BOXSIZE][BOXSIZE]; in evolve3()
917 cell_t ocell[BOXSIZE][BOXSIZE]; in evolve3b0()
1551 static cell_t hold[HY + BOXSIZE + HY][HX + BOXSIZE + HX];
1585 float payoff[HY + BOXSIZE + HY][HX + BOXSIZE + HX]; in evolvep()
1612 if (X_CHNG(BOXSIZE - 1,BOXSIZE - 1)) { in evolvep()
1621 sizeof(cell_t[BOXSIZE][BOXSIZE])); in evolvep()
1654 get_corner(0, BOXSIZE + 2, ncptr, BOXSIZE - 2, 0); in evolvep()
1656 get_corner(BOXSIZE + 2, BOXSIZE + 2, ncptr, 0, 0); in evolvep()
1658 get_corner(BOXSIZE + 2, 0, ncptr, 0, BOXSIZE - 2); in evolvep()
[all …]
H A Ddefs.h174 #define BOXSIZE 8 macro
179 u32bits on[BOXSIZE];
183 u32bits live[BOXSIZE][2];
184 cell_t cell[BOXSIZE][BOXSIZE];
193 u32bits live[BOXSIZE][2];
194 cell_t cell[BOXSIZE][BOXSIZE];
196 cell_t ocell[BOXSIZE][BOXSIZE];
204 u32bits live[BOXSIZE][2];
205 u16bits slive[BOXSIZE][4];
206 cell_t cell[BOXSIZE][BOXSIZE];
[all …]
H A Dcell.c193 if ((nptr = fetchtile(&active, x + BOXSIZE*k, y + BOXSIZE*l)) == 0) in displaybox()
226 for (i = 0; i < BOXSIZE; i++) in displaybox()
295 if ((nptr = fetchtile(&active, x + BOXSIZE*i, y + BOXSIZE*j)) == 0) in displaybox()
346 … if ((nptr = fetchtile(&tentative, x + STARTX + BOXSIZE*k, y + STARTY + BOXSIZE*l)) == 0) in trdisplaybox()
370 for (i = 0; i < BOXSIZE; i++) in trdisplaybox()
407 … if ((nptr = fetchtile(&tentative, x + STARTX + BOXSIZE*i, y + STARTY + BOXSIZE*j)) == 0) in trdisplaybox()
492 … if ((nptr = fetchtile(&tentative, x + STARTX + BOXSIZE*k, y + STARTY + BOXSIZE*l)) == 0) in trdisplaybox_nofb()
511 for (i = 0; i < BOXSIZE; i++) in trdisplaybox_nofb()
512 for (j = 0; j < BOXSIZE; j++) { in trdisplaybox_nofb()
517 if (++vc >= (BOXSIZE >> -scale)*(BOXSIZE >> -scale)) goto boxready; in trdisplaybox_nofb()
[all …]
H A Dtentative.c98 else if (ptr->x + BOXSIZE < xmin || ptr->y + BOXSIZE < ymin in make_tentative()
101 for (dx = 0; dx < BOXSIZE; dx++) in make_tentative()
102 for (dy = 0; dy < BOXSIZE; dy++) in make_tentative()
128 for (dx = 0; dx < BOXSIZE; dx++) in copy_tentative()
129 for (dy = 0; dy < BOXSIZE; dy++) in copy_tentative()
142 return sizeof(cell_t[BOXSIZE][BOXSIZE]); in tiledatasize()
172 for (dx = 0; dx < BOXSIZE; dx++) in change_tentative_color()
173 for (dy = 0; dy < BOXSIZE; dy++) in change_tentative_color()
H A Dhistory.c228 if ((nptr = fetchhistorytile(history + color, x + BOXSIZE*i, y + BOXSIZE*j)) == 0) in displayhistorybox()
/dports/biology/migrate/migrate-3.6.11/src/
H A Dlrt.c425 FPRINTF(world->outfile,"%-*.*s | LnL(test) = %f\n",BOXSIZE,BOXSIZE, box[0],like0); in print_box()
427 FPRINTF(world->outfile,"%-*.*s | LRT = %f\n",BOXSIZE,BOXSIZE, box[2],lrt); in print_box()
431 FPRINTF(world->outfile,"%-*.*s | AIC = %f\n",BOXSIZE,BOXSIZE,box[6],aic); in print_box()
434 FPRINTF(world->outfile,"%-*.*s |\n",BOXSIZE,BOXSIZE,box[i]); in print_box()
437 FPRINTF(stdout,"%-*.*s | LnL(test) = %f\n",BOXSIZE,BOXSIZE, box[0],like0); in print_box()
438 FPRINTF(stdout,"%-*.*s | LnL(full) = %f\n",BOXSIZE,BOXSIZE, box[1],like1); in print_box()
439 FPRINTF(stdout,"%-*.*s | LRT = %f\n",BOXSIZE,BOXSIZE, box[2],lrt); in print_box()
441 FPRINTF(stdout,"%-*.*s | Prob = %f\n",BOXSIZE,BOXSIZE,box[4],chiprob); in print_box()
442 FPRINTF(stdout,"%-*.*s | Probc = %f\n",BOXSIZE,BOXSIZE,box[5],chiprob2); in print_box()
443 FPRINTF(stdout,"%-*.*s | AIC = %f\n",BOXSIZE,BOXSIZE,box[6],aic); in print_box()
[all …]
H A Dpretty.c6665 #define BOXSIZE 50 /*defines the print width of the left box containing the H0*/ macro
6677 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[0]); in pdf_print_LRT_box()
6680 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[1]); in pdf_print_LRT_box()
6683 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[2]); in pdf_print_LRT_box()
6686 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[3]); in pdf_print_LRT_box()
6689 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[4]); in pdf_print_LRT_box()
6692 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[5]); in pdf_print_LRT_box()
6695 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[6]); in pdf_print_LRT_box()
6698 pdf_printf(lx, *page_height, 'L', "%-*.*s",BOXSIZE,BOXSIZE, box[7]); in pdf_print_LRT_box()
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/lib/dft/
H A Dnr_numint.c26 #define BOXSIZE 56 macro
40 int bound = BOXSIZE; in VXCao_empty_blocks()
48 bound += BOXSIZE; in VXCao_empty_blocks()
53 bound += BOXSIZE; in VXCao_empty_blocks()
64 int nbox = (nao+BOXSIZE-1) / BOXSIZE; in dot_ao_dm()
79 b0 = box_id * BOXSIZE; in dot_ao_dm()
80 blen = MIN(nao-b0, BOXSIZE); in dot_ao_dm()
128 int nbox = (nao+BOXSIZE-1) / BOXSIZE; in dot_ao_ao()
142 b0i = ib * BOXSIZE; in dot_ao_ao()
143 leni = MIN(nao-b0i, BOXSIZE); in dot_ao_ao()
[all …]
H A Dr_numint.c28 #define BOXSIZE 56 macro
37 int nbox = (nao+BOXSIZE-1) / BOXSIZE; in dot_ao_dm()
51 b0 = box_id * BOXSIZE; in dot_ao_dm()
52 blen = MIN(nao-b0, BOXSIZE); in dot_ao_dm()
100 int nbox = (nao+BOXSIZE-1) / BOXSIZE; in dot_ao_ao()
114 b0i = ib * BOXSIZE; in dot_ao_ao()
115 leni = MIN(nao-b0i, BOXSIZE); in dot_ao_ao()
121 b0j = jb * BOXSIZE; in dot_ao_ao()
122 lenj = MIN(nao-b0j, BOXSIZE); in dot_ao_ao()
/dports/math/giacxcas/fltk-1.3.0/test/
H A Dcheckers.cxx949 #define BOXSIZE 52 macro
951 #define BOARDSIZE (8*BOXSIZE+BORDER)
970 if (!((x^y)&1)) fl_rectf(BORDER+x*BOXSIZE, BORDER+y*BOXSIZE, in draw()
971 BOXSIZE-BORDER, BOXSIZE-BORDER); in draw()
976 fl_rectf(x*BOXSIZE,0,BORDER,h()); in draw()
977 fl_rectf(0,x*BOXSIZE,w(),BORDER); in draw()
988 int x2 = squarex(n->to)+BOXSIZE/2-5; in draw()
989 int y2 = squarey(n->to)+BOXSIZE/2-5; in draw()
1006 int x2 = squarex(n->to)+BOXSIZE/2-5; in draw()
1007 int y2 = squarey(n->to)+BOXSIZE/2-5; in draw()
[all …]
/dports/x11-toolkits/fltk/fltk-1.3.8/test/
H A Dcheckers.cxx940 #define BOXSIZE 52 macro
942 #define BOARDSIZE (8*BOXSIZE+BORDER)
961 if (!((x^y)&1)) fl_rectf(BORDER+x*BOXSIZE, BORDER+y*BOXSIZE, in draw()
962 BOXSIZE-BORDER, BOXSIZE-BORDER); in draw()
967 fl_rectf(x*BOXSIZE,0,BORDER,h()); in draw()
968 fl_rectf(0,x*BOXSIZE,w(),BORDER); in draw()
979 int x2 = squarex(n->to)+BOXSIZE/2-5; in draw()
980 int y2 = squarey(n->to)+BOXSIZE/2-5; in draw()
997 int x2 = squarex(n->to)+BOXSIZE/2-5; in draw()
998 int y2 = squarey(n->to)+BOXSIZE/2-5; in draw()
[all …]
/dports/x11-toolkits/ntk/ntk/test/
H A Dcheckers.cxx949 #define BOXSIZE 52 macro
951 #define BOARDSIZE (8*BOXSIZE+BORDER)
970 if (!((x^y)&1)) fl_rectf(BORDER+x*BOXSIZE, BORDER+y*BOXSIZE, in draw()
971 BOXSIZE-BORDER, BOXSIZE-BORDER); in draw()
976 fl_rectf(x*BOXSIZE,0,BORDER,h()); in draw()
977 fl_rectf(0,x*BOXSIZE,w(),BORDER); in draw()
988 int x2 = squarex(n->to)+BOXSIZE/2-5; in draw()
989 int y2 = squarey(n->to)+BOXSIZE/2-5; in draw()
1006 int x2 = squarex(n->to)+BOXSIZE/2-5; in draw()
1007 int y2 = squarey(n->to)+BOXSIZE/2-5; in draw()
[all …]
/dports/games/golly/golly-3.3-src/gui-wx/
H A Dwxedit.cpp179 const int BOXSIZE = 17; // width and height of colorbox and iconbox variable
312 int scrollbarht = BOXSIZE; in EditBar()
314 int x = xpos + 3*digitwd + BOXGAP + 2*(BOXSIZE + BOXGAP); in EditBar()
487 DisplayText(dc, strbuf, x, y - (BOXSIZE - digitht)/2); in DrawEditBar()
493 colorbox = wxRect(x, y - BOXSIZE, BOXSIZE, BOXSIZE); in DrawEditBar()
500 x += BOXSIZE + BOXGAP; in DrawEditBar()
501 iconbox = wxRect(x, y - BOXSIZE, BOXSIZE, BOXSIZE); in DrawEditBar()
506 DrawOneIcon(dc, x + 1, y - BOXSIZE + 1, iconmaps[state], in DrawEditBar()
/dports/cad/ngspice_rework/ngspice-35/src/frontend/plotting/
H A Dx11.c61 #define BOXSIZE 30 /* initial size of bounding box for zoomin */ macro
1022 x = x1 = x0 + BOXSIZE; in zoomin()
1023 y = y1 = y0 + BOXSIZE; in zoomin()
1028 width = BOXSIZE; in zoomin()
1029 height = BOXSIZE; in zoomin()
/dports/cad/jspice3/jspice3-2.5/src/lib/plot/
H A Dx11.c117 #define BOXSIZE 30 /* initial size of bounding box for zoomin */ macro
2041 x = lowerx = x1 = x0 + BOXSIZE;
2042 y = lowery = y1 = y0 + BOXSIZE;