GRAPHICS: MACGUI: remove unnecessary codes

This commit is contained in:
ysj1173886760 2021-04-17 10:23:03 +08:00 committed by Eugene Sandulenko
parent 70592cfa12
commit 0a9ffd5f06

View File

@ -111,7 +111,6 @@ MacText::MacText(MacWidget *parent, int x, int y, int w, int h, MacWindowManager
_textAlignment = textAlignment;
_interLinear = interlinear;
_textShadow = textShadow;
_maxWidth = maxWidth;
if (macFont) {
_defaultFormatting = MacFontRun(_wm, macFont->getId(), macFont->getSlant(), macFont->getSize(), 0, 0, 0);
@ -140,7 +139,6 @@ MacText::MacText(MacWidget *parent, int x, int y, int w, int h, MacWindowManager
_textAlignment = textAlignment;
_interLinear = interlinear;
_textShadow = textShadow;
_maxWidth = maxWidth;
if (macFont) {
_defaultFormatting = MacFontRun(_wm, macFont->getId(), macFont->getSlant(), macFont->getSize(), 0, 0, 0);
@ -169,7 +167,6 @@ MacText::MacText(const Common::U32String &s, MacWindowManager *wm, const MacFont
_surface = nullptr;
_textAlignment = textAlignment;
_interLinear = interlinear;
_maxWidth = maxWidth;
_textShadow = 0;
if (macFont) {
@ -198,7 +195,6 @@ MacText::MacText(const Common::String &s, MacWindowManager *wm, const MacFont *m
_surface = nullptr;
_textAlignment = textAlignment;
_interLinear = interlinear;
_maxWidth = maxWidth;
_textShadow = 0;
if (macFont) {