From 0e12d02f5d6b80bbe1c46feeecd56852e34a4df3 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 6 Jan 2018 14:45:39 -0500 Subject: [PATCH] Update tasks --- TODO.md | 23 +++++++++++++++++++---- Views/ScrollView.cs | 4 ++-- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/TODO.md b/TODO.md index 6076c536c..ad9af42e5 100644 --- a/TODO.md +++ b/TODO.md @@ -24,6 +24,8 @@ Perhaps dialog containers need to set a general style for the child widgets, so that when we set a dialog, or error box, all the children added get the right set of default colors. +Should include another theme, like the TurboPascal 6 theme + Replaces `Colors.Base.Normal` with `Attributes.Normal`, and perhaps attributes points to the container. @@ -38,20 +40,29 @@ Wanted: - Radio buttons - DateTime widgets - Shell/Process? +- Submenus in menus. +- Popup menus +- Make windows draggable + ## Layout manager -Unclear what to do about that right now. +Unclear what to do about that right now. Perhaps use Flex? # Unicode Needs to move to `ustring` from `NStack.Core` to get full Unicode support. -Should get NStack.Core to move `ustring` to `System`. +The reason for ustring is that we need proper measuring of characters, +as we need to mirror what curses is showing it is a lot easier to go +with ustring/rune than to manually add support for surrogate +characters everywhere + # Merge Responder into View -For now it is split, in case we want to introduce formal view controllers. But the design becomes very ugly. +For now it is split, in case we want to introduce formal view +controllers. But the design becomes very ugly. # Bugs @@ -65,5 +76,9 @@ It is still pending. Should allow for views to be dragged, in particular Window should allow this +# Mono-Curses - +The only missing feature in Mono-Curses that still relies on a native library +is to fetch the OS SIGTSTP signal, we could hardcode this value if we had +a way of detecting the host operating system and architecture, and just hardcode +the value based on this. \ No newline at end of file diff --git a/Views/ScrollView.cs b/Views/ScrollView.cs index 5019e27ef..ea01b96de 100644 --- a/Views/ScrollView.cs +++ b/Views/ScrollView.cs @@ -1,7 +1,7 @@ using System; namespace Terminal { - public class ScrollView { - public ScrollView () + public class ScrollView : View { + public ScrollView (Rect frame) : base (frame) { } }