/dports/games/xlife/xlife-6.7/ |
H A D | xwidget.c | 177 XFillRectangle(disp, loadw, gc, LOADW_WIDTH - FONTWIDTH + 1, 0, in drawbg() 179 XDrawLine(disp, loadw, ntextgc, LOADW_WIDTH - FONTWIDTH + 2, 2, in drawbg() 197 if (strlen(s)*FONTWIDTH > LOADW_WIDTH - 4) in drawbg() 198 p += strlen(s) - (LOADW_WIDTH - 4)/FONTWIDTH; in drawbg() 204 if (strlen(widget_fn) >= LOADW_WIDTH/FONTWIDTH) { in drawbg() 317 if (x > LOADW_WIDTH - FONTWIDTH) in loadwidgetcoord() 660 while ((i = strlen(p)) > LOADW_WIDTH/FONTWIDTH) { in drawloadwidget() 661 strncpy(s, p, LOADW_WIDTH/FONTWIDTH); in drawloadwidget() 664 p += LOADW_WIDTH/FONTWIDTH; in drawloadwidget() 666 i = (LOADW_WIDTH - i*FONTWIDTH)/2; in drawloadwidget() [all …]
|
H A D | utils.c | 206 if ((strlen(buf) + 1)*FONTWIDTH != rulew_len) { in showrules() 207 rulew_len = (strlen(buf) + 1)*FONTWIDTH; in showrules() 317 1 + STATEOFF + hp*(FONTWIDTH + 3) - large, 3 - large + vp, in color_button() 322 XDrawString(disp, statew, invgc, 3 + STATEOFF + hp*(FONTWIDTH + 3), in color_button() 325 XDrawString(disp, statew, invgc, STATEOFF + hp*(FONTWIDTH + 3), in color_button() 328 XDrawString(disp, statew, invgc, 5 + STATEOFF + hp*(FONTWIDTH + 3), in color_button() 333 XDrawString(disp, statew, invgc, STATEOFF + hp*(FONTWIDTH + 3), in color_button() 336 XDrawString(disp, statew, invgc, 5 + STATEOFF + hp*(FONTWIDTH + 3), in color_button() 341 XDrawString(disp, statew, xorgc, 1 + STATEOFF + hp*(FONTWIDTH + 3), in color_button() 350 val = x/(FONTWIDTH + 3) + y/(FONTHEIGHT + 3)*statescols; in setcolor() [all …]
|
H A D | help.c | 255 h = width/14/FONTWIDTH; in redraw_slashinfo() 263 XDrawString(disp, helpw, itextgc, 10 + (q%h)*14*FONTWIDTH, in redraw_slashinfo() 269 XDrawString(disp, helpw, itextgc, 10 + (q%h)*14*FONTWIDTH, in redraw_slashinfo()
|
H A D | main.c | 107 if (width > maxstates*(FONTWIDTH + 3) - BORDERWIDTH - STATEOFF) { in ResizeLW() 109 XMoveWindow(disp, statew, width - maxstates*(FONTWIDTH + 3) in ResizeLW() 111 XResizeWindow(disp, statew, maxstates*(FONTWIDTH + 3) + STATEOFF, in ResizeLW() 116 w = (width + BORDERWIDTH)/(FONTWIDTH + 3); in ResizeLW() 119 XMoveWindow(disp, statew, width - statescols*(FONTWIDTH + 3) in ResizeLW() 121 XResizeWindow(disp, statew, statescols*(FONTWIDTH + 3) + STATEOFF, in ResizeLW() 140 inputlength = width/FONTWIDTH; in DoResize() 327 rulew_len = (strlen(s) + 1)*FONTWIDTH; in set_active_rules() 1209 inputlength = width/FONTWIDTH;
|
/dports/chinese/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | ichiran.c | 63 #define FONTWIDTH FontWidth macro 81 #define FONTWIDTH FontWidth(xl) macro 201 *ret_x = button.x - FONTWIDTH;; 288 jikouho_ichi[cnt + 1].x_s = columns * FONTWIDTH; 289 jikouho_ichi[cnt].x_e = columns * FONTWIDTH - 1; 357 cs.width = FONTWIDTH; 1019 width = FONTWIDTH * ins->max_len; 1663 def_width = FONTWIDTH * (len + 8); 1671 def_width = FONTWIDTH * (len + 8); 1675 def_width = FONTWIDTH * (len + 4); [all …]
|
/dports/chinese/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | ichiran.c | 63 #define FONTWIDTH FontWidth macro 81 #define FONTWIDTH FontWidth(xl) macro 201 *ret_x = button.x - FONTWIDTH;; 288 jikouho_ichi[cnt + 1].x_s = columns * FONTWIDTH; 289 jikouho_ichi[cnt].x_e = columns * FONTWIDTH - 1; 357 cs.width = FONTWIDTH; 1019 width = FONTWIDTH * ins->max_len; 1663 def_width = FONTWIDTH * (len + 8); 1671 def_width = FONTWIDTH * (len + 8); 1675 def_width = FONTWIDTH * (len + 4); [all …]
|
/dports/japanese/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | ichiran.c | 63 #define FONTWIDTH FontWidth macro 81 #define FONTWIDTH FontWidth(xl) macro 201 *ret_x = button.x - FONTWIDTH;; 288 jikouho_ichi[cnt + 1].x_s = columns * FONTWIDTH; 289 jikouho_ichi[cnt].x_e = columns * FONTWIDTH - 1; 357 cs.width = FONTWIDTH; 1019 width = FONTWIDTH * ins->max_len; 1663 def_width = FONTWIDTH * (len + 8); 1671 def_width = FONTWIDTH * (len + 8); 1675 def_width = FONTWIDTH * (len + 4); [all …]
|
/dports/japanese/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | ichiran.c | 63 #define FONTWIDTH FontWidth macro 81 #define FONTWIDTH FontWidth(xl) macro 201 *ret_x = button.x - FONTWIDTH;; 288 jikouho_ichi[cnt + 1].x_s = columns * FONTWIDTH; 289 jikouho_ichi[cnt].x_e = columns * FONTWIDTH - 1; 357 cs.width = FONTWIDTH; 1019 width = FONTWIDTH * ins->max_len; 1663 def_width = FONTWIDTH * (len + 8); 1671 def_width = FONTWIDTH * (len + 8); 1675 def_width = FONTWIDTH * (len + 4); [all …]
|
/dports/korean/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | ichiran.c | 63 #define FONTWIDTH FontWidth macro 81 #define FONTWIDTH FontWidth(xl) macro 201 *ret_x = button.x - FONTWIDTH;; 288 jikouho_ichi[cnt + 1].x_s = columns * FONTWIDTH; 289 jikouho_ichi[cnt].x_e = columns * FONTWIDTH - 1; 357 cs.width = FONTWIDTH; 1019 width = FONTWIDTH * ins->max_len; 1663 def_width = FONTWIDTH * (len + 8); 1671 def_width = FONTWIDTH * (len + 8); 1675 def_width = FONTWIDTH * (len + 4); [all …]
|
/dports/korean/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | ichiran.c | 63 #define FONTWIDTH FontWidth macro 81 #define FONTWIDTH FontWidth(xl) macro 201 *ret_x = button.x - FONTWIDTH;; 288 jikouho_ichi[cnt + 1].x_s = columns * FONTWIDTH; 289 jikouho_ichi[cnt].x_e = columns * FONTWIDTH - 1; 357 cs.width = FONTWIDTH; 1019 width = FONTWIDTH * ins->max_len; 1663 def_width = FONTWIDTH * (len + 8); 1671 def_width = FONTWIDTH * (len + 8); 1675 def_width = FONTWIDTH * (len + 4); [all …]
|
/dports/games/rockdodger/rockdodger-1.1.4/ |
H A D | guru_meditation.c | 6 #define FONTWIDTH 6 macro 8 #if FONTWIDTH > 8 126 for(i = 0; i < FONTWIDTH; i++) { in put_char() 164 int x = (ts->w - slen * FONTWIDTH) / 2; in center_text() 167 x += FONTWIDTH; in center_text()
|
/dports/games/sdl_lopan/sdllopan-10/ |
H A D | font.c | 9 #define FONTWIDTH 6 macro 166 for(i=0;i<FONTWIDTH;++i) in drawcharxy() 187 x+=FONTWIDTH; in drawprintfxy()
|
/dports/emulators/aranym/aranym-1.1.0/src/gui-sdl/ |
H A D | sdlgui.cpp | 258 rect->x = dlg[objnum].x * FONTWIDTH; in SDLGui_ObjCoord() 267 rect->w = dlg[objnum].w * FONTWIDTH; in SDLGui_ObjCoord() 270 rect->x += (sdlscrn->w - (dlg[0].w * FONTWIDTH)) / 2; in SDLGui_ObjCoord() 485 sr.x = FONTWIDTH * (c % FONTCOLS); in SDLGui_Text() 487 sr.w = FONTWIDTH; in SDLGui_Text() 490 dr.x = x + (FONTWIDTH * i); in SDLGui_Text() 492 dr.w = FONTWIDTH; in SDLGui_Text() 697 coord.x += (cursor->position * FONTWIDTH); in SDLGui_DrawCursor() 1022 coord.w = FONTWIDTH*2; in SDLGui_DrawCheckBoxState() 1077 SDLGui_Text(coord.x+coord.w-FONTWIDTH, coord.y, downstr, textc); in SDLGui_DrawPopupButton() [all …]
|
H A D | font.h | 27 #define FONTWIDTH 8 macro
|
/dports/cad/ngspice_rework/ngspice-35/src/frontend/ |
H A D | hpgl.c | 59 #define FONTWIDTH 6 /* printer default fontwidth */ macro 79 static int fontwidth = FONTWIDTH;
|
/dports/cad/jspice3/jspice3-2.5/src/lib/dosmfb/ |
H A D | mfbinfo.c | 26 case FONTWIDTH: return (pc.charwidth); in MFBInfo()
|
/dports/games/xnethack/xNetHack-xnh6.1/outdated/sys/amiga/ |
H A D | windefs.h | 154 #define FONTWIDTH 8 macro
|
/dports/games/nethack33/nethack-3.3.1/sys/amiga/ |
H A D | windefs.h | 151 #define FONTWIDTH 8 macro
|
/dports/games/nethack33-nox11/nethack-3.3.1/sys/amiga/ |
H A D | windefs.h | 151 #define FONTWIDTH 8 macro
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/sys/amiga/ |
H A D | windefs.h | 154 #define FONTWIDTH 8 macro
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/sys/amiga/ |
H A D | windefs.h | 154 #define FONTWIDTH 8 macro
|
/dports/games/nethack34/nethack-3.4.3/sys/amiga/ |
H A D | windefs.h | 153 #define FONTWIDTH 8 macro
|
/dports/games/nethack34-nox11/nethack-3.4.3/sys/amiga/ |
H A D | windefs.h | 153 #define FONTWIDTH 8 macro
|
/dports/games/vultures-eye/vulture-2.3.67/nethack/sys/amiga/ |
H A D | windefs.h | 153 #define FONTWIDTH 8 macro
|
/dports/games/falconseye/falconseye-1.9.3_11/sys/amiga/ |
H A D | windefs.h | 151 #define FONTWIDTH 8 macro
|