Beispiel #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);
            }
        }
Beispiel #2
0
 public Brush GetPAttributeBgColor(ParagraphAttributes param)
 {
     return(Brushes.White);
 }
Beispiel #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;
     }
 }
Beispiel #4
0
 public Brush GetPAttributeBgColor(ParagraphAttributes param)
 {
     return Brushes.White;
 }
Beispiel #5
0
 public ParagraphAttibutesAction(TranscriptionParagraph changedParagraph, TranscriptionIndex changeIndex,int changeAbsoluteIndex, ParagraphAttributes oldAttributes)
     : base(ChangeType.Modify, changedParagraph, changeIndex, changeAbsoluteIndex)
 {
     _oldAttributes = oldAttributes;
 }
 public ParagraphAttibutesAction(TranscriptionParagraph changedParagraph, TranscriptionIndex changeIndex, int changeAbsoluteIndex, ParagraphAttributes oldAttributes)
     : base(ChangeType.Modify, changedParagraph, changeIndex, changeAbsoluteIndex)
 {
     _oldAttributes = oldAttributes;
 }