/dports/games/netrek-client-cow/netrek-client-cow-3.3.2/ |
H A D | inform.c | 74 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 D | lagmeter.c | 19 #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 D | smessage.c | 33 #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 D | pingstats.c | 13 #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 D | docwin.c | 57 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 D | x11window.c | 491 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 D | map.c | 86 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 D | stats.c | 13 #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 D | death.c | 104 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 D | redraw.c | 85 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 D | dashboard.c | 92 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 D | dashboard3.c | 144 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 D | warning.c | 26 W_ClearArea(warnw, 5, 5, W_Textwidth * warncount, W_Textheight); in warning()
|
H A D | newwin.c | 286 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 D | findslot.c | 45 return WQ_W / 6 - BM - strlen(s) * W_Textwidth / 2; in xc()
|
/dports/games/xgalaga/xgalaga-2.1.1.0/libsprite/ |
H A D | text.c | 13 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 D | menu.c | 27 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 D | fill.c | 24 WIN_EDGE + x * W_Textwidth, MENU_PAD + y * W_Textheight, 25 width * W_Textwidth, height * W_Textheight);
|
H A D | cleararea.c | 68 colortable[backColor].contexts[0], WIN_EDGE + x * W_Textwidth, 69 MENU_PAD + y * W_Textheight, width * W_Textwidth,
|
H A D | scroll.c | 97 win->width = (width - WIN_EDGE * 2) / W_Textwidth; 98 XResizeWindow(W_Display, win->window, win->width * W_Textwidth + WIN_EDGE * 2,
|
H A D | init.c | 46 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 D | scale.c | 13 *x = (*x - MENU_PAD) / W_Textwidth;
|
H A D | data.c | 81 int W_Textwidth, W_Textheight, W_BigTextwidth, W_BigTextheight; variable
|
/dports/games/xgalaga/xgalaga-2.1.1.0/ |
H A D | highscore.c | 63 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 D | score.c | 83 basex = WINWIDTH/2 - ((strlen(scorestr)/2)*W_Textwidth); in draw_score()
|