public GUIStyle(Vector2 dimensionsStyle, SpriteFont textFontStyle, Color blockColorStyle, Color textColorStyle, Color sliderColorStyle, GUIAlignment guiAlignmentStyle, TextAlignment textAlignmentStyle, TextAlignment textButtonAlignmentStyle, Vector2 textBorderStyle, Vector2 parentDimensionsStyle) { DimensionsStyle = dimensionsStyle; TextFontStyle = textFontStyle; BlockColorStyle = blockColorStyle; TextColorStyle = textColorStyle; GuiAlignmentStyle = guiAlignmentStyle; TextAlignmentStyle = textAlignmentStyle; ParentDimensionsStyle = parentDimensionsStyle; TextButtonAlignmentStyle = textButtonAlignmentStyle; TextBorderStyle = textBorderStyle; SliderColorStyle = sliderColorStyle; }
public XG_Label(Rectangle rect, string text, GUIAlignment alignment) : base(rect, false) { Text = text; Alignment = alignment; }