src/signs_gui.cpp
changeset 7824 5a63d41b59ea
parent 7341 02515d0d4ced
child 7929 6c9b25842b0f
equal deleted inserted replaced
7823:7445cb71f080 7824:5a63d41b59ea
    73 		SetDParam(0, w->vscroll.count);
    73 		SetDParam(0, w->vscroll.count);
    74 		DrawWindowWidgets(w);
    74 		DrawWindowWidgets(w);
    75 
    75 
    76 		/* No signs? */
    76 		/* No signs? */
    77 		if (w->vscroll.count == 0) {
    77 		if (w->vscroll.count == 0) {
    78 			DrawString(2, y, STR_304A_NONE, 0);
    78 			DrawString(2, y, STR_304A_NONE, TC_FROMSTRING);
    79 			return;
    79 			return;
    80 		}
    80 		}
    81 
    81 
    82 		{
    82 		{
    83 			uint16 i;
    83 			uint16 i;
    88 
    88 
    89 				if (si->owner != OWNER_NONE)
    89 				if (si->owner != OWNER_NONE)
    90 					DrawPlayerIcon(si->owner, 4, y + 1);
    90 					DrawPlayerIcon(si->owner, 4, y + 1);
    91 
    91 
    92 				SetDParam(0, si->index);
    92 				SetDParam(0, si->index);
    93 				DrawString(22, y, STR_SIGN_NAME, 8);
    93 				DrawString(22, y, STR_SIGN_NAME, TC_YELLOW);
    94 				y += 10;
    94 				y += 10;
    95 			}
    95 			}
    96 		}
    96 		}
    97 	} break;
    97 	} break;
    98 
    98 
   319 
   319 
   320 	UpdateSignEditWindow(w, si);
   320 	UpdateSignEditWindow(w, si);
   321 }
   321 }
   322 
   322 
   323 
   323 
       
   324