32 #include "table/strings.h" 
   37 static bool DrawScrollingStatusText(
const NewsItem *ni, 
int scroll_pos, 
int left, 
int right, 
int top, 
int bottom)
 
   43   GetString(buf, str, 
lastof(buf));
 
   48   const char *last = 
lastof(buffer);
 
   51     WChar c = Utf8Consume(&s);
 
   54     } 
else if (c == 
'\n') {
 
   55       if (d + 4 >= last) 
break;
 
   56       d[0] = d[1] = d[2] = d[3] = 
' ';
 
   58     } 
else if (IsPrintable(c)) {
 
  101     Point pt = { 0, _screen.height - sm_height };
 
  120         int64 max_money = UINT32_MAX;
 
  122         FOR_ALL_COMPANIES(c) max_money = max<int64>(c->
money, max_money);
 
  132     d.width += padding.width;
 
  133     d.height += padding.height;
 
  182         if (this->reminder_timeout > 0) {
 
  197     if (!gui_scope) 
return;
 
  199       default: NOT_REACHED();
 
  238 static const NWidgetPart _nested_main_status_widgets[] = {
 
  250   _nested_main_status_widgets, 
lengthof(_nested_main_status_widgets)