Exemplo n.º 1
0
        public Brush GetPAttributeColor(ParagraphAttributes param)
        {
            switch (param)
            {
            default:
            case ParagraphAttributes.None:
                return(Brushes.White);

            case ParagraphAttributes.Background_noise:
                return(Brushes.DodgerBlue);

            case ParagraphAttributes.Background_speech:
                return(Brushes.Chocolate);

            case ParagraphAttributes.Junk:
                return(Brushes.Crimson);

            case ParagraphAttributes.Narrowband:
                return(Brushes.Olive);
            }
        }
Exemplo n.º 2
0
 public Brush GetPAttributeBgColor(ParagraphAttributes param)
 {
     return(Brushes.White);
 }
Exemplo n.º 3
0
 public Brush GetPAttributeColor(ParagraphAttributes param)
 {
     switch (param)
     {
         default:
         case ParagraphAttributes.None:
             return Brushes.White;
         case ParagraphAttributes.Background_noise:
             return Brushes.DodgerBlue;
         case ParagraphAttributes.Background_speech:
             return Brushes.Chocolate;
         case ParagraphAttributes.Junk:
             return Brushes.Crimson;
         case ParagraphAttributes.Narrowband:
             return Brushes.Olive;
     }
 }
Exemplo n.º 4
0
 public Brush GetPAttributeBgColor(ParagraphAttributes param)
 {
     return Brushes.White;
 }
Exemplo n.º 5
0
 public ParagraphAttibutesAction(TranscriptionParagraph changedParagraph, TranscriptionIndex changeIndex,int changeAbsoluteIndex, ParagraphAttributes oldAttributes)
     : base(ChangeType.Modify, changedParagraph, changeIndex, changeAbsoluteIndex)
 {
     _oldAttributes = oldAttributes;
 }
Exemplo n.º 6
0
 public ParagraphAttibutesAction(TranscriptionParagraph changedParagraph, TranscriptionIndex changeIndex, int changeAbsoluteIndex, ParagraphAttributes oldAttributes)
     : base(ChangeType.Modify, changedParagraph, changeIndex, changeAbsoluteIndex)
 {
     _oldAttributes = oldAttributes;
 }