OSDN Git Service

メトロ版はもはや使ってる人がいないので削除することにした
[fooeditengine/FooEditEngine.git] / Metro / Test / AppSettings.cs
diff --git a/Metro/Test/AppSettings.cs b/Metro/Test/AppSettings.cs
deleted file mode 100644 (file)
index 320bee5..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-/*\r
- * Copyright (C) 2013 FooProject\r
- * * 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\r
- * the Free Software Foundation; either version 3 of the License, or (at your option) any later version.\r
-\r
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of \r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\r
- */\r
-using System;\r
-using System.Collections.Generic;\r
-using System.Collections.ObjectModel;\r
-using System.Linq;\r
-using System.Text;\r
-using System.Threading.Tasks;\r
-using FooEditEngine;\r
-\r
-namespace Test\r
-{\r
-    public class AppSettings\r
-    {\r
-        public static AppSettings _thisInstance = new AppSettings();\r
-        public static AppSettings Current\r
-        {\r
-            get\r
-            {\r
-                if (_thisInstance._LineBreakMethodList == null)\r
-                {\r
-                    _thisInstance._LineBreakMethodList = new ObservableCollection<LineBreakMethodItem>();\r
-                    _thisInstance._LineBreakMethodList.Add(new LineBreakMethodItem("折りたたまない", LineBreakMethod.None));\r
-                    _thisInstance._LineBreakMethodList.Add(new LineBreakMethodItem("右端で折りたたむ", LineBreakMethod.PageBound));\r
-                    _thisInstance._LineBreakMethodList.Add(new LineBreakMethodItem("50字で折りたたむ", LineBreakMethod.CharUnit));\r
-                    _thisInstance._CurrentLineBreakMethod = _thisInstance._LineBreakMethodList[0];\r
-                }\r
-                return _thisInstance;\r
-            }\r
-        }\r
-\r
-        bool _IsRTL, _ShowRuler, _ShowLineNumber, _ShowLineMarker, _HilightXML, _IsVisible = true;\r
-        ObservableCollection<LineBreakMethodItem> _LineBreakMethodList;\r
-        LineBreakMethodItem _CurrentLineBreakMethod;\r
-\r
-        public ObservableCollection<LineBreakMethodItem> LineBreakMethodList\r
-        {\r
-            get\r
-            {\r
-                return _LineBreakMethodList;\r
-            }\r
-        }\r
-\r
-        public LineBreakMethodItem CurrentLineBreakMethod\r
-        {\r
-            get\r
-            {\r
-                return _CurrentLineBreakMethod;\r
-            }\r
-            set\r
-            {\r
-                this._CurrentLineBreakMethod = value;\r
-                if (ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public bool IsVisible\r
-        {\r
-            get\r
-            {\r
-                return this._IsVisible;\r
-            }\r
-            set\r
-            {\r
-                this._IsVisible = value;\r
-                if (ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public bool IsRTL\r
-        {\r
-            get\r
-            {\r
-                return _IsRTL;\r
-            }\r
-            set\r
-            {\r
-                _IsRTL = value;\r
-                if (ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public bool ShowRuler\r
-        {\r
-            get\r
-            {\r
-                return _ShowRuler;\r
-            }\r
-            set\r
-            {\r
-                _ShowRuler = value;\r
-                if(ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public bool ShowLineNumber\r
-        {\r
-            get\r
-            {\r
-                return _ShowLineNumber;\r
-            }\r
-            set\r
-            {\r
-                _ShowLineNumber = value;\r
-                if (ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public bool ShowLineMarker\r
-        {\r
-            get\r
-            {\r
-                return _ShowLineMarker;\r
-            }\r
-            set\r
-            {\r
-                _ShowLineMarker = value;\r
-                if (ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public bool HilightXML\r
-        {\r
-            get\r
-            {\r
-                return _HilightXML;\r
-            }\r
-            set\r
-            {\r
-                _HilightXML = value;\r
-                if (ChangedSetting != null)\r
-                    ChangedSetting(this, null);\r
-            }\r
-        }\r
-\r
-        public event EventHandler ChangedSetting;\r
-    }\r
-    public struct LineBreakMethodItem\r
-    {\r
-        string _Title;\r
-        LineBreakMethod _Method;\r
-        public string Title\r
-        {\r
-            get\r
-            {\r
-                return this._Title;\r
-            }\r
-        }\r
-        public LineBreakMethod Method\r
-        {\r
-            get\r
-            {\r
-                return this._Method;\r
-            }\r
-        }\r
-        public LineBreakMethodItem(string title, LineBreakMethod method)\r
-        {\r
-            this._Title = title;\r
-            this._Method = method;\r
-        }\r
-    }\r
-}\r