public CText(float x, float y, float z, float h, float mw, EAlignment align, EStyle style, string fontFamily, SColorF col, string text, int partyModeID = -1, float rheight = 0, float rspace = 0) : this(partyModeID) { _Theme = new SThemeText { FontFamily = fontFamily, FontStyle = style, FontHeight = h, Text = text, Color = { A = col.A, B = col.B, G = col.G, R = col.R } }; ThemeLoaded = false; _ButtonText = false; MaxRect = new SRectF(x, y, mw, h, z); Align = align; ResizeAlign = EHAlignment.Center; _Font.Name = fontFamily; _Font.Style = style; _Font.Height = h; Color = col; SelColor = col; Text = text; Selected = false; _ReflectionSpace = rspace; _ReflectionHeight = rheight; }
public CText(SThemeText theme, int partyModeID, bool buttonText = false) { _PartyModeID = partyModeID; _TranslationID = partyModeID; _Theme = theme; _ButtonText = buttonText; ThemeLoaded = true; }