Ejemplo n.º 1
0
        private void ChangeFont(EnumFont _textFont)
        {
            ChangeFontCommand cfc;

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