max_width 1231 core/gui_draw.c int draw_string_clipped(coord x, coord y, const char *s, twoColors cl, int max_width) max_width 1233 core/gui_draw.c while (*s && (*s != '\n') && (max_width >= FONT_WIDTH)) max_width 1237 core/gui_draw.c max_width -= FONT_WIDTH; max_width 1259 core/gui_draw.c int draw_string_justified(coord x, coord y, const char *s, twoColors cl, int xo, int max_width, int justification) max_width 1268 core/gui_draw.c if (l > max_width) l = max_width; max_width 1274 core/gui_draw.c xo = (max_width - l); max_width 1277 core/gui_draw.c xo = ((max_width - l) >> 1); max_width 1286 core/gui_draw.c l = draw_string_clipped(x+xo, y, s, cl, max_width - xo) - x; max_width 1289 core/gui_draw.c if ((justification & TEXT_FILL) && (l < max_width)) max_width 1290 core/gui_draw.c draw_rectangle(x+l, y, x+max_width-1, y+FONT_HEIGHT-1, cl, RECT_BORDER0|DRAW_FILLED); max_width 126 core/gui_draw.h extern int draw_string_clipped(coord x, coord y, const char *s, twoColors cl, int max_width); max_width 128 core/gui_draw.h extern int draw_string_justified(coord x, coord y, const char *s, twoColors cl, int xo, int max_width, int justification);