Change: Rename text colour NWidgetPart to SetTextStyle and add font size.

This allows to set both text colour and size for any widget with default
drawing.
This commit is contained in:
Peter Nelson
2023-04-28 17:59:14 +01:00
committed by PeterN
parent ba3de0383a
commit 35ba49bfb4
6 changed files with 63 additions and 51 deletions

View File

@@ -422,7 +422,7 @@ struct NewsWindow : Window {
{
switch (widget) {
case WID_N_CAPTION:
DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, TC_FROMSTRING, STR_NEWS_MESSAGE_CAPTION, SA_CENTER);
DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, TC_FROMSTRING, STR_NEWS_MESSAGE_CAPTION, SA_CENTER, FS_NORMAL);
break;
case WID_N_PANEL: