Applied flags to SubTitle

This commit is contained in:
jfrickmann
2021-08-30 07:38:54 +02:00
committed by Raphael Coeffic
parent 7cd0a01d63
commit 6c16afa28b
+2 -2
View File
@@ -63,8 +63,8 @@ class StaticText: public Window
class Subtitle: public StaticText {
public:
Subtitle(Window * parent, const rect_t & rect, const char * text):
StaticText(parent, rect, text, 0, FONT(BOLD))
Subtitle(Window * parent, const rect_t & rect, const char * text, WindowFlags windowFlags = 0, LcdFlags textFlags = 0):
StaticText(parent, rect, text, windowFlags, textFlags | FONT(BOLD))
{
}