Miguel de Icaza 7 年之前
父节点
当前提交
475bbefd73
共有 10 个文件被更改,包括 58 次插入5 次删除
  1. 5 1
      Core.cs
  2. 6 0
      Driver.cs
  3. 6 0
      Event.cs
  4. 1 0
      Terminal.csproj
  5. 8 1
      Views/Button.cs
  6. 7 1
      Views/Checkbox.cs
  7. 7 1
      Views/Label.cs
  8. 2 0
      Views/Menu.cs
  9. 8 0
      Views/ScrollView.cs
  10. 8 1
      Views/TextField.cs

+ 5 - 1
Core.cs

@@ -1,5 +1,9 @@
 //
-// 
+// Core.cs: The core engine for gui.cs
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
 // Pending:
 //   - Check for NeedDisplay on the hierarchy and repaint
 //   - Layout support

+ 6 - 0
Driver.cs

@@ -1,3 +1,9 @@
+//
+// Driver.cs: Abstract and concrete interfaces to the console (curses or console)
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
 using System;
 using System.Collections.Generic;
 using Mono.Terminal;

+ 6 - 0
Event.cs

@@ -1,3 +1,9 @@
+//
+// Evemts.cs: Events, Key mappings
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
 namespace Terminal {
 
 	/// <summary>

+ 1 - 0
Terminal.csproj

@@ -44,6 +44,7 @@
     <Compile Include="Views\Button.cs" />
     <Compile Include="Views\Checkbox.cs" />
     <Compile Include="Views\Menu.cs" />
+    <Compile Include="Views\ScrollView.cs" />
   </ItemGroup>
   <ItemGroup>
    <Reference Include="mono-curses.dll">

+ 8 - 1
Views/Button.cs

@@ -1,4 +1,11 @@
-using System;
+//
+// Button.cs: Button control
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
+
+using System;
 using System.Collections.Generic;
 using System.Linq;
 

+ 7 - 1
Views/Checkbox.cs

@@ -1,4 +1,10 @@
-using System;
+//
+// Checkbox.cs: Checkbox control
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
+using System;
 
 namespace Terminal {
 	public class CheckBox : View {

+ 7 - 1
Views/Label.cs

@@ -1,4 +1,10 @@
-
+//
+// Label.cs: Label control
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
+
 using System;
 using System.Collections.Generic;
 using System.Linq;

+ 2 - 0
Views/Menu.cs

@@ -1,4 +1,6 @@
 //
+// Menu.cs: application menus and submenus
+//
 // Authors:
 //   Miguel de Icaza ([email protected])
 //

+ 8 - 0
Views/ScrollView.cs

@@ -0,0 +1,8 @@
+using System;
+namespace Terminal {
+	public class ScrollView {
+		public ScrollView ()
+		{
+		}
+	}
+}

+ 8 - 1
Views/TextField.cs

@@ -1,4 +1,11 @@
-using System;
+//
+// TextField.cs: single-line text editor with Emacs keybindings
+//
+// Authors:
+//   Miguel de Icaza ([email protected])
+//
+
+using System;
 using System.Collections.Generic;
 using System.Linq;