mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed some missing initializations in TextComponent.
This commit is contained in:
parent
3bf46c3fb0
commit
bf222d7eb0
|
@ -15,7 +15,9 @@
|
|||
TextComponent::TextComponent()
|
||||
: mFont {Font::get(FONT_SIZE_MEDIUM)}
|
||||
, mColor {0x000000FF}
|
||||
, mBgColor {0}
|
||||
, mBgColor {0x00000000}
|
||||
, mColorOpacity {0x00000000}
|
||||
, mBgColorOpacity {0x00000000}
|
||||
, mRenderBackground {false}
|
||||
, mUppercase {false}
|
||||
, mAutoCalcExtent {1, 1}
|
||||
|
@ -36,7 +38,9 @@ TextComponent::TextComponent(const std::string& text,
|
|||
unsigned int bgcolor)
|
||||
: mFont {nullptr}
|
||||
, mColor {0x000000FF}
|
||||
, mBgColor {0}
|
||||
, mBgColor {0x00000000}
|
||||
, mColorOpacity {0x00000000}
|
||||
, mBgColorOpacity {0x00000000}
|
||||
, mRenderBackground {false}
|
||||
, mUppercase {false}
|
||||
, mAutoCalcExtent {1, 1}
|
||||
|
|
Loading…
Reference in a new issue