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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user