From b1b17d1087327af985d155d08bed2db621b62005 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 19 Jun 2020 13:50:18 +0000 Subject: Added headers to sources and added empty custom control. --- SpriteEd/AppDelegate.cs | 18 +++++++++++++++++- SpriteEd/Main.cs | 18 +++++++++++++++++- SpriteEd/NSSpriteEdit.cs | 33 +++++++++++++++++++++++++++++++++ SpriteEd/SpriteEd.csproj | 1 + SpriteEd/ViewController.cs | 18 +++++++++++++++++- 5 files changed, 85 insertions(+), 3 deletions(-) create mode 100644 SpriteEd/NSSpriteEdit.cs 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 . +// +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 . +// +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 . +// +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 @@ ViewController.cs + 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 . +// +using System; using AppKit; using Foundation; -- cgit v1.2.3