Forex_Strategy_Builder.Journal_Positions.SetJournalColors C# (CSharp) Method

SetJournalColors() protected method

Sets the journal colors
protected SetJournalColors ( ) : void
return void
        void SetJournalColors()
        {
            colorBack            = LayoutColors.ColorControlBack;
            colorCaptionBack     = LayoutColors.ColorCaptionBack;
            brushCaptionText     = new SolidBrush(LayoutColors.ColorCaptionText);
            brushEvenRowBack     = new SolidBrush(LayoutColors.ColorEvenRowBack);
            brushSelectedRowBack = new SolidBrush(LayoutColors.ColorSelectedRowBack);
            brushSelectedRowText = new SolidBrush(LayoutColors.ColorSelectedRowText);
            brushRowText         = new SolidBrush(LayoutColors.ColorControlText);
            brushWarningBack     = new SolidBrush(LayoutColors.ColorWarningRowBack);
            brushWarningText     = new SolidBrush(LayoutColors.ColorWarningRowText);
            penLines             = new Pen(LayoutColors.ColorJournalLines);
            penBorder            = new Pen(Data.GetGradientColor(LayoutColors.ColorCaptionBack, -LayoutColors.DepthCaption), border);

            return;
        }