public Alert(string title, string message, FullWindow parentWindow, int backgroundColour) : base(parentWindow.Width / 2 - 14, 6, 28, 5, parentWindow) { Title = title; BackColor = backgroundColour; Create(message); }
public Confirm(string message, Action yes, Action no, int backColor, FullWindow parentWindow) : base(parentWindow.Width / 2 - 14, 6, 28, 5, parentWindow) { OnYes = yes ?? (() => { }); OnNo = no ?? (() => { }); BackColor = backColor; Create(message); }
public SaveDialog(BasicOne basicOne, string title, string name, FullWindow parentWindow) : base(parentWindow.Width / 2 - 15, 6, 30, 5, parentWindow) { BasicOne = basicOne; CurrentName = name ?? "new.basic"; Height = 10; Create(title); }
public LoadDialog(string title, FullWindow parentWindow, bool traverseDirectories, StorageFolder storage = null) : base(parentWindow.Width / 2 - 15, 6, 30, 5, parentWindow) { _storage = storage ?? BasicOne.LocalStorageFolder; _traverseDirectories = traverseDirectories; Height = 10; Create(title); }
public Confirm(string title, string message, Action yes, Action no, FullWindow parentWindow) : base(parentWindow.Width / 2 - 14, 6, 28, 5, parentWindow) { OnYes = yes ?? (() => { }); OnNo = no ?? (() => { }); BackColor = Terminal.YELLOW; Title = title; Create(message); }
public EditorWindow(BasicOne basicOne, string name, IStorageFile code, int postionX, int postionY, int width, int height, FullWindow parentWindow) : base(postionX, postionY, width, height, parentWindow) { Saved = true; CodeFile = code; BasicOne = basicOne; Name = string.IsNullOrEmpty(name) ? "new.basic" : name; BackColor = Terminal.BLUE; CursorX = Indent; CursorY = 1; }
public Alert(string message, FullWindow parentWindow) : base(parentWindow.Width / 2 - 14, 6, 28, 5, parentWindow) { Create(message); }