//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// CommonHelpers satellite library | Author: Sergei Y.Kitáev
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
using System;

namespace CommonHelpers {

//**************************************************************************************************
partial class HConsole {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

public void OutputArrowAlignedInputPrompt( [HOptional] string caption,
                                           [HOptional] int maxCaptionLength )
{
   OutputArrowAlignedInputPrompt(caption,null,maxCaptionLength);
}

public void OutputArrowAlignedInputPrompt( [HOptional] string caption,
                                           ConsoleColor? captionColor,
                                           int maxCaptionLength )
{
   OutputArrowAlignedInputPrompt(caption,captionColor,maxCaptionLength,null,null,null);
}

//--------------------------------------------------------------------------------------------------

public void OutputArrowAlignedInputPrompt( [HOptional] string caption,
                                           [HOptional] int maxCaptionLength,
                                           char? dashChar )
{
   OutputArrowAlignedInputPrompt(caption,maxCaptionLength,dashChar,null);
}

public void OutputArrowAlignedInputPrompt( [HOptional] string caption,
                                           [HOptional] int maxCaptionLength,
                                           char? dashChar, char? pointerChar )
{
   OutputArrowAlignedInputPrompt(caption,null,maxCaptionLength,dashChar,pointerChar,null);
}

//--------------------------------------------------------------------------------------------------

public void OutputArrowAlignedInputPrompt( [HOptional] string caption,
                                           ConsoleColor? captionColor,
                                           int maxCaptionLength,
                                           char? dashChar )
{
   OutputArrowAlignedInputPrompt(caption,captionColor,maxCaptionLength,dashChar,null);
}

public void OutputArrowAlignedInputPrompt( [HOptional] string caption,
                                           ConsoleColor? captionColor,
                                           int maxCaptionLength,
                                           char? dashChar, char? pointerChar )
{
   OutputArrowAlignedInputPrompt(caption,captionColor,maxCaptionLength,dashChar,pointerChar,null);
}

//==================================================================================================

public void OutputArrowAlignedInputPrompt
(
   [HOptional] string caption, ConsoleColor? captionColor, [HOptional] int maxCaptionLength,
   char? dashChar, char? pointerChar, ConsoleColor? arrowColor
)
{
   OutputArrowAlignedCaption( caption,
      captionColor ?? InputCaptionColor, maxCaptionLength,
      dashChar ?? InputArrowDashChar, pointerChar ?? InputArrowPointerChar,
      arrowColor ?? InputArrowColor );
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} // HConsole
//**************************************************************************************************

} // CommonHelpers
