private void ChangeFont(EnumFont _textFont) { ChangeFontCommand cfc; cfc = new ChangeFontCommand(Editor, _textFont); Commands.Push(cfc); cfc.Execute(); }
public Text(EnumFont _font, EnumColor _color, bool _isBold) { Font = _font; Color = _color; IsBold = _isBold; }
public void ChangeFont(EnumFont _newFont) { Font = _newFont; TextHasChanged(this); }
public ChangeFontCommand(Text _editor, EnumFont _font) : base(_editor) { Font = _font; }