Home
last modified time | relevance | path

Searched refs:charw (Results 1 – 25 of 41) sorted by relevance

12

/dports/graphics/guilib/GUIlib-1.2.1/
H A DGUI_font.cpp14 charw = fontStore->w/16; in GUI_Font()
26 charw = fontStore->w/16; in GUI_Font()
46 charw = fontStore->w/16; in GUI_Font()
57 charw = fontStore->w/16; in GUI_Font()
92 src.w = charw; in TextOut()
94 dst.w = charw; in TextOut()
99 src.x = (ch%16)*charw; in TextOut()
101 dst.x = x+(i*charw); in TextOut()
H A DGUI_termwin.cpp27 charw = font->w/16; in GUI_TermWin()
29 cols = w/charw; in GUI_TermWin()
68 src.w = charw; in Display()
70 dst.w = charw; in Display()
75 src.x = (ch%16)*charw; in Display()
77 dst.x = area.x+j*charw; in Display()
H A DGUI_font.h38 {return charw;} in CharWidth()
42 {*w=strlen(text)*charw; *h=charh-1;} in TextExtent()
56 int charh,charw; variable
H A DGUI_termwin.h66 int charw, charh; variable
/dports/math/topaz/topaz-3.41/topaz/
H A Dparts.cc1141 int charw = 0; in drawtext() local
1509 charw = 0; in drawtext()
1531 charw = 0; in drawtext()
1542 charw = 0; in drawtext()
1547 charw = 0; in drawtext()
1552 charw = 0; in drawtext()
1564 charw = 0; in drawtext()
1575 charw = 0; in drawtext()
1581 charw = 0; in drawtext()
1647 charw = 0; in drawtext()
[all …]
/dports/games/ioquake3-server/ioquake3-1.36/code/q3_ui/
H A Dui_mfield.c35 int charw; in MField_Draw() local
86 charw = SMALLCHAR_WIDTH; in MField_Draw()
90 charw = GIANTCHAR_WIDTH; in MField_Draw()
94 charw = BIGCHAR_WIDTH; in MField_Draw()
100 x = x - len*charw/2; in MField_Draw()
105 x = x - len*charw; in MField_Draw()
108 …UI_DrawChar( x + ( edit->cursor - prestep ) * charw, y, cursorChar, style & ~(UI_CENTER|UI_RIGHT),… in MField_Draw()
H A Dui_atoms.c635 static void UI_DrawString2( int x, int y, const char* str, vec4_t color, int charw, int charh ) in UI_DrawString2() argument
657 aw = charw * uis.xscale; in UI_DrawString2()
698 int charw; in UI_DrawString() local
714 charw = SMALLCHAR_WIDTH; in UI_DrawString()
719 charw = GIANTCHAR_WIDTH; in UI_DrawString()
724 charw = BIGCHAR_WIDTH; in UI_DrawString()
745 x = x - len*charw/2; in UI_DrawString()
751 x = x - len*charw; in UI_DrawString()
763 UI_DrawString2(x+2,y+2,str,dropcolor,charw,charh); in UI_DrawString()
766 UI_DrawString2(x,y,str,drawcolor,charw,charh); in UI_DrawString()
/dports/games/ioquake3/ioquake3-1.36/code/q3_ui/
H A Dui_mfield.c35 int charw; in MField_Draw() local
86 charw = SMALLCHAR_WIDTH; in MField_Draw()
90 charw = GIANTCHAR_WIDTH; in MField_Draw()
94 charw = BIGCHAR_WIDTH; in MField_Draw()
100 x = x - len*charw/2; in MField_Draw()
105 x = x - len*charw; in MField_Draw()
108 …UI_DrawChar( x + ( edit->cursor - prestep ) * charw, y, cursorChar, style & ~(UI_CENTER|UI_RIGHT),… in MField_Draw()
H A Dui_atoms.c635 static void UI_DrawString2( int x, int y, const char* str, vec4_t color, int charw, int charh ) in UI_DrawString2() argument
657 aw = charw * uis.xscale; in UI_DrawString2()
698 int charw; in UI_DrawString() local
714 charw = SMALLCHAR_WIDTH; in UI_DrawString()
719 charw = GIANTCHAR_WIDTH; in UI_DrawString()
724 charw = BIGCHAR_WIDTH; in UI_DrawString()
745 x = x - len*charw/2; in UI_DrawString()
751 x = x - len*charw; in UI_DrawString()
763 UI_DrawString2(x+2,y+2,str,dropcolor,charw,charh); in UI_DrawString()
766 UI_DrawString2(x,y,str,drawcolor,charw,charh); in UI_DrawString()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/q3_ui/
H A Dui_mfield.c35 int charw; in MField_Draw() local
86 charw = SMALLCHAR_WIDTH; in MField_Draw()
90 charw = GIANTCHAR_WIDTH; in MField_Draw()
94 charw = BIGCHAR_WIDTH; in MField_Draw()
100 x = x - len*charw/2; in MField_Draw()
105 x = x - len*charw; in MField_Draw()
108 …UI_DrawChar( x + ( edit->cursor - prestep ) * charw, y, cursorChar, style & ~(UI_CENTER|UI_RIGHT),… in MField_Draw()
H A Dui_atoms.c635 static void UI_DrawString2( int x, int y, const char* str, vec4_t color, int charw, int charh ) in UI_DrawString2() argument
657 aw = charw * uis.xscale; in UI_DrawString2()
698 int charw; in UI_DrawString() local
714 charw = SMALLCHAR_WIDTH; in UI_DrawString()
719 charw = GIANTCHAR_WIDTH; in UI_DrawString()
724 charw = BIGCHAR_WIDTH; in UI_DrawString()
745 x = x - len*charw/2; in UI_DrawString()
751 x = x - len*charw; in UI_DrawString()
763 UI_DrawString2(x+2,y+2,str,dropcolor,charw,charh); in UI_DrawString()
766 UI_DrawString2(x,y,str,drawcolor,charw,charh); in UI_DrawString()
/dports/games/evq3/evq3/code/q3_ui/
H A Dui_mfield.c35 int charw; in MField_Draw() local
86 charw = SMALLCHAR_WIDTH; in MField_Draw()
90 charw = GIANTCHAR_WIDTH; in MField_Draw()
94 charw = BIGCHAR_WIDTH; in MField_Draw()
100 x = x - len*charw/2; in MField_Draw()
105 x = x - len*charw; in MField_Draw()
108 …UI_DrawChar( x + ( edit->cursor - prestep ) * charw, y, cursorChar, style & ~(UI_CENTER|UI_RIGHT),… in MField_Draw()
H A Dui_atoms.c635 static void UI_DrawString2( int x, int y, const char* str, vec4_t color, int charw, int charh ) in UI_DrawString2() argument
657 aw = charw * uis.xscale; in UI_DrawString2()
698 int charw; in UI_DrawString() local
714 charw = SMALLCHAR_WIDTH; in UI_DrawString()
719 charw = GIANTCHAR_WIDTH; in UI_DrawString()
724 charw = BIGCHAR_WIDTH; in UI_DrawString()
745 x = x - len*charw/2; in UI_DrawString()
751 x = x - len*charw; in UI_DrawString()
763 UI_DrawString2(x+2,y+2,str,dropcolor,charw,charh); in UI_DrawString()
766 UI_DrawString2(x,y,str,drawcolor,charw,charh); in UI_DrawString()
/dports/science/berkeleygw/BGW-2.0.0/LOGO/
H A Dasciify.py41 charw = int(argv[6])
43 charw = -1
55 if charw < 1:
69 newheight = int(float(oldheight * newwidth * charw) / float(oldwidth * charh) + 0.5)
/dports/biology/ncbi-toolkit/ncbi/desktop/
H A Dvsm.c1662 vsmp->charw = MaxCharWidth(); in VSeqMgrCreateMainWindow()
2211 left = vsmp->charw * gcp->indent; in VSMGatherPictProc()
2242 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2269 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2294 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2306 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2385 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2399 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2413 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
2464 width = StringWidth(buf) + (2 * vsmp->charw); in VSMGatherPictProc()
[all …]
H A Dsalparam.c91 adp->charw = CharWidth ('0'); in SeqFontProc()
94 adp->margin.left = adp->marginleft * adp->charw; in SeqFontProc()
256 adp->margin.left = adp->marginleft * adp->charw; in ChangeMarginPopup()
548 adp->charw = CharWidth ('0'); in ApplyBnStyleProc()
551 adp->margin.left = adp->marginleft * adp->charw; in ApplyBnStyleProc()
565 adp->margin.left = adp->marginleft * adp->charw; in ApplyBnStyleProc()
939 Seqlens_pix = j * adp->charw; in inval_allines()
974 inval_rect ((Int2)(ptx + adp->margin.left + (column1-2) * adp->charw), in inval_selstructpos()
993 inval_rect ((Int2)(ptx + adp->margin.left + (column1-2) * adp->charw), in inval_selstructpos_tobottom()
994 (Int2)(pty), (Int2)(ptx+adp->margin.left+ width *adp->charw), in inval_selstructpos_tobottom()
[all …]
H A Dvsmpriv.h104 leading, charw; member
H A Dsaled.c1546 x = (Int4) (pos + (adp->charw/6)) / adp->charw; in locate_point()
1561 else if ( pos < 0 && pos > -adp->charw ) in locate_point()
2248 inval_rect((Int2)(rp.left+adp->margin.left+(oldcolumn-2)*adp->charw), in on_key()
2250 (Int2)(rp.left+ adp->margin.left + (oldcolumn+2)*adp->charw), in on_key()
2253 inval_rect((Int2)(rp.left +adp->margin.left +(column-2)*adp->charw), in on_key()
2255 (Int2)(rp.left + adp->margin.left + (column+2)*adp->charw), in on_key()
2297 …left +(column-3) *adp->charw), (Int2)(rp.top + adp->lineheight * line), (Int2)(rp.left + adp->mar… in on_key()
2385 …left+(column-2)* adp->charw), (Int2)(rp.top + adp->lineheight * oldline), (Int2)(rp.left+ adp->mar… in on_key()
2386 ….left+(column-2)* adp->charw), (Int2)(rp.top + adp->lineheight * line), (Int2)(rp.left + adp->marg… in on_key()
2473 …ft +(column-2) * adp->charw), (Int2)(rp.top + adp->lineheight * oldline), (Int2)(rp.left+ adp->mar… in on_key()
[all …]
H A Dsalpanel.c1011 pixels = (oldval - newval) * adp->charw +1; in HscrlProc()
1036 x = (width - adp->margin.right) / adp->charw; in do_resize_panel()
1175 ptx += adp->charw; in draw_scale()
1214 ptx += adp->charw; in draw_bars()
1376 row = pt.x + ( column + marginleft ) * charw -1; in paint_caret()
1511 pt->x += caret_color * adp->charw; in PaintSubseq()
1517 pt->x += adp->intersalpwidth * adp->charw; in PaintSubseq()
1545 pt->x += caret_color *adp->charw; in PaintSubseq()
1644 pt->x += caret_color *adp->charw; in PaintSubseq()
1946 pt1.x = pt->x + (column + adp->marginleft) * adp->charw; in draw_line()
[all …]
/dports/games/openomf/openomf-c36c421/src/game/gui/
H A Dtext_render.c123 int charw = size + settings->cspacing; in text_render() local
126 int cols = (xspace + settings->cspacing) / charw; in text_render()
136 tmp_s = fit_lines * charw - settings->cspacing; // Total W minus last spacing in text_render()
189 line_pw = real_len * charw - settings->cspacing; in text_render()
205 mx += charw * line; in text_render()
231 mx += charw; in text_render()
/dports/games/gnujump/gnujump-1.0.8/src/
H A DSFont.c349 int charw = charWidth (Font, c); in SFont_FillWith() local
356 for (i = x + (x % charw); i <= x + w - charw; i += charw) in SFont_FillWith()
/dports/games/xskat/xskat-4.0/
H A Dxio.h36 EXTERN int charw[3],charh[3]; variable
H A Dxdial.c1130 w=ob[bt].w*charw[sn];
1579 *x=ob[i].x*charw[sn]-bd+d3d;
1581 *w=ob[i].w*charw[sn]-!!bd-d3d+ba;
1595 ob[0].w*charw[sn],dy+ob[0].h*charh[sn],
1642 x=(desk[sn].w-ob[0].w*charw[sn])/2;
1657 x=(desk[sn].w-ob[0].w*charw[sn])/2;
1714 w=ob[0].w*charw[sn];
2926 sx=x-charw[sn];
2936 sx=x+2*desk[sn].cardw+charw[sn];
3060 charw[sn];
[all …]
/dports/multimedia/mencoder/mplayer-export-2021-12-29/sub/
H A Dsub.c565 int charw=vo_font->width[OSD_PB_0]+vo_font->charspace; in vo_update_text_progbar() local
566 int elems=width/charw; in vo_update_text_progbar()
567 int x=(dxs-elems*charw-delimw)/2; in vo_update_text_progbar()
604 int charw=vo_font->width[OSD_PB_0]+vo_font->charspace; in vo_update_text_progbar() local
649 x+=charw; in vo_update_text_progbar()
662 x+=charw; in vo_update_text_progbar()
/dports/multimedia/mplayer/mplayer-export-2021-12-29/sub/
H A Dsub.c565 int charw=vo_font->width[OSD_PB_0]+vo_font->charspace; in vo_update_text_progbar() local
566 int elems=width/charw; in vo_update_text_progbar()
567 int x=(dxs-elems*charw-delimw)/2; in vo_update_text_progbar()
604 int charw=vo_font->width[OSD_PB_0]+vo_font->charspace; in vo_update_text_progbar() local
649 x+=charw; in vo_update_text_progbar()
662 x+=charw; in vo_update_text_progbar()

12