コード例 #1
0
ファイル: ListScreenBase.cs プロジェクト: strawberryfield/BBS
 /// <summary>
 /// Disables focused background
 /// </summary>
 protected void MarkCurrentLine()
 {
     Write(ANSI.Move(0, currentScreenLine) + ANSI.WriteBackColor(FocusedBackground) +
           ANSI.ClearCurrentLine + Text[currentLine] + ANSI.WriteMode() + ANSI.RestoreCursorPosition);
 }
コード例 #2
0
ファイル: ListScreenBase.cs プロジェクト: strawberryfield/BBS
 /// <summary>
 /// Disables focused background
 /// </summary>
 protected void UnMarkCurrentLine()
 {
     Write(ANSI.Move(0, currentScreenLine));
     setColorLine(currentScreenLine);
     Write(ANSI.ClearCurrentLine + Text[currentLine]);
 }