Пример #1
0
		public SkinCursor(SkinCursor source)
			: base(source) {
#if (!XBOX && !XBOX_FAKE)
			this.Resource = source.Resource;
#endif

			this.Asset = source.Asset;
		}
Пример #2
0
        public SkinCursor(SkinCursor source)
            : base(source)
        {
#if (!XBOX && !XBOX_FAKE)
            this.Resource = source.Resource;
#endif

            this.Asset = source.Asset;
        }
Пример #3
0
        private void LoadCursors(string addon, bool archive)
        {
            if (doc["Skin"]["Cursors"] == null)
            {
                return;
            }

            XmlNodeList l = doc["Skin"]["Cursors"].GetElementsByTagName("Cursor");

            if (l != null && l.Count > 0)
            {
                foreach (XmlElement e in l)
                {
                    SkinCursor sc = new SkinCursor();
                    sc.Name    = ReadAttribute(e, "Name", null, true);
                    sc.Archive = archive;
                    sc.Asset   = ReadAttribute(e, "Asset", null, true);
                    sc.Addon   = addon;
                    cursors.Add(sc);
                }
            }
        }
Пример #4
0
		private void LoadCursors(string addon, bool archive) {
			if (doc["Skin"]["Cursors"] == null)
				return;

			XmlNodeList l = doc["Skin"]["Cursors"].GetElementsByTagName("Cursor");
			if (l != null && l.Count > 0) {
				foreach (XmlElement e in l) {
					SkinCursor sc = new SkinCursor();
					sc.Name = ReadAttribute(e, "Name", null, true);
					sc.Archive = archive;
					sc.Asset = ReadAttribute(e, "Asset", null, true);
					sc.Addon = addon;
					cursors.Add(sc);
				}
			}
		}