Browse Source

Update tasks

Miguel de Icaza 7 years ago
parent
commit
0e12d02f5d
2 changed files with 21 additions and 6 deletions
  1. 19 4
      TODO.md
  2. 2 2
      Views/ScrollView.cs

+ 19 - 4
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
 so that when we set a dialog, or error box, all the children added get the
 right set of default colors.
 right set of default colors.
 
 
+Should include another theme, like the TurboPascal 6 theme
+
 Replaces `Colors.Base.Normal` with `Attributes.Normal`, and perhaps attributes
 Replaces `Colors.Base.Normal` with `Attributes.Normal`, and perhaps attributes
 points to the container.
 points to the container.
 
 
@@ -38,20 +40,29 @@ Wanted:
 - Radio buttons
 - Radio buttons
 - DateTime widgets
 - DateTime widgets
 - Shell/Process?
 - Shell/Process?
+- Submenus in menus.
+- Popup menus
+- Make windows draggable
+
 
 
 ## Layout manager
 ## Layout manager
 
 
-Unclear what to do about that right now.
+Unclear what to do about that right now.  Perhaps use Flex?
 
 
 # Unicode
 # Unicode
 
 
 Needs to move to `ustring` from `NStack.Core` to get full Unicode support.
 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
 # 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
 # Bugs
 
 
@@ -65,5 +76,9 @@ It is still pending.
 
 
 Should allow for views to be dragged, in particular Window should allow this
 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.

+ 2 - 2
Views/ScrollView.cs

@@ -1,7 +1,7 @@
 using System;
 using System;
 namespace Terminal {
 namespace Terminal {
-	public class ScrollView {
-		public ScrollView ()
+	public class ScrollView : View {
+		public ScrollView (Rect frame) : base (frame)
 		{
 		{
 		}
 		}
 	}
 	}