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:
@@ -76,7 +76,7 @@ static inline void DrawFrameRect(const Rect &r, Colours colour, FrameFlags flags
|
||||
DrawFrameRect(r.left, r.top, r.right, r.bottom, colour, flags);
|
||||
}
|
||||
|
||||
void DrawCaption(const Rect &r, Colours colour, Owner owner, TextColour text_colour, StringID str, StringAlignment align);
|
||||
void DrawCaption(const Rect &r, Colours colour, Owner owner, TextColour text_colour, StringID str, StringAlignment align, FontSize fs);
|
||||
|
||||
/* window.cpp */
|
||||
using WindowList = std::list<Window *>;
|
||||
|
Reference in New Issue
Block a user