* Load terminal options and add the inital scroll viewer * Current Virtual Cavnas, problem with event handler calling the canvas on draw
33 lines
770 B
C#
33 lines
770 B
C#
using FluentTerminal.Models.Enums;
|
|
using Windows.UI.Text;
|
|
|
|
namespace FluentTerminal.Models
|
|
{
|
|
public class TerminalOptions
|
|
{
|
|
public string FontFamily { get; set; }
|
|
|
|
public int FontSize { get; set; }
|
|
|
|
public bool BoldText { get; set; }
|
|
|
|
public CursorStyle CursorStyle { get; set; }
|
|
|
|
public bool CursorBlink { get; set; }
|
|
|
|
public BellStyle BellStyle { get; set; }
|
|
|
|
public ScrollBarStyle ScrollBarStyle { get; set; }
|
|
|
|
public double BackgroundOpacity { get; set; }
|
|
|
|
public int Padding { get; set; }
|
|
|
|
public uint ScrollBackLimit { get; set; }
|
|
|
|
public FontWeight FontWeight
|
|
{
|
|
get => BoldText ? FontWeights.Bold : FontWeights.Normal;
|
|
}
|
|
}
|
|
} |