From 475bbefd735ec2070c6c95adaa67ca3d8444d55e Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 5 Jan 2018 22:48:57 -0500 Subject: [PATCH] Comments --- Core.cs | 6 +++++- Driver.cs | 6 ++++++ Event.cs | 6 ++++++ Terminal.csproj | 1 + Views/Button.cs | 9 ++++++++- Views/Checkbox.cs | 8 +++++++- Views/Label.cs | 8 +++++++- Views/Menu.cs | 2 ++ Views/ScrollView.cs | 8 ++++++++ Views/TextField.cs | 9 ++++++++- 10 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 Views/ScrollView.cs diff --git a/Core.cs b/Core.cs index 20325af8d..750189085 100644 --- a/Core.cs +++ b/Core.cs @@ -1,5 +1,9 @@ // -// +// Core.cs: The core engine for gui.cs +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// // Pending: // - Check for NeedDisplay on the hierarchy and repaint // - Layout support diff --git a/Driver.cs b/Driver.cs index a62edc77d..7f6e27c15 100644 --- a/Driver.cs +++ b/Driver.cs @@ -1,3 +1,9 @@ +// +// Driver.cs: Abstract and concrete interfaces to the console (curses or console) +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// using System; using System.Collections.Generic; using Mono.Terminal; diff --git a/Event.cs b/Event.cs index 74207915a..90046a810 100644 --- a/Event.cs +++ b/Event.cs @@ -1,3 +1,9 @@ +// +// Evemts.cs: Events, Key mappings +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// namespace Terminal { /// diff --git a/Terminal.csproj b/Terminal.csproj index fea27ae6f..be83e0b9f 100644 --- a/Terminal.csproj +++ b/Terminal.csproj @@ -44,6 +44,7 @@ + diff --git a/Views/Button.cs b/Views/Button.cs index d96dfc070..3bcf522b0 100644 --- a/Views/Button.cs +++ b/Views/Button.cs @@ -1,4 +1,11 @@ -using System; +// +// Button.cs: Button control +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// + +using System; using System.Collections.Generic; using System.Linq; diff --git a/Views/Checkbox.cs b/Views/Checkbox.cs index 6ced2eb38..da1f7adb7 100644 --- a/Views/Checkbox.cs +++ b/Views/Checkbox.cs @@ -1,4 +1,10 @@ -using System; +// +// Checkbox.cs: Checkbox control +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// +using System; namespace Terminal { public class CheckBox : View { diff --git a/Views/Label.cs b/Views/Label.cs index ad15cabfa..f87087347 100644 --- a/Views/Label.cs +++ b/Views/Label.cs @@ -1,4 +1,10 @@ - +// +// Label.cs: Label control +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// + using System; using System.Collections.Generic; using System.Linq; diff --git a/Views/Menu.cs b/Views/Menu.cs index 5a855c0ea..6a5465fae 100644 --- a/Views/Menu.cs +++ b/Views/Menu.cs @@ -1,4 +1,6 @@ // +// Menu.cs: application menus and submenus +// // Authors: // Miguel de Icaza (miguel@gnome.org) // diff --git a/Views/ScrollView.cs b/Views/ScrollView.cs new file mode 100644 index 000000000..5019e27ef --- /dev/null +++ b/Views/ScrollView.cs @@ -0,0 +1,8 @@ +using System; +namespace Terminal { + public class ScrollView { + public ScrollView () + { + } + } +} diff --git a/Views/TextField.cs b/Views/TextField.cs index 2b8de221c..a1cc71d6c 100644 --- a/Views/TextField.cs +++ b/Views/TextField.cs @@ -1,4 +1,11 @@ -using System; +// +// TextField.cs: single-line text editor with Emacs keybindings +// +// Authors: +// Miguel de Icaza (miguel@gnome.org) +// + +using System; using System.Collections.Generic; using System.Linq;