Home
last modified time | relevance | path

Searched refs:W_Textwidth (Results 1 – 25 of 34) sorted by relevance

12

/dports/games/netrek-client-cow/netrek-client-cow-3.3.2/
H A Dinform.c74 if (mx + 23 * W_Textwidth + 2 > windowWidth) in inform()
75 mx = windowWidth - 23 * W_Textwidth - 2; in inform()
79 infow = W_MakeWindow("info", mx, my, 23 * W_Textwidth, 6 * W_Textheight, in inform()
97 W_WriteText(infow, W_Textwidth, W_Textheight * line++, playerColor(j), "WAR", 3, in inform()
106 W_WriteText(infow, W_Textwidth, W_Textheight * line++, playerColor(j), in inform()
111 if (mx + 24 * W_Textwidth + 2 > windowWidth) in inform()
112 mx = windowWidth - 24 * W_Textwidth - 2; in inform()
116 infow = W_MakeWindow("info", mx, my, 24 * W_Textwidth, 10 * W_Textheight, in inform()
208 if (mx + 23 * W_Textwidth + 2 > windowWidth) in inform()
209 mx = windowWidth - 28 * W_Textwidth - 2; in inform()
[all …]
H A Dlagmeter.c19 #define L_WIDTH ((W_Textwidth*L_NB + L_TSP + L_NB*L_LENGTHTEXT \
20 *W_Textwidth + 3*L_TSP)+2*L_IBORDER)
24 #define L_BWIDTH (W_Textwidth*3)
57 W_WriteText(lMeter, L_IBORDER + L_LENGTHTEXT * W_Textwidth + L_TSP, in redrawLMeter()
60 W_WriteText(lMeter, L_IBORDER + 2 * (L_LENGTHTEXT * W_Textwidth + L_TSP), in redrawLMeter()
63 W_WriteText(lMeter, L_IBORDER + 3 * (L_LENGTHTEXT * W_Textwidth + L_TSP), in redrawLMeter()
67 lMeterBox(0, L_LENGTHTEXT * W_Textwidth + L_IBORDER + L_TSP, in redrawLMeter()
69 lMeterBox(0, L_LENGTHTEXT * W_Textwidth + L_IBORDER + L_BWIDTH + L_TSP + L_TSP, in redrawLMeter()
88 lMeterBox(1, L_LENGTHTEXT * W_Textwidth + L_IBORDER + L_TSP + 1, in updateLMeter()
101 lMeterBox(1, L_LENGTHTEXT * W_Textwidth + L_IBORDER + L_TSP + 1, in updateLMeter()
[all …]
H A Dsmessage.c33 #define BLANKCHAR(col, n) W_ClearArea(messagew, 5+W_Textwidth*(col), 5, \
34 W_Textwidth * (n), W_Textheight);
35 #define DRAWCURSOR(col) W_WriteText(messagew, 5+W_Textwidth*(col), 5, \
66 W_WriteText(w, 5 + W_Textwidth * lcount, HUDoffset, textColor, in AddChar()
70 W_WriteText(messagew, 5 + W_Textwidth * lcount, 5, textColor, in AddChar()
78 W_ClearArea(w, 5 + W_Textwidth * (HUDoffsetcol), HUDoffset, in BlankChar()
79 W_Textwidth * (len), W_Textheight); in BlankChar()
82 W_ClearArea(messagew, 5 + W_Textwidth * (HUDoffsetcol), 5, in BlankChar()
83 W_Textwidth * (len), W_Textheight); in BlankChar()
90 W_WriteText(w, 5 + W_Textwidth * (col), HUDoffset, in DrawCursor()
[all …]
H A Dpingstats.c13 #define BX_OFF() ((textWidth + 1) * W_Textwidth + S_IBORDER)
15 #define TX_OFF(len) ((textWidth - len) * W_Textwidth + S_IBORDER)
19 #define TEXT_WIDTH (5*W_Textwidth + 2*STAT_BORDER)
28 (STAT_WIDTH -TEXT_WIDTH - 2 * S_IBORDER - (textWidth + 1) * W_Textwidth)
H A Ddocwin.c57 center = GWINSIDE / 2 - (length * W_Textwidth) / 2; in showdocs()
62 center = GWINSIDE / 2 - (length * W_Textwidth) / 2; in showdocs()
220 center = GWINSIDE / 2 - (length * W_Textwidth) / 2; in showxtrekrc()
225 center = GWINSIDE / 2 - (length * W_Textwidth) / 2; in showxtrekrc()
H A Dx11window.c491 W_Textwidth = fontinfo->max_bounds.width; in GetFonts()
514 W_Textwidth = fontinfo->max_bounds.width; in GetFonts()
538 W_Textwidth = fontinfo->max_bounds.width; in GetFonts()
555 W_BigTextwidth = W_Textwidth; in GetFonts()
1105 WIN_EDGE + x * W_Textwidth, in W_FillArea()
1981 sz_hints->width_inc = W_Textwidth; in W_MakeTextWindow()
2112 sz_hints->width_inc = W_Textwidth;
2246 win->width * W_Textwidth,
2310 x = win->width * W_Textwidth + WIN_EDGE * 2;
2392 width * W_Textwidth + WIN_EDGE * 2, in W_MakeMenu()
[all …]
H A Dmap.c86 const int tWidth = W_Textwidth * GWIDTH / GWINSIDE; in initPlanets()
153 const int tWidth = W_Textwidth * GWIDTH / GWINSIDE; in showRegions()
661 W_WriteText(mapw, dx - W_Textwidth, in map()
667 W_WriteText(mapw, dx - W_Textwidth, in map()
697 mclearzone[0][i] = dx - W_Textwidth; in map()
699 mclearzone[2][i] = W_Textwidth * 2; in map()
H A Dstats.c13 #define BX_OFF() ((textWidth + 1) * W_Textwidth + S_IBORDER)
15 #define TX_OFF(len) ((textWidth - len) * W_Textwidth + S_IBORDER)
26 (STAT_WIDTH - 2 * S_IBORDER - (textWidth + 1) * W_Textwidth)
H A Ddeath.c104 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in death()
115 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in death()
H A Dredraw.c85 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in redraw()
323 W_WriteText(tstatw, 50 + W_Textwidth * k, 16, textColor, in stline()
331 W_WriteText(tstatw, 50 + W_Textwidth * k, 16, textColor, s, i - k - j, in stline()
H A Ddashboard.c92 tw = W_Textwidth * tc; in db_bar()
104 tw = W_Textwidth * tc; in db_bar()
124 W_WriteText(tstatw, x + 3 * W_Textwidth, y, textColor, (&valstr[3]), tc / 2 + 1, W_BoldFont); in db_bar()
125 …W_WriteText(tstatw, x + (tc / 2 + 1) * W_Textwidth, y, textColor, (&valstr[tc / 2 + 1]), tc / 2, W… in db_bar()
H A Ddashboard3.c144 x + w - (3 * W_Textwidth) - 2, in db_bar()
199 x + w - (3 * W_Textwidth) - 2, in db_bar()
206 x + w - (3 * W_Textwidth) - 2, in db_bar()
H A Dwarning.c26 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in warning()
H A Dnewwin.c286 phaserwin = W_MakeScrollingWindow("review_phaser", ow + 25 + 35 * W_Textwidth, in newwin()
1274 int center = TWINSIDE / 2 - (length * W_Textwidth) / 2; in show_motd_heading()
1290 center = TWINSIDE / 2 - (length * W_Textwidth) / 2; in showMotd()
1494 int tx = W_WindowWidth(qwin) / 2 - W_Textwidth * strlen(msg) / 2; in redrawQuit()
1534 tx = cx - W_Textwidth * strlen(buf) / 2; in showTimeLeft()
1539 tx = cx - W_Textwidth * strlen(cp) / 2; in showTimeLeft()
H A Dfindslot.c45 return WQ_W / 6 - BM - strlen(s) * W_Textwidth / 2; in xc()
/dports/games/xgalaga/xgalaga-2.1.1.0/libsprite/
H A Dtext.c13 W_FillArea(window, x, y, len * W_Textwidth, W_Textheight, DARK_GREY);
45 win->width * W_Textwidth, (win->height - 1) * W_Textheight,
49 W_Textwidth * win->width,(unsigned) W_Textheight, False);
57 win->width * W_Textwidth, (win->height - 1) * W_Textheight,
61 W_Textwidth * win->width, (unsigned)W_Textheight, False);
78 x * W_Textwidth + WIN_EDGE, MENU_PAD + y * W_Textheight + addr,
147 W_ResizeWindow(window, neww * W_Textwidth + WIN_EDGE * 2,
H A Dmenu.c27 win->width * W_Textwidth, (unsigned)W_Textheight);
48 win->width * W_Textwidth + WIN_EDGE * 2, MENU_BAR);
86 W_ResizeWindow(window, neww * W_Textwidth + WIN_EDGE * 2,
H A Dfill.c24 WIN_EDGE + x * W_Textwidth, MENU_PAD + y * W_Textheight,
25 width * W_Textwidth, height * W_Textheight);
H A Dcleararea.c68 colortable[backColor].contexts[0], WIN_EDGE + x * W_Textwidth,
69 MENU_PAD + y * W_Textheight, width * W_Textwidth,
H A Dscroll.c97 win->width = (width - WIN_EDGE * 2) / W_Textwidth;
98 XResizeWindow(W_Display, win->window, win->width * W_Textwidth + WIN_EDGE * 2,
H A Dinit.c46 W_Textwidth = fontinfo->max_bounds.width; in GetFonts()
67 if (fontinfo->max_bounds.width > W_Textwidth) in GetFonts()
68 W_Textwidth = fontinfo->max_bounds.width; in GetFonts()
89 if (fontinfo->max_bounds.width > W_Textwidth) in GetFonts()
90 W_Textwidth = fontinfo->max_bounds.width; in GetFonts()
H A Dscale.c13 *x = (*x - MENU_PAD) / W_Textwidth;
H A Ddata.c81 int W_Textwidth, W_Textheight, W_BigTextwidth, W_BigTextheight; variable
/dports/games/xgalaga/xgalaga-2.1.1.0/
H A Dhighscore.c63 WINWIDTH/2-(20*W_Textwidth), 250, in undo_name()
64 (40*W_Textwidth), W_Textheight*2); in undo_name()
370 W_MakeLine(baseWin, WINWIDTH/2-((strlen(buf)*W_Textwidth)/2), 111, in show_scores()
371 WINWIDTH/2 + ((strlen(buf)*W_Textwidth)/2), 111, W_Red); in show_scores()
382 …W_MakeLine(baseWin, WINWIDTH/2-((strlen(buf)*W_Textwidth)/2), 123+(NUM_GLOBAL_SCORES+1)*W_Textheig… in show_scores()
383 WINWIDTH/2 + ((strlen(buf)*W_Textwidth)/2), 123+(NUM_GLOBAL_SCORES+1)*W_Textheight, W_Red); in show_scores()
H A Dscore.c83 basex = WINWIDTH/2 - ((strlen(scorestr)/2)*W_Textwidth); in draw_score()

12