summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2020-06-19 13:50:18 +0000
committerIan C <ianc@noddybox.co.uk>2020-06-19 13:50:18 +0000
commitb1b17d1087327af985d155d08bed2db621b62005 (patch)
tree03422ef17e34b71e5a44db4df18c9689f502c984
parent79e2dcea9126c6cfcc2875c22245ce539b66d57e (diff)
Added headers to sources and added empty custom control.
-rw-r--r--SpriteEd/AppDelegate.cs18
-rw-r--r--SpriteEd/Main.cs18
-rw-r--r--SpriteEd/NSSpriteEdit.cs33
-rw-r--r--SpriteEd/SpriteEd.csproj1
-rw-r--r--SpriteEd/ViewController.cs18
5 files changed, 85 insertions, 3 deletions
diff --git a/SpriteEd/AppDelegate.cs b/SpriteEd/AppDelegate.cs
index b949c3f..9264787 100644
--- a/SpriteEd/AppDelegate.cs
+++ b/SpriteEd/AppDelegate.cs
@@ -1,4 +1,20 @@
-using AppKit;
+// SpriteEd - Simple sprite editor
+// Copyright 2020 Ian Cowburn
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+using AppKit;
using Foundation;
namespace SpriteEd
diff --git a/SpriteEd/Main.cs b/SpriteEd/Main.cs
index a1d9e0d..1efd97d 100644
--- a/SpriteEd/Main.cs
+++ b/SpriteEd/Main.cs
@@ -1,4 +1,20 @@
-using AppKit;
+// SpriteEd - Simple sprite editor
+// Copyright 2020 Ian Cowburn
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+using AppKit;
namespace SpriteEd
{
diff --git a/SpriteEd/NSSpriteEdit.cs b/SpriteEd/NSSpriteEdit.cs
new file mode 100644
index 0000000..3490544
--- /dev/null
+++ b/SpriteEd/NSSpriteEdit.cs
@@ -0,0 +1,33 @@
+// SpriteEd - Simple sprite editor
+// Copyright 2020 Ian Cowburn
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+using System;
+
+using Foundation;
+using System.CodeDom.Compiler;
+using AppKit;
+using CoreGraphics;
+
+namespace SpriteEd
+{
+ [Register("NSSpriteEdit")]
+ public class NSSpriteEdit : NSControl
+ {
+ public NSSpriteEdit()
+ {
+ }
+ }
+}
diff --git a/SpriteEd/SpriteEd.csproj b/SpriteEd/SpriteEd.csproj
index 8ffa803..afb2a85 100644
--- a/SpriteEd/SpriteEd.csproj
+++ b/SpriteEd/SpriteEd.csproj
@@ -76,6 +76,7 @@
<Compile Include="ViewController.designer.cs">
<DependentUpon>ViewController.cs</DependentUpon>
</Compile>
+ <Compile Include="NSSpriteEdit.cs" />
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="Main.storyboard" />
diff --git a/SpriteEd/ViewController.cs b/SpriteEd/ViewController.cs
index 902ffad..8c9459f 100644
--- a/SpriteEd/ViewController.cs
+++ b/SpriteEd/ViewController.cs
@@ -1,4 +1,20 @@
-using System;
+// SpriteEd - Simple sprite editor
+// Copyright 2020 Ian Cowburn
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+using System;
using AppKit;
using Foundation;