diff --git a/Neoforce/ArchiveManager.cs b/Neoforce/ArchiveManager.cs deleted file mode 100644 index 1bb86d5..0000000 --- a/Neoforce/ArchiveManager.cs +++ /dev/null @@ -1,286 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ArchiveManager.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using System.IO; -using Microsoft.Xna.Framework.Content; -using TomShane.Neoforce.External.Zip; -using System.Globalization; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public class ArchiveManager : ContentManager - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private string archivePath = null; - private ZipFile archive = null; - private bool useArchive = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - /// - public virtual string ArchivePath - { - get { return archivePath; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public bool UseArchive - { - get { return useArchive; } - set { useArchive = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - /// - public ArchiveManager(IServiceProvider serviceProvider) : this(serviceProvider, null) { } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public ArchiveManager(IServiceProvider serviceProvider, string archive): base(serviceProvider) - { - if (archive != null) - { - this.archive = ZipFile.Read(archive); - archivePath = archive; - useArchive = true; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - /// - protected override Stream OpenStream(string assetName) - { - if (useArchive && archive != null) - { - assetName = assetName.Replace("\\", "/"); - if (assetName.StartsWith("/")) assetName = assetName.Remove(0, 1); - - string fullAssetName = (assetName + ".xnb").ToLower(); - - foreach (ZipEntry entry in archive) - { - ZipDirEntry ze = new ZipDirEntry(entry); - - string entryName = entry.FileName.ToLower(); - - if (entryName == fullAssetName) - { - return entry.GetStream(); - } - } - throw new Exception("Cannot find asset \"" + assetName + "\" in the archive."); - } - else - { - return base.OpenStream(assetName); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public string[] GetAssetNames() - { - if (useArchive && archive != null) - { - List filenames = new List(); - - foreach (ZipEntry entry in archive) - { - string name = entry.FileName; - if (name.EndsWith(".xnb")) - { - name = name.Remove(name.Length - 4, 4); - filenames.Add(name); - } - } - return filenames.ToArray(); - } - else - { - return null; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public string[] GetAssetNames(string path) - { - if (useArchive && archive != null) - { - if (path != null && path != "" && path != "\\" && path != "/") - { - List filenames = new List(); - - foreach (ZipEntry entry in archive) - { - string name = entry.FileName; - if (name.EndsWith(".xnb")) - { - name = name.Remove(name.Length - 4, 4); - } - - string[] parts = name.Split('/'); - string dir = ""; - for (int i = 0; i < parts.Length - 1; i++) - { - dir += parts[i] + '/'; - } - - path = path.Replace("\\", "/"); - if (path.StartsWith("/")) path = path.Remove(0, 1); - if (!path.EndsWith("/")) path += '/'; - - if (dir.ToLower() == path.ToLower() && !name.EndsWith("/")) - { - filenames.Add(name); - } - } - return filenames.ToArray(); - } - else - { - return GetAssetNames(); - } - } - else - { - return null; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public Stream GetFileStream(string filename) - { - if (useArchive && archive != null) - { - filename = filename.Replace("\\", "/").ToLower(); - if (filename.StartsWith("/")) filename = filename.Remove(0, 1); - - foreach (ZipEntry entry in archive) - { - string entryName = entry.FileName.ToLower(); - - if (entryName.Equals(filename)) - return entry.GetStream(); - } - - throw new Exception("Cannot find file \"" + filename + "\" in the archive."); - } - else - { - return null; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public string[] GetDirectories(string path) - { - if (useArchive && archive != null) - { - if (path != null && path != "" && path != "\\" && path != "/") - { - List dirs = new List(); - - path = path.Replace("\\", "/"); - if (path.StartsWith("/")) path = path.Remove(0, 1); - if (!path.EndsWith("/")) path += '/'; - - foreach (ZipEntry entry in archive) - { - string name = entry.FileName; - if (name.ToLower().StartsWith(path.ToLower())) - { - int i = name.IndexOf("/", path.Length); - string item = name.Substring(path.Length, i - path.Length) + "\\"; - if (!dirs.Contains(item)) - { - dirs.Add(item); - } - } - } - return dirs.ToArray(); - } - else - { - return GetAssetNames(); - } - } - else if (Directory.Exists(path)) - { - string[] dirs = Directory.GetDirectories(path); - - for (int i = 0; i < dirs.Length; i++) - { - string[] parts = dirs[i].Split('\\'); - dirs[i] = parts[parts.Length - 1] + '\\'; - } - - return dirs; - } - else return null; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/Neoforce/Bevel.cs b/Neoforce/Bevel.cs deleted file mode 100644 index a7995db..0000000 --- a/Neoforce/Bevel.cs +++ /dev/null @@ -1,306 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Bevel.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - public enum BevelStyle - { - None, - Flat, - Etched, - Bumped, - Lowered, - Raised - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum BevelBorder - { - None, - Left, - Top, - Right, - Bottom, - All - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - public class Bevel: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private BevelBorder border = BevelBorder.All; - private BevelStyle style = BevelStyle.Etched; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public BevelBorder Border - { - get { return border; } - set - { - if (border != value) - { - border = value; - if (!Suspended) OnBorderChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public BevelStyle Style - { - get { return style; } - set - { - if (style != value) - { - style = value; - if (!Suspended) OnStyleChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler BorderChanged; - public event EventHandler StyleChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Bevel(Manager manager): base(manager) - { - CanFocus = false; - Passive = true; - Width = 64; - Height = 64; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - if (Border != BevelBorder.None && Style != BevelStyle.None) - { - if (Border != BevelBorder.All) - { - DrawPart(renderer, rect, Border, Style, false); - } - else - { - DrawPart(renderer, rect, BevelBorder.Left, Style, true); - DrawPart(renderer, rect, BevelBorder.Top, Style, true); - DrawPart(renderer, rect, BevelBorder.Right, Style, true); - DrawPart(renderer, rect, BevelBorder.Bottom, Style, true); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawPart(Renderer renderer, Rectangle rect, BevelBorder pos, BevelStyle style, bool all) - { - SkinLayer layer = Skin.Layers["Control"]; - Color c1 = Utilities.ParseColor(layer.Attributes["LightColor"].Value); - Color c2 = Utilities.ParseColor(layer.Attributes["DarkColor"].Value); - Color c3 = Utilities.ParseColor(layer.Attributes["FlatColor"].Value); - - if (Color != UndefinedColor) c3 = Color; - - Texture2D img = Skin.Layers["Control"].Image.Resource; - - int x1 = 0; int y1 = 0; int w1 = 0; int h1 = 0; - int x2 = 0; int y2 = 0; int w2 = 0; int h2 = 0; - - if (style == BevelStyle.Bumped || style == BevelStyle.Etched) - { - if (all && (pos == BevelBorder.Top || pos == BevelBorder.Bottom)) - { - rect = new Rectangle(rect.Left + 1, rect.Top, rect.Width - 2, rect.Height); - } - else if (all && (pos == BevelBorder.Left)) - { - rect = new Rectangle(rect.Left, rect.Top, rect.Width, rect.Height - 1); - } - switch (pos) - { - case BevelBorder.Left: - { - x1 = rect.Left; y1 = rect.Top; w1 = 1; h1 = rect.Height; - x2 = x1 + 1; y2 = y1; w2 = w1; h2 = h1; - break; - } - case BevelBorder.Top: - { - x1 = rect.Left; y1 = rect.Top; w1 = rect.Width; h1 = 1; - x2 = x1; y2 = y1 + 1; w2 = w1; h2 = h1; - break; - } - case BevelBorder.Right: - { - x1 = rect.Left + rect.Width - 2; y1 = rect.Top; w1 = 1; h1 = rect.Height; - x2 = x1 + 1; y2 = y1; w2 = w1; h2 = h1; - break; - } - case BevelBorder.Bottom: - { - x1 = rect.Left; y1 = rect.Top + rect.Height - 2; w1 = rect.Width; h1 = 1; - x2 = x1; y2 = y1 + 1; w2 = w1; h2 = h1; - break; - } - } - } - else - { - switch (pos) - { - case BevelBorder.Left: - { - x1 = rect.Left; y1 = rect.Top; w1 = 1; h1 = rect.Height; - break; - } - case BevelBorder.Top: - { - x1 = rect.Left; y1 = rect.Top; w1 = rect.Width; h1 = 1; - break; - } - case BevelBorder.Right: - { - x1 = rect.Left + rect.Width - 1; y1 = rect.Top; w1 = 1; h1 = rect.Height; - break; - } - case BevelBorder.Bottom: - { - x1 = rect.Left; y1 = rect.Top + rect.Height - 1; w1 = rect.Width; h1 = 1; - break; - } - } - } - - switch (Style) - { - case BevelStyle.Bumped: - { - renderer.Draw(img, new Rectangle(x1, y1, w1, h1), c1); - renderer.Draw(img, new Rectangle(x2, y2, w2, h2), c2); - break; - } - case BevelStyle.Etched: - { - renderer.Draw(img, new Rectangle(x1, y1, w1, h1), c2); - renderer.Draw(img, new Rectangle(x2, y2, w2, h2), c1); - break; - } - case BevelStyle.Raised: - { - Color c = c1; - if (pos == BevelBorder.Left || pos == BevelBorder.Top) c = c1; - else c = c2; - - renderer.Draw(img, new Rectangle(x1, y1, w1, h1), c); - break; - } - case BevelStyle.Lowered: - { - Color c = c1; - if (pos == BevelBorder.Left || pos == BevelBorder.Top) c = c2; - else c = c1; - - renderer.Draw(img, new Rectangle(x1, y1, w1, h1), c); - break; - } - default: - { - renderer.Draw(img, new Rectangle(x1, y1, w1, h1), c3); - break; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnBorderChanged(EventArgs e) - { - if (BorderChanged != null) BorderChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnStyleChanged(EventArgs e) - { - if (StyleChanged != null) StyleChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - - } - -} diff --git a/Neoforce/Button.cs b/Neoforce/Button.cs deleted file mode 100644 index 0850113..0000000 --- a/Neoforce/Button.cs +++ /dev/null @@ -1,294 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Button.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public enum SizeMode - { - Normal, - Auto, - Centered, - Stretched, - /// - /// Only Supported by ImageBox - /// - Tiled - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public enum ButtonMode - { - Normal, - PushButton - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public class Glyph - { - //////////////////////////////////////////////////////////////////////////// - public Texture2D Image = null; - public SizeMode SizeMode = SizeMode.Stretched; - public Color Color = Color.White; - public Point Offset = Point.Zero; - public Rectangle SourceRect = Rectangle.Empty; - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public Glyph(Texture2D image) - { - Image = image; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public Glyph(Texture2D image, Rectangle sourceRect): this(image) - { - SourceRect = sourceRect; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public class Button: ButtonBase - { - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - private const string skButton = "Button"; - private const string lrButton = "Control"; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Glyph glyph = null; - private ModalResult modalResult = ModalResult.None; - private ButtonMode mode = ButtonMode.Normal; - private bool pushed = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public Glyph Glyph - { - get { return glyph; } - set - { - glyph = value; - if (!Suspended) OnGlyphChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public ModalResult ModalResult - { - get { return modalResult; } - set { modalResult = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public ButtonMode Mode - { - get { return mode; } - set { mode = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public bool Pushed - { - get { return pushed; } - set - { - pushed = value; - Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler GlyphChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Button(Manager manager): base(manager) - { - SetDefaultSize(72, 24); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls[skButton]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - - if (mode == ButtonMode.PushButton && pushed) - { - SkinLayer l = Skin.Layers[lrButton]; - renderer.DrawLayer(l, rect, l.States.Pressed.Color, l.States.Pressed.Index); - if (l.States.Pressed.Overlay) - { - renderer.DrawLayer(l, rect, l.Overlays.Pressed.Color, l.Overlays.Pressed.Index); - } - } - else - { - base.DrawControl(renderer, rect, gameTime); - } - - SkinLayer layer = Skin.Layers[lrButton]; - SpriteFont font = (layer.Text != null && layer.Text.Font != null) ? layer.Text.Font.Resource : null; - Color col = Color.White; - int ox = 0; int oy = 0; - - if (ControlState == ControlState.Pressed) - { - if (layer.Text != null) col = layer.Text.Colors.Pressed; - ox = 1; oy = 1; - } - if (glyph != null) - { - Margins cont = layer.ContentMargins; - Rectangle r = new Rectangle(rect.Left + cont.Left, - rect.Top + cont.Top, - rect.Width - cont.Horizontal, - rect.Height - cont.Vertical); - renderer.DrawGlyph(glyph, r); - } - else - { - renderer.DrawString(this, layer, Text, rect, true, ox, oy); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void OnGlyphChanged(EventArgs e) - { - if (GlyphChanged != null) GlyphChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - pushed = !pushed; - } - - base.OnClick(e); - - if ((ex.Button == MouseButton.Left || ex.Button == MouseButton.None) && Root != null) - { - if (Root is Window) - { - Window wnd = (Window)Root; - if (ModalResult != ModalResult.None) - { - wnd.Close(ModalResult); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - #endregion - -} diff --git a/Neoforce/ButtonBase.cs b/Neoforce/ButtonBase.cs deleted file mode 100644 index 5de4bb3..0000000 --- a/Neoforce/ButtonBase.cs +++ /dev/null @@ -1,117 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ButtonBase.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public abstract class ButtonBase: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public override ControlState ControlState - { - get - { - if (DesignMode) return ControlState.Enabled; - else if (Suspended) return ControlState.Disabled; - else - { - if (!Enabled) return ControlState.Disabled; - - if ((Pressed[(int)MouseButton.Left] && Inside) || (Focused && (Pressed[(int)GamePadActions.Press] || Pressed[(int)MouseButton.None]))) return ControlState.Pressed; - else if (Hovered && Inside) return ControlState.Hovered; - else if ((Focused && !Inside) || (Hovered && !Inside) || (Focused && !Hovered && Inside)) return ControlState.Focused; - else return ControlState.Enabled; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - protected ButtonBase(Manager manager) - : base(manager) - { - SetDefaultSize(72, 24); - DoubleClicks = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - base.OnClick(e); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/Neoforce/CheckBox.cs b/Neoforce/CheckBox.cs deleted file mode 100644 index 0b1cb16..0000000 --- a/Neoforce/CheckBox.cs +++ /dev/null @@ -1,158 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: CheckBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class CheckBox: ButtonBase - { - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - private const string skCheckBox = "CheckBox"; - private const string lrCheckBox = "Control"; - private const string lrChecked = "Checked"; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private bool state = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool Checked - { - get - { - return state; - } - set - { - state = value; - Invalidate(); - if (!Suspended) OnCheckedChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler CheckedChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public CheckBox(Manager manager): base(manager) - { - CheckLayer(Skin, lrChecked); - - Width = 64; - Height = 16; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls[skCheckBox]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - SkinLayer layer = Skin.Layers[lrChecked]; - SkinText font = Skin.Layers[lrChecked].Text; - - if (!state) - { - layer = Skin.Layers[lrCheckBox]; - font = Skin.Layers[lrCheckBox].Text; - } - - rect.Width = layer.Width; - rect.Height = layer.Height; - Rectangle rc = new Rectangle(rect.Left + rect.Width + 4, rect.Y, Width - (layer.Width + 4), rect.Height); - - renderer.DrawLayer(this, layer, rect); - renderer.DrawString(this, layer, Text, rc, false, 0, 0); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - Checked = !Checked; - } - base.OnClick(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnCheckedChanged(EventArgs e) - { - if (CheckedChanged != null) CheckedChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - - } - -} diff --git a/Neoforce/ClipBox.cs b/Neoforce/ClipBox.cs deleted file mode 100644 index ca4716c..0000000 --- a/Neoforce/ClipBox.cs +++ /dev/null @@ -1,65 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ClipBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - - - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ClipBox: Control - { - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public ClipBox(Manager manager): base(manager) - { - Color = Color.Transparent; - BackColor = Color.Transparent; - CanFocus = false; - Passive = true; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} \ No newline at end of file diff --git a/Neoforce/ClipControl.cs b/Neoforce/ClipControl.cs deleted file mode 100644 index 2ad5ffb..0000000 --- a/Neoforce/ClipControl.cs +++ /dev/null @@ -1,181 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Control.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ClipControl: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private ClipBox clientArea; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ClipBox ClientArea - { - get { return clientArea; } - set { clientArea = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override Margins ClientMargins - { - get - { - return base.ClientMargins; - } - set - { - base.ClientMargins = value; - if (clientArea != null) - { - clientArea.Left = ClientLeft; - clientArea.Top = ClientTop; - clientArea.Width = ClientWidth; - clientArea.Height = ClientHeight; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public ClipControl(Manager manager): base(manager) - { - clientArea = new ClipBox(manager); - - clientArea.Init(); - clientArea.MinimumWidth = 0; - clientArea.MinimumHeight = 0; - clientArea.Left = ClientLeft; - clientArea.Top = ClientTop; - clientArea.Width = ClientWidth; - clientArea.Height = ClientHeight; - - base.Add(clientArea); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Add(Control control, bool client) - { - if (client) - { - clientArea.Add(control); - } - else - { - base.Add(control); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Add(Control control) - { - Add(control, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Remove(Control control) - { - base.Remove(control); - clientArea.Remove(control); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - - if (clientArea != null) - { - clientArea.Left = ClientLeft; - clientArea.Top = ClientTop; - clientArea.Width = ClientWidth; - clientArea.Height = ClientHeight; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void AdjustMargins() - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - -} diff --git a/Neoforce/ComboBox.cs b/Neoforce/ComboBox.cs deleted file mode 100644 index a74a2be..0000000 --- a/Neoforce/ComboBox.cs +++ /dev/null @@ -1,418 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ComboBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using System.Collections.Generic; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Input; -using System; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ComboBox: TextBox - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Button btnDown = null; - private List items = new List(); - private ListBox lstCombo = null; - private int maxItems = 5; - private bool drawSelection = true; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public override bool ReadOnly - { - get { return base.ReadOnly; } - set - { - base.ReadOnly = value; - CaretVisible = !value; - if (value) - { - #if (!XBOX && !XBOX_FAKE) - Cursor = Manager.Skin.Cursors["Default"].Resource; - #endif - } - else - { - #if (!XBOX && !XBOX_FAKE) - Cursor = Manager.Skin.Cursors["Text"].Resource; - #endif - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public bool DrawSelection - { - get { return drawSelection; } - set { drawSelection = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override string Text - { - get - { - return base.Text; - } - set - { - base.Text = value; - //if (!items.Contains(value)) --- bug - if (!items.ConvertAll(item => item.ToString()).Contains(value)) - { - ItemIndex = -1; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual List Items - { - get { return items; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public int MaxItems - { - get { return maxItems; } - set - { - if (maxItems != value) - { - maxItems = value; - if (!Suspended) OnMaxItemsChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public int ItemIndex - { - get { return lstCombo.ItemIndex; } - set - { - if (lstCombo != null) - { - if (value >= 0 && value < items.Count) - { - lstCombo.ItemIndex = value; - Text = lstCombo.Items[value].ToString(); - } - else - { - lstCombo.ItemIndex = -1; - } - } - if (!Suspended) OnItemIndexChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler MaxItemsChanged; - public event EventHandler ItemIndexChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ComboBox(Manager manager): base(manager) - { - Height = 20; - Width = 64; - ReadOnly = true; - - btnDown = new Button(Manager); - btnDown.Init(); - btnDown.Skin = new SkinControl(Manager.Skin.Controls["ComboBox.Button"]); - btnDown.CanFocus = false; - btnDown.Click += new EventHandler(btnDown_Click); - Add(btnDown, false); - - lstCombo = new ListBox(Manager); - lstCombo.Init(); - lstCombo.HotTrack = true; - lstCombo.Detached = true; - lstCombo.Visible = false; - lstCombo.Click += new EventHandler(lstCombo_Click); - lstCombo.FocusLost += new EventHandler(lstCombo_FocusLost); - lstCombo.Items = items; - manager.Input.MouseDown += new MouseEventHandler(Input_MouseDown); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - // We added the listbox to another parent than this control, so we dispose it manually - if (lstCombo != null) - { - lstCombo.Dispose(); - lstCombo = null; - } - Manager.Input.MouseDown -= Input_MouseDown; - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - lstCombo.Skin = new SkinControl(Manager.Skin.Controls["ComboBox.ListBox"]); - - btnDown.Glyph = new Glyph(Manager.Skin.Images["Shared.ArrowDown"].Resource); - btnDown.Glyph.Color = Manager.Skin.Controls["ComboBox.Button"].Layers["Control"].Text.Colors.Enabled; - btnDown.Glyph.SizeMode = SizeMode.Centered; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["ComboBox"]); - AdjustMargins(); - ReadOnly = ReadOnly; // To init the right cursor - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - - if (ReadOnly && (Focused || lstCombo.Focused) && drawSelection) - { - SkinLayer lr = Skin.Layers[0]; - Rectangle rc = new Rectangle(rect.Left + lr.ContentMargins.Left, - rect.Top + lr.ContentMargins.Top, - Width - lr.ContentMargins.Horizontal - btnDown.Width, - Height - lr.ContentMargins.Vertical); - renderer.Draw(Manager.Skin.Images["ListBox.Selection"].Resource, rc , Color.FromNonPremultiplied(255, 255, 255, 128)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - - if (btnDown != null) - { - btnDown.Width = 16; - btnDown.Height = Height - Skin.Layers[0].ContentMargins.Vertical; - btnDown.Top = Skin.Layers[0].ContentMargins.Top; - btnDown.Left = Width - btnDown.Width - 2; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnDown_Click(object sender, EventArgs e) - { - if (items != null && items.Count > 0) - { - if (this.Root != null && this.Root is Container) - { - (this.Root as Container).Add(lstCombo, false); - lstCombo.Alpha = Root.Alpha; - lstCombo.Left = AbsoluteLeft - Root.Left; - lstCombo.Top = AbsoluteTop - Root.Top + Height + 1; - } - else - { - Manager.Add(lstCombo); - lstCombo.Alpha = Alpha; - lstCombo.Left = AbsoluteLeft; - lstCombo.Top = AbsoluteTop + Height + 1; - } - - lstCombo.AutoHeight(maxItems); - if (lstCombo.AbsoluteTop + lstCombo.Height > Manager.TargetHeight) - { - lstCombo.Top = lstCombo.Top - Height - lstCombo.Height - 2; - } - - lstCombo.Visible = !lstCombo.Visible; - lstCombo.Focused = true; - lstCombo.Width = Width; - lstCombo.AutoHeight(maxItems); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void Input_MouseDown(object sender, MouseEventArgs e) - { - if (ReadOnly && - (e.Position.X >= AbsoluteLeft && - e.Position.X <= AbsoluteLeft + Width && - e.Position.Y >= AbsoluteTop && - e.Position.Y <= AbsoluteTop + Height)) return; - - if (lstCombo.Visible && - (e.Position.X < lstCombo.AbsoluteLeft || - e.Position.X > lstCombo.AbsoluteLeft + lstCombo.Width || - e.Position.Y < lstCombo.AbsoluteTop || - e.Position.Y > lstCombo.AbsoluteTop + lstCombo.Height) && - (e.Position.X < btnDown.AbsoluteLeft || - e.Position.X > btnDown.AbsoluteLeft + btnDown.Width || - e.Position.Y < btnDown.AbsoluteTop || - e.Position.Y > btnDown.AbsoluteTop + btnDown.Height)) - { - //lstCombo.Visible = false; - btnDown_Click(sender, e); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void lstCombo_Click(object sender, EventArgs e) - { - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - lstCombo.Visible = false; - if (lstCombo.ItemIndex >= 0) - { - Text = lstCombo.Items[lstCombo.ItemIndex].ToString(); - Focused = true; - ItemIndex = lstCombo.ItemIndex; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnKeyDown(KeyEventArgs e) - { - if (e.Key == Keys.Down) - { - e.Handled = true; - btnDown_Click(this, new MouseEventArgs()); - } - base.OnKeyDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadDown(GamePadEventArgs e) - { - if (!e.Handled) - { - if (e.Button == GamePadActions.Click || e.Button == GamePadActions.Press || e.Button == GamePadActions.Down) - { - e.Handled = true; - btnDown_Click(this, new MouseEventArgs()); - } - } - base.OnGamePadDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseDown(MouseEventArgs e) - { - base.OnMouseDown(e); - - if (ReadOnly && e.Button == MouseButton.Left) - { - btnDown_Click(this, new MouseEventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMaxItemsChanged(EventArgs e) - { - if (MaxItemsChanged != null) MaxItemsChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnItemIndexChanged(EventArgs e) - { - if (ItemIndexChanged != null) ItemIndexChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void lstCombo_FocusLost(object sender, EventArgs e) - { - //lstCombo.Visible = false; - Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void AdjustMargins() - { - base.AdjustMargins(); - ClientMargins = new Margins(ClientMargins.Left, ClientMargins.Top, ClientMargins.Right + 16, ClientMargins.Bottom); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Component.cs b/Neoforce/Component.cs deleted file mode 100644 index 20a571e..0000000 --- a/Neoforce/Component.cs +++ /dev/null @@ -1,105 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Component.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class Component: Disposable - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Manager manager = null; - private bool initialized = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Manager Manager { get { return manager; } set { manager = value; } } - public virtual bool Initialized { get { return initialized; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public Component(Manager manager) - { - if (manager != null) - { - this.manager = manager; - } - else - { - throw new Exception("Component cannot be created. Manager instance is needed."); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Init() - { - initialized = true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal virtual void Update(GameTime gameTime) - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Console.cs b/Neoforce/Console.cs deleted file mode 100644 index 6328519..0000000 --- a/Neoforce/Console.cs +++ /dev/null @@ -1,593 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Console.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using System.Collections; -using System.Collections.Generic; - -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public struct ConsoleMessage - { - public string Text; - public byte Channel; - public DateTime Time; - public string Sender; - - public ConsoleMessage(string sender, string text, byte channel) - { - this.Text = text; - this.Channel = channel; - this.Time = DateTime.Now; - this.Sender = sender; - } - } - - public class ChannelList : EventedList - { - - #region //// Indexers ////////// - - //////////////////////////////////////////////////////////////////////////// - public ConsoleChannel this[string name] - { - get - { - for (int i = 0; i < this.Count; i++) - { - ConsoleChannel s = (ConsoleChannel)this[i]; - if (s.Name.ToLower() == name.ToLower()) - { - return s; - } - } - return default(ConsoleChannel); - } - - set - { - for (int i = 0; i < this.Count; i++) - { - ConsoleChannel s = (ConsoleChannel)this[i]; - if (s.Name.ToLower() == name.ToLower()) - { - this[i] = value; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public ConsoleChannel this[byte index] - { - get - { - for (int i = 0; i < this.Count; i++) - { - ConsoleChannel s = (ConsoleChannel)this[i]; - if (s.Index == index) - { - return s; - } - } - return default(ConsoleChannel); - } - - set - { - for (int i = 0; i < this.Count; i++) - { - ConsoleChannel s = (ConsoleChannel)this[i]; - if (s.Index == index) - { - this[i] = value; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - public class ConsoleChannel - { - private string name; - private byte index; - private Color color; - - public ConsoleChannel(byte index, string name, Color color) - { - this.name = name; - this.index = index; - this.color = color; - } - - public virtual byte Index - { - get { return index; } - set { index = value; } - } - - public virtual Color Color - { - get { return color; } - set { color = value; } - } - - public virtual string Name - { - get { return name; } - set { name = value; } - } - } - - [Flags] - public enum ConsoleMessageFormats - { - None = 0x00, - ChannelName = 0x01, - TimeStamp = 0x02, - Sender = 0x03, - All = Sender | ChannelName | TimeStamp - } - - public class Console : Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private TextBox txtMain = null; - private ComboBox cmbMain; - private EventedList buffer = new EventedList(); - private ChannelList channels = new ChannelList(); - private List filter = new List(); - private ConsoleMessageFormats messageFormat = ConsoleMessageFormats.None; - private bool channelsVisible = true; - private bool textBoxVisible = true; - private string sender; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - public string Sender - { - get { return sender; } - set { sender = value; } - } - - //////////////////////////////////////////////////////////////////////////// - public virtual EventedList MessageBuffer - { - get { return buffer; } - set - { - buffer.ItemAdded -= new EventHandler(buffer_ItemAdded); - buffer = value; - buffer.ItemAdded += new EventHandler(buffer_ItemAdded); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ChannelList Channels - { - get { return channels; } - set - { - channels.ItemAdded -= new EventHandler(channels_ItemAdded); - channels = value; - channels.ItemAdded += new EventHandler(channels_ItemAdded); - channels_ItemAdded(null, null); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual List ChannelFilter - { - get { return filter; } - set { filter = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual byte SelectedChannel - { - set { cmbMain.Text = channels[value].Name; } - get { return channels[cmbMain.Text].Index; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ConsoleMessageFormats MessageFormat - { - get { return messageFormat; } - set { messageFormat = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool ChannelsVisible - { - get { return channelsVisible; } - set - { - cmbMain.Visible = channelsVisible = value; - if (value && !textBoxVisible) TextBoxVisible = false; - PositionControls(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool TextBoxVisible - { - get { return textBoxVisible; } - set - { - txtMain.Visible = textBoxVisible = value; - txtMain.Focused = true; - if (!value && channelsVisible) ChannelsVisible = false; - PositionControls(); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event ConsoleMessageEventHandler MessageSent; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Console(Manager manager) - : base(manager) - { - Width = 320; - Height = 160; - MinimumHeight = 64; - MinimumWidth = 64; - CanFocus = false; - Resizable = false; - Movable = false; - - cmbMain = new ComboBox(manager); - cmbMain.Init(); - cmbMain.Top = Height - cmbMain.Height; - cmbMain.Left = 0; - cmbMain.Width = 128; - cmbMain.Anchor = Anchors.Left | Anchors.Bottom; - cmbMain.Detached = false; - cmbMain.DrawSelection = false; - cmbMain.Visible = channelsVisible; - Add(cmbMain, false); - - txtMain = new TextBox(manager); - txtMain.Init(); - txtMain.Top = Height - txtMain.Height; - txtMain.Left = cmbMain.Width + 1; - txtMain.Anchor = Anchors.Left | Anchors.Bottom | Anchors.Right; - txtMain.Detached = false; - txtMain.Visible = textBoxVisible; - txtMain.KeyDown += new KeyEventHandler(txtMain_KeyDown); - txtMain.GamePadDown += new GamePadEventHandler(txtMain_GamePadDown); - txtMain.FocusGained += new EventHandler(txtMain_FocusGained); - Add(txtMain, false); - - VerticalScrollBar.Top = 2; - VerticalScrollBar.Left = Width - 18; - VerticalScrollBar.Range = 1; - VerticalScrollBar.PageSize = 1; - VerticalScrollBar.ValueChanged += new EventHandler(VerticalScrollBar_ValueChanged); - VerticalScrollBar.Visible = true; - - ClientArea.Draw += new DrawEventHandler(ClientArea_Draw); - - buffer.ItemAdded += new EventHandler(buffer_ItemAdded); - channels.ItemAdded += new EventHandler(channels_ItemAdded); - channels.ItemRemoved += new EventHandler(channels_ItemRemoved); - - PositionControls(); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - private void PositionControls() - { - if (txtMain != null) - { - txtMain.Left = channelsVisible ? cmbMain.Width + 1 : 0; - txtMain.Width = channelsVisible ? Width - cmbMain.Width - 1 : Width; - - if (textBoxVisible) - { - ClientMargins = new Margins(Skin.ClientMargins.Left, Skin.ClientMargins.Top + 4, VerticalScrollBar.Width + 6, txtMain.Height + 4); - VerticalScrollBar.Height = Height - txtMain.Height - 5; - } - else - { - ClientMargins = new Margins(Skin.ClientMargins.Left, Skin.ClientMargins.Top + 4, VerticalScrollBar.Width + 6, 2); - VerticalScrollBar.Height = Height - 4; - } - Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["Console"]); - - PositionControls(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void ClientArea_Draw(object sender, DrawEventArgs e) - { - SpriteFont font = Skin.Layers[0].Text.Font.Resource; - Rectangle r = new Rectangle(e.Rectangle.Left, e.Rectangle.Top, e.Rectangle.Width, e.Rectangle.Height); - int pos = 0; - - if (buffer.Count > 0) - { - EventedList b = GetFilteredBuffer(filter); - int c = b.Count; - int s = (VerticalScrollBar.Value + VerticalScrollBar.PageSize); - int f = s - VerticalScrollBar.PageSize; - - if (b.Count > 0) - { - for (int i = s - 1; i >= f; i--) - { - { - int x = 4; - int y = r.Bottom - (pos + 1) * ((int)font.LineSpacing + 0); - - string msg = ((ConsoleMessage)b[i]).Text; - string pre = ""; - ConsoleChannel ch = (channels[((ConsoleMessage)b[i]).Channel] as ConsoleChannel); - - if ((messageFormat & ConsoleMessageFormats.ChannelName) == ConsoleMessageFormats.ChannelName) - { - pre += string.Format("[{0}]", channels[((ConsoleMessage)b[i]).Channel].Name); - } - if ((messageFormat & ConsoleMessageFormats.Sender) == ConsoleMessageFormats.Sender) - { - pre += string.Format("[{0}]", ((ConsoleMessage)b[i]).Sender); - } - if ((messageFormat & ConsoleMessageFormats.TimeStamp) == ConsoleMessageFormats.TimeStamp) - { - pre = string.Format("[{0}]", ((ConsoleMessage)b[i]).Time.ToLongTimeString()) + pre; - } - - if (pre != "") msg = pre + ": " + msg; - - e.Renderer.DrawString(font, - msg, - x, y, - ch.Color); - pos += 1; - } - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - int h = txtMain.Visible ? (txtMain.Height + 1) : 0; - Rectangle r = new Rectangle(rect.Left, rect.Top, rect.Width, rect.Height - h); - base.DrawControl(renderer, r, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void txtMain_FocusGained(object sender, EventArgs e) - { - ConsoleChannel ch = channels[cmbMain.Text]; - if (ch != null) txtMain.TextColor = ch.Color; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void txtMain_KeyDown(object sender, KeyEventArgs e) - { - SendMessage(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void txtMain_GamePadDown(object sender, GamePadEventArgs e) - { - SendMessage(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void SendMessage(EventArgs x) - { - KeyEventArgs k = new KeyEventArgs(); - GamePadEventArgs g = new GamePadEventArgs(PlayerIndex.One); - - if (x is KeyEventArgs) k = x as KeyEventArgs; - else if (x is GamePadEventArgs) g = x as GamePadEventArgs; - - ConsoleChannel ch = channels[cmbMain.Text]; - if (ch != null) - { - txtMain.TextColor = ch.Color; - - string message = txtMain.Text; - if ((k.Key == Microsoft.Xna.Framework.Input.Keys.Enter || g.Button == GamePadActions.Press) && message != null && message != "") - { - x.Handled = true; - - ConsoleMessageEventArgs me = new ConsoleMessageEventArgs(new ConsoleMessage(sender, message, ch.Index)); - OnMessageSent(me); - - buffer.Add(new ConsoleMessage(sender, me.Message.Text, me.Message.Channel)); - - txtMain.Text = ""; - ClientArea.Invalidate(); - - CalcScrolling(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMessageSent(ConsoleMessageEventArgs e) - { - if (MessageSent != null) MessageSent.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void channels_ItemAdded(object sender, EventArgs e) - { - cmbMain.Items.Clear(); - for (int i = 0; i < channels.Count; i++) - { - cmbMain.Items.Add((channels[i] as ConsoleChannel).Name); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void channels_ItemRemoved(object sender, EventArgs e) - { - cmbMain.Items.Clear(); - for (int i = 0; i < channels.Count; i++) - { - cmbMain.Items.Add((channels[i] as ConsoleChannel).Name); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void buffer_ItemAdded(object sender, EventArgs e) - { - CalcScrolling(); - ClientArea.Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void CalcScrolling() - { - if (VerticalScrollBar != null) - { - int line = Skin.Layers[0].Text.Font.Resource.LineSpacing; - int c = GetFilteredBuffer(filter).Count; - int p = (int)Math.Ceiling(ClientArea.ClientHeight / (float)line); - - VerticalScrollBar.Range = c == 0 ? 1 : c; - VerticalScrollBar.PageSize = c == 0 ? 1 : p; - VerticalScrollBar.Value = VerticalScrollBar.Range; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void VerticalScrollBar_ValueChanged(object sender, EventArgs e) - { - ClientArea.Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - CalcScrolling(); - base.OnResize(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private EventedList GetFilteredBuffer(List filter) - { - EventedList ret = new EventedList(); - - if (filter.Count > 0) - { - for (int i = 0; i < buffer.Count; i++) - { - if (filter.Contains(((ConsoleMessage)buffer[i]).Channel)) - { - ret.Add(buffer[i]); - } - } - return ret; - } - else return buffer; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Container.cs b/Neoforce/Container.cs deleted file mode 100644 index 33f85f1..0000000 --- a/Neoforce/Container.cs +++ /dev/null @@ -1,554 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Container.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public struct ScrollBarValue - { - public int Vertical; - public int Horizontal; - } - - public class Container: ClipControl - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private ScrollBar sbVert; - private ScrollBar sbHorz; - private MainMenu mainMenu; - private ToolBarPanel toolBarPanel; - private StatusBar statusBar; - private bool autoScroll = false; - private Control defaultControl = null; - - /// - /// Scroll by PageSize (true) or StepSize (false) - /// - private bool scrollAlot = true; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ScrollBarValue ScrollBarValue - { - get - { - ScrollBarValue scb = new ScrollBarValue(); - scb.Vertical = (sbVert != null ? sbVert.Value : 0); - scb.Horizontal = (sbHorz != null ? sbHorz.Value : 0); - return scb; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override bool Visible - { - get - { - return base.Visible; - } - set - { - if (value) - { - if (DefaultControl != null) - { - DefaultControl.Focused = true; - } - } - base.Visible = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Control DefaultControl - { - get { return defaultControl; } - set { defaultControl = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool AutoScroll - { - get { return autoScroll; } - set { autoScroll = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual MainMenu MainMenu - { - get { return mainMenu; } - set - { - if (mainMenu != null) - { - mainMenu.Resize -= Bars_Resize; - Remove(mainMenu); - } - mainMenu = value; - - if (mainMenu != null) - { - Add(mainMenu, false); - mainMenu.Resize += Bars_Resize; - } - AdjustMargins(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ToolBarPanel ToolBarPanel - { - get - { - return toolBarPanel; - } - set - { - if (toolBarPanel != null) - { - toolBarPanel.Resize -= Bars_Resize; - Remove(toolBarPanel); - } - toolBarPanel = value; - - if (toolBarPanel != null) - { - Add(toolBarPanel, false); - toolBarPanel.Resize += Bars_Resize; - } - AdjustMargins(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual StatusBar StatusBar - { - get - { - return statusBar; - } - set - { - if (statusBar != null) - { - statusBar.Resize -= Bars_Resize; - Remove(statusBar); - } - statusBar = value; - - if (statusBar != null) - { - Add(statusBar, false); - statusBar.Resize += Bars_Resize; - } - AdjustMargins(); - } - } - //////////////////////////////////////////////////////////////////////////// - - /// - /// Scroll by PageSize (true) or StepSize (false) - /// - public virtual bool ScrollAlot - { - get { return this.scrollAlot; } - set { this.scrollAlot = value; } - } - - /// - /// Gets the container's vertical scroll bar. - /// - protected virtual ScrollBar VerticalScrollBar - { - get { return this.sbVert; } - } - - /// - /// Gets the container's horizontal scroll bar. - /// - protected virtual ScrollBar HorizontalScrollBar - { - get { return this.sbHorz; } - } - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public Container(Manager manager): base(manager) - { - sbVert = new ScrollBar(manager, Orientation.Vertical); - sbVert.Init(); - sbVert.Detached = false; - sbVert.Anchor = Anchors.Top | Anchors.Right | Anchors.Bottom; - sbVert.ValueChanged += new EventHandler(ScrollBarValueChanged); - sbVert.Range = 0; - sbVert.PageSize = 0; - sbVert.Value = 0; - sbVert.Visible = false; - - sbHorz = new ScrollBar(manager, Orientation.Horizontal); - sbHorz.Init(); - sbHorz.Detached = false; - sbHorz.Anchor = Anchors.Right | Anchors.Left | Anchors.Bottom; - sbHorz.ValueChanged += new EventHandler(ScrollBarValueChanged); - sbHorz.Range = 0; - sbHorz.PageSize = 0; - sbHorz.Value = 0; - sbHorz.Visible = false; - - Add(sbVert, false); - Add(sbHorz, false); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void Bars_Resize(object sender, ResizeEventArgs e) - { - AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void AdjustMargins() - { - Margins m = Skin.ClientMargins; - - if (this.GetType() != typeof(Container)) - { - m = ClientMargins; - } - - if (mainMenu != null && mainMenu.Visible) - { - if (!mainMenu.Initialized) mainMenu.Init(); - mainMenu.Left = m.Left; - mainMenu.Top = m.Top; - mainMenu.Width = Width - m.Horizontal; - mainMenu.Anchor = Anchors.Left | Anchors.Top | Anchors.Right; - - m.Top += mainMenu.Height; - } - if (toolBarPanel != null && toolBarPanel.Visible) - { - if (!toolBarPanel.Initialized) toolBarPanel.Init(); - toolBarPanel.Left = m.Left; - toolBarPanel.Top = m.Top; - toolBarPanel.Width = Width - m.Horizontal; - toolBarPanel.Anchor = Anchors.Left | Anchors.Top | Anchors.Right; - - m.Top += toolBarPanel.Height; - } - if (statusBar != null && statusBar.Visible) - { - if (!statusBar.Initialized) statusBar.Init(); - statusBar.Left = m.Left; - statusBar.Top = Height - m.Bottom - statusBar.Height; - statusBar.Width = Width - m.Horizontal; - statusBar.Anchor = Anchors.Left | Anchors.Bottom | Anchors.Right; - - m.Bottom += statusBar.Height; - } - if (sbVert != null && sbVert.Visible) - { - m.Right += (sbVert.Width + 2); - } - if (sbHorz != null && sbHorz.Visible) - { - m.Bottom += (sbHorz.Height + 2); - } - - ClientMargins = m; - - PositionScrollBars(); - - base.AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Add(Control control, bool client) - { - base.Add(control, client); - CalcScrolling(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void OnSkinChanged(EventArgs e) - { - base.OnSkinChanged(e); - if (sbVert != null && sbHorz != null) - { - sbVert.Visible = false; - sbHorz.Visible = false; - CalcScrolling(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void PositionScrollBars() - { - if (sbVert != null) - { - sbVert.Left = ClientLeft + ClientWidth + 1; - sbVert.Top = ClientTop + 1; - int m = (sbHorz != null && sbHorz.Visible) ? 0 : 2; - sbVert.Height = ClientArea.Height - m; - sbVert.Range = ClientArea.VirtualHeight; - sbVert.PageSize = ClientArea.ClientHeight; - } - - if (sbHorz != null) - { - sbHorz.Left = ClientLeft + 1; - sbHorz.Top = ClientTop + ClientHeight + 1; - int m = (sbVert != null && sbVert.Visible) ? 0 : 2; - sbHorz.Width = ClientArea.Width - m; - sbHorz.Range = ClientArea.VirtualWidth; - sbHorz.PageSize = ClientArea.ClientWidth; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void CalcScrolling() - { - if (sbVert != null && autoScroll) - { - bool vis = sbVert.Visible; - sbVert.Visible = ClientArea.VirtualHeight > ClientArea.ClientHeight; - if (ClientArea.VirtualHeight <= ClientArea.ClientHeight) sbVert.Value = 0; - - if (vis != sbVert.Visible) - { - if (!sbVert.Visible) - { - foreach (Control c in ClientArea.Controls) - { - c.TopModifier = 0; - c.Invalidate(); - } - } - AdjustMargins(); - } - - PositionScrollBars(); - foreach (Control c in ClientArea.Controls) - { - c.TopModifier = -sbVert.Value; - c.Invalidate(); - } - } - - if (sbHorz != null && autoScroll) - { - bool vis = sbHorz.Visible; - sbHorz.Visible = ClientArea.VirtualWidth > ClientArea.ClientWidth; - if (ClientArea.VirtualWidth <= ClientArea.ClientWidth) sbHorz.Value = 0; - - if (vis != sbHorz.Visible) - { - if (!sbHorz.Visible) - { - foreach (Control c in ClientArea.Controls) - { - c.LeftModifier = 0; - sbVert.Refresh(); - c.Invalidate(); - } - } - AdjustMargins(); - } - - PositionScrollBars(); - foreach (Control c in ClientArea.Controls) - { - c.LeftModifier = -sbHorz.Value; - sbHorz.Refresh(); - c.Invalidate(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void ScrollTo(int x, int y) - { - sbVert.Value = y; - sbHorz.Value = x; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void ScrollTo(Control control) - { - if (control != null && ClientArea != null && ClientArea.Contains(control, true)) - { - if (control.AbsoluteTop + control.Height > ClientArea.AbsoluteTop + ClientArea.Height) - { - sbVert.Value = sbVert.Value + control.AbsoluteTop - ClientArea.AbsoluteTop - sbVert.PageSize + control.Height; - } - else if (control.AbsoluteTop < ClientArea.AbsoluteTop) - { - sbVert.Value = sbVert.Value + control.AbsoluteTop - ClientArea.AbsoluteTop; - } - if (control.AbsoluteLeft + control.Width > ClientArea.AbsoluteLeft + ClientArea.Width) - { - sbHorz.Value = sbHorz.Value + control.AbsoluteLeft - ClientArea.AbsoluteLeft - sbHorz.PageSize + control.Width; - } - else if (control.AbsoluteLeft < ClientArea.AbsoluteLeft) - { - sbHorz.Value = sbHorz.Value + control.AbsoluteLeft - ClientArea.AbsoluteLeft; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void ScrollBarValueChanged(object sender, EventArgs e) - { - CalcScrolling(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - CalcScrolling(); - - // Crappy fix to certain scrolling issue - //if (sbVert != null) sbVert.Value -= 1; - //if (sbHorz != null) sbHorz.Value -= 1; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Invalidate() - { - base.Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - MouseEventArgs ex = e as MouseEventArgs; - ex.Position = new Point(ex.Position.X + sbHorz.Value, ex.Position.Y + sbVert.Value); - - base.OnClick(e); - } - //////////////////////////////////////////////////////////////////////////// - - protected override void OnMouseScroll(MouseEventArgs e) - { - if (!ClientArea.Enabled) - return; - - // If current control doesn't scroll, scroll the parent control - if (sbVert.Range - sbVert.PageSize < 1) - { - Control c = this; - - while (c != null) - { - var p = c.Parent as Container; - - if (p != null && p.Enabled) - { - p.OnMouseScroll(e); - - break; - } - - c = c.Parent; - } - - return; - } - - if (e.ScrollDirection == MouseScrollDirection.Down) - sbVert.ScrollDown(ScrollAlot); - else - sbVert.ScrollUp(ScrollAlot); - - base.OnMouseScroll(e); - } - #endregion - } - -} diff --git a/Neoforce/ContentReaders.cs b/Neoforce/ContentReaders.cs deleted file mode 100644 index 1c6b33f..0000000 --- a/Neoforce/ContentReaders.cs +++ /dev/null @@ -1,155 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ContentReaders.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -////////////////////////////////////////////////////////////////////////////// -using System; -using System.IO; -using System.Xml; -using Microsoft.Xna.Framework.Content; - -#if (!XBOX && !XBOX_FAKE) -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework; -#endif -////////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - //////////////////////////////////////////////////////////////////////////// - public class LayoutXmlDocument : XmlDocument { } - public class SkinXmlDocument : XmlDocument { } - //////////////////////////////////////////////////////////////////////////// - - - public class SkinReader : ContentTypeReader - { - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override SkinXmlDocument Read(ContentReader input, SkinXmlDocument existingInstance) - { - if (existingInstance == null) - { - SkinXmlDocument doc = new SkinXmlDocument(); - doc.LoadXml(input.ReadString()); - return doc; - } - else - { - existingInstance.LoadXml(input.ReadString()); - } - - return existingInstance; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - public class LayoutReader : ContentTypeReader - { - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override LayoutXmlDocument Read(ContentReader input, LayoutXmlDocument existingInstance) - { - if (existingInstance == null) - { - LayoutXmlDocument doc = new LayoutXmlDocument(); - doc.LoadXml(input.ReadString()); - return doc; - } - else - { - existingInstance.LoadXml(input.ReadString()); - } - - return existingInstance; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -#if (!XBOX && !XBOX_FAKE) - - public class CursorReader : ContentTypeReader - { - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override Cursor Read(ContentReader input, Cursor existingInstance) - { - if (existingInstance == null) - { - int count = input.ReadInt32(); - byte[] data = input.ReadBytes(count); - - string path = Path.GetTempFileName(); - File.WriteAllBytes(path, data); - string tPath = Path.GetTempFileName(); - using(System.Drawing.Icon i = System.Drawing.Icon.ExtractAssociatedIcon(path)) - { - using (System.Drawing.Bitmap b = i.ToBitmap()) - { - - b.Save(tPath, System.Drawing.Imaging.ImageFormat.Png); - b.Dispose(); - } - - i.Dispose(); - } - //TODO: Replace with xml based solution for getting hotspot and size instead - IntPtr handle = NativeMethods.LoadCursor(path); - System.Windows.Forms.Cursor c = new System.Windows.Forms.Cursor(handle); - Vector2 hs = new Vector2(c.HotSpot.X, c.HotSpot.Y); - int w = c.Size.Width; - int h = c.Size.Height; - c.Dispose(); - File.Delete(path); - - return new Cursor(tPath, hs, w, h); - } - else - { - } - - return existingInstance; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -#endif - -} - diff --git a/Neoforce/ContextMenu.cs b/Neoforce/ContextMenu.cs deleted file mode 100644 index 9265dbc..0000000 --- a/Neoforce/ContextMenu.cs +++ /dev/null @@ -1,575 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ContextMenu.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ContextMenu: MenuBase - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private long timer = 0; - private Control sender = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - protected internal Control Sender { get { return sender; } set { sender = value; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ContextMenu(Manager manager): base(manager) - { - Visible = false; - Detached = true; - StayOnBack = true; - - Manager.Input.MouseDown += new MouseEventHandler(Input_MouseDown); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - Manager.Input.MouseDown -= Input_MouseDown; - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["ContextMenu"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - - SkinLayer l1 = Skin.Layers["Control"]; - SkinLayer l2 = Skin.Layers["Selection"]; - - int vsize = LineHeight(); - Color col = Color.White; - - for (int i = 0; i < Items.Count; i++) - { - int mod = i > 0 ? 2 : 0; - int left = rect.Left + l1.ContentMargins.Left + vsize; - int h = vsize - mod - (i < (Items.Count - 1) ? 1 : 0); - int top = rect.Top + l1.ContentMargins.Top + (i * vsize) + mod; - - - if (Items[i].Separated && i > 0) - { - Rectangle r = new Rectangle(left, rect.Top + l1.ContentMargins.Top + (i * vsize), LineWidth() - vsize + 4, 1); - renderer.Draw(Manager.Skin.Controls["Control"].Layers[0].Image.Resource, r, l1.Text.Colors.Enabled); - } - if (ItemIndex != i) - { - if (Items[i].Enabled) - { - Rectangle r = new Rectangle(left, top, LineWidth() - vsize, h); - renderer.DrawString(this, l1, Items[i].Text, r, false); - col = l1.Text.Colors.Enabled; - } - else - { - Rectangle r = new Rectangle(left + l1.Text.OffsetX, - top + l1.Text.OffsetY, - LineWidth() - vsize, h); - renderer.DrawString(l1.Text.Font.Resource, Items[i].Text, r, l1.Text.Colors.Disabled, l1.Text.Alignment); - col = l1.Text.Colors.Disabled; - } - } - else - { - if (Items[i].Enabled) - { - Rectangle rs = new Rectangle(rect.Left + l1.ContentMargins.Left, - top, - Width - (l1.ContentMargins.Horizontal - Skin.OriginMargins.Horizontal), - h); - renderer.DrawLayer(this, l2, rs); - - Rectangle r = new Rectangle(left, - top, LineWidth() - vsize, h); - - renderer.DrawString(this, l2, Items[i].Text, r, false); - col = l2.Text.Colors.Enabled; - } - else - { - Rectangle rs = new Rectangle(rect.Left + l1.ContentMargins.Left, - top, - Width - (l1.ContentMargins.Horizontal - Skin.OriginMargins.Horizontal), - vsize); - renderer.DrawLayer(l2, rs, l2.States.Disabled.Color, l2.States.Disabled.Index); - - Rectangle r = new Rectangle(left + l1.Text.OffsetX, - top + l1.Text.OffsetY, - LineWidth() - vsize, h); - renderer.DrawString(l2.Text.Font.Resource, Items[i].Text, r, l2.Text.Colors.Disabled, l2.Text.Alignment); - col = l2.Text.Colors.Disabled; - } - - } - - if (Items[i].Image != null) - { - Rectangle r = new Rectangle(rect.Left + l1.ContentMargins.Left + 3, - rect.Top + top + 3, - LineHeight() - 6, - LineHeight() - 6); - renderer.Draw(Items[i].Image, r, Color.White); - } - - if (Items[i].Items != null && Items[i].Items.Count > 0) - { - renderer.Draw(Manager.Skin.Images["Shared.ArrowRight"].Resource, rect.Left + LineWidth() - 4, rect.Top + l1.ContentMargins.Top + (i * vsize) + 8, col); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int LineHeight() - { - int h = 0; - if (Items.Count > 0) - { - SkinLayer l = Skin.Layers["Control"]; - h = (int)l.Text.Font.Resource.LineSpacing + 9; - } - return h; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int LineWidth() - { - int w = 0; - SkinFont font = Skin.Layers["Control"].Text.Font; - if (Items.Count > 0) - { - for (int i = 0; i < Items.Count; i++) - { - int wx = (int)font.Resource.MeasureString(Items[i].Text).X + 16; - if (wx > w) w = wx; - } - } - - w += 4 + LineHeight(); - - return w; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void AutoSize() - { - SkinText font = Skin.Layers["Control"].Text; - if (Items != null && Items.Count > 0) - { - Height = (LineHeight() * Items.Count) + (Skin.Layers["Control"].ContentMargins.Vertical - Skin.OriginMargins.Vertical); - Width = LineWidth() + (Skin.Layers["Control"].ContentMargins.Horizontal - Skin.OriginMargins.Horizontal) + font.OffsetX; - } - else - { - Height = 16; - Width = 16; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void TrackItem(int x, int y) - { - if (Items != null && Items.Count > 0) - { - SkinText font = Skin.Layers["Control"].Text; - int h = LineHeight(); - y -= Skin.Layers["Control"].ContentMargins.Top; - int i = (int)((float)y / h); - if (i < Items.Count) - { - if (i != ItemIndex && Items[i].Enabled) - { - if (ChildMenu != null) - { - this.HideMenu(false); - } - - if (i >= 0 && i != ItemIndex) - { - Items[i].SelectedInvoke(new EventArgs()); - } - - Focused = true; - ItemIndex = i; - timer = (long)TimeSpan.FromTicks(DateTime.Now.Ticks).TotalMilliseconds; - } - else if (!Items[i].Enabled && ChildMenu == null) - { - ItemIndex = -1; - } - } - Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseMove(MouseEventArgs e) - { - base.OnMouseMove(e); - TrackItem(e.Position.X, e.Position.Y); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - - AutoSize(); - - long time = (long)TimeSpan.FromTicks(DateTime.Now.Ticks).TotalMilliseconds; - - if (timer != 0 && time - timer >= Manager.MenuDelay && ItemIndex >= 0 && Items[ItemIndex].Items.Count > 0 && ChildMenu == null) - { - OnClick(new MouseEventArgs(new MouseState(), MouseButton.Left, Point.Zero)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseOut(MouseEventArgs e) - { - base.OnMouseOut(e); - - if (!CheckArea(e.State.X, e.State.Y) && ChildMenu == null) - { - ItemIndex = -1; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - if (sender != null && !(sender is MenuBase)) sender.Focused = true; - base.OnClick(e); - timer = 0; - - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - if (ItemIndex >= 0 && Items[ItemIndex].Enabled) - { - if (ItemIndex >= 0 && Items[ItemIndex].Items != null && Items[ItemIndex].Items.Count > 0) - { - if (ChildMenu == null) - { - ChildMenu = new ContextMenu(Manager); - (ChildMenu as ContextMenu).RootMenu = this.RootMenu; - (ChildMenu as ContextMenu).ParentMenu = this; - (ChildMenu as ContextMenu).sender = sender; - ChildMenu.Items.AddRange(Items[ItemIndex].Items); - (ChildMenu as ContextMenu).AutoSize(); - } - int y = AbsoluteTop + Skin.Layers["Control"].ContentMargins.Top + (ItemIndex * LineHeight()); - (ChildMenu as ContextMenu).Show(sender, AbsoluteLeft + Width - 1, y); - if (ex.Button == MouseButton.None) (ChildMenu as ContextMenu).ItemIndex = 0; - } - else - { - if (ItemIndex >= 0) - { - Items[ItemIndex].ClickInvoke(ex); - } - if (RootMenu is ContextMenu) (RootMenu as ContextMenu).HideMenu(true); - else if (RootMenu is MainMenu) - { - (RootMenu as MainMenu).HideMenu(); - } - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnKeyPress(KeyEventArgs e) - { - base.OnKeyPress(e); - - timer = 0; - - if (e.Key == Keys.Down || (e.Key == Keys.Tab && !e.Shift)) - { - e.Handled = true; - ItemIndex += 1; - } - - if (e.Key == Keys.Up || (e.Key == Keys.Tab && e.Shift)) - { - e.Handled = true; - ItemIndex -=1; - } - - if (ItemIndex > Items.Count - 1) ItemIndex = 0; - if (ItemIndex < 0) ItemIndex = Items.Count - 1; - - if (e.Key == Keys.Right && Items[ItemIndex].Items.Count > 0) - { - e.Handled = true; - OnClick(new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - if (e.Key == Keys.Left) - { - e.Handled = true; - if (ParentMenu != null && ParentMenu is ContextMenu) - { - (ParentMenu as ContextMenu).Focused = true; - (ParentMenu as ContextMenu).HideMenu(false); - } - } - if (e.Key == Keys.Escape) - { - e.Handled = true; - if (ParentMenu != null) ParentMenu.Focused = true; - HideMenu(true); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadPress(GamePadEventArgs e) - { - timer = 0; - - if (e.Button == GamePadButton.None) return; - - if (e.Button == GamePadActions.Down || e.Button == GamePadActions.NextControl) - { - e.Handled = true; - ItemIndex += 1; - } - else if (e.Button == GamePadActions.Up || e.Button == GamePadActions.PrevControl) - { - e.Handled = true; - ItemIndex -= 1; - } - - if (ItemIndex > Items.Count - 1) ItemIndex = 0; - if (ItemIndex < 0) ItemIndex = Items.Count - 1; - - if (e.Button == GamePadActions.Right && Items[ItemIndex].Items.Count > 0) - { - e.Handled = true; - OnClick(new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - if (e.Button == GamePadActions.Left) - { - e.Handled = true; - if (ParentMenu != null && ParentMenu is ContextMenu) - { - (ParentMenu as ContextMenu).Focused = true; - (ParentMenu as ContextMenu).HideMenu(false); - } - } - - base.OnGamePadPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void HideMenu(bool hideCurrent) - { - if (hideCurrent) - { - Visible = false; - ItemIndex = -1; - } - if (ChildMenu != null) - { - (ChildMenu as ContextMenu).HideMenu(true); - ChildMenu.Dispose(); - ChildMenu = null; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Show() - { - Show(null, Left, Top); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Show(Control sender, int x, int y) - { - AutoSize(); - base.Show(); - if (!Initialized) Init(); - if (sender != null && sender.Root != null && sender.Root is Container) - { - (sender.Root as Container).Add(this, false); - } - else - { - Manager.Add(this); - } - - this.sender = sender; - - if (sender != null && sender.Root != null && sender.Root is Container) - { - Left = x - Root.AbsoluteLeft; - Top = y - Root.AbsoluteTop; - } - else - { - Left = x; - Top = y; - } - - if (AbsoluteLeft + Width > Manager.TargetWidth) - { - Left = Left - Width; - if (ParentMenu != null && ParentMenu is ContextMenu) - { - Left = Left - ParentMenu.Width + 2; - } - else if (ParentMenu != null) - { - Left = Manager.TargetWidth - (Parent != null ? Parent.AbsoluteLeft : 0) - Width - 2; - } - } - if (AbsoluteTop + Height > Manager.TargetHeight) - { - Top = Top - Height; - if (ParentMenu != null && ParentMenu is ContextMenu) - { - Top = Top + LineHeight(); - } - else if (ParentMenu != null) - { - Top = ParentMenu.Top - Height - 1; - } - } - - Focused = true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void Input_MouseDown(object sender, MouseEventArgs e) - { - if ((RootMenu is ContextMenu) && !(RootMenu as ContextMenu).CheckArea(e.Position.X, e.Position.Y) && Visible) - { - HideMenu(true); - } - else if ((RootMenu is MainMenu) && RootMenu.ChildMenu != null && !(RootMenu.ChildMenu as ContextMenu).CheckArea(e.Position.X, e.Position.Y) && Visible) - { - (RootMenu as MainMenu).HideMenu(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckArea(int x, int y) - { - if (Visible) - { - if (x <= AbsoluteLeft || - x >= AbsoluteLeft + Width || - y <= AbsoluteTop || - y >= AbsoluteTop + Height) - { - bool ret = false; - if (ChildMenu != null) - { - ret = (ChildMenu as ContextMenu).CheckArea(x, y); - } - return ret; - } - else - { - return true; - } - } - else - { - return false; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Control.cs b/Neoforce/Control.cs deleted file mode 100644 index d36e206..0000000 --- a/Neoforce/Control.cs +++ /dev/null @@ -1,3045 +0,0 @@ -///////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Control.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; - -#if (!XBOX && !XBOX_FAKE) - using System.Media; -using System.Collections; -using System.ComponentModel; -#endif -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - - //////////////////////////////////////////////////////////////////////////// - /// - /// Defines the gamepad actions mapping. - /// - public class GamePadActions - { - public GamePadButton Click = GamePadButton.A; - public GamePadButton Press = GamePadButton.Y; - public GamePadButton Left = GamePadButton.LeftStickLeft; - public GamePadButton Right = GamePadButton.LeftStickRight; - public GamePadButton Up = GamePadButton.LeftStickUp; - public GamePadButton Down = GamePadButton.LeftStickDown; - public GamePadButton NextControl = GamePadButton.RightShoulder; - public GamePadButton PrevControl = GamePadButton.LeftShoulder; - public GamePadButton ContextMenu = GamePadButton.X; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Defines type used as a controls collection. - /// - public class ControlsList: EventedList - { - public ControlsList(): base() {} - public ControlsList(int capacity): base(capacity) {} - public ControlsList(IEnumerable collection): base(collection) {} - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Defines the base class for all controls. - /// - public class Control: Component - { - - #region //// Consts///////////// - - //////////////////////////////////////////////////////////////////////////// - public static readonly Color UndefinedColor = new Color(255, 255, 255, 0); - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - internal static ControlsList Stack = new ControlsList(); - //////////////////////////////////////////////////////////////////////////// - - #if (!XBOX && !XBOX_FAKE) - //////////////////////////////////////////////////////////////////////////// - private Cursor cursor = null; - //////////////////////////////////////////////////////////////////////////// - #endif - - //////////////////////////////////////////////////////////////////////////// - private Color color = UndefinedColor; - private Color textColor = UndefinedColor; - private Color backColor = Color.Transparent; - private byte alpha = 255; - private Anchors anchor = Anchors.Left | Anchors.Top; - private Anchors resizeEdge = Anchors.All; - private string text = "Control"; - private bool visible = true; - private bool enabled = true; - private SkinControl skin = null; - private Control parent = null; - private Control root = null; - private int left = 0; - private int top = 0; - private int width = 64; - private int height = 64; - private bool suspended = false; - private ContextMenu contextMenu = null; - private long tooltipTimer = 0; - private long doubleClickTimer = 0; - private MouseButton doubleClickButton = MouseButton.None; - private Type toolTipType = typeof(ToolTip); - private ToolTip toolTip = null; - private bool doubleClicks = true; - private bool outlineResizing = false; - private bool outlineMoving = false; - private string name = "Control"; - private object tag = null; - private GamePadActions gamePadActions = new GamePadActions(); - private bool designMode = false; - private bool partialOutline = true; - private Rectangle drawingRect = Rectangle.Empty; - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private ControlsList controls = new ControlsList(); - private Rectangle movableArea = Rectangle.Empty; - private bool passive = false; - private bool detached = false; - private bool movable = false; - private bool resizable = false; - private bool invalidated = true; - private bool canFocus = true; - private int resizerSize = 4; - private int minimumWidth = 0; - private int maximumWidth = 4096; - private int minimumHeight = 0; - private int maximumHeight = 4096; - private int topModifier = 0; - private int leftModifier = 0; - private int virtualHeight = 64; - private int virtualWidth = 64; - private bool stayOnBack = false; - private bool stayOnTop = false; - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private RenderTarget2D target; - private Point pressSpot = Point.Zero; - private int[] pressDiff = new int[4]; - private Alignment resizeArea = Alignment.None; - private bool hovered = false; - private bool inside = false; - private bool[] pressed = new bool[32]; - private bool isMoving = false; - private bool isResizing = false; - private Margins margins = new Margins(4, 4, 4, 4); - private Margins anchorMargins = new Margins(); - private Margins clientMargins = new Margins(); - private Rectangle outlineRect = Rectangle.Empty; - /// - /// Tracks the position of the mouse scroll wheel - /// - private int scrollWheel = 0; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - #if (!XBOX && !XBOX_FAKE) - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the cursor displaying over the control. - /// - public Cursor Cursor - { - get { return cursor; } - set { cursor = value; } - } - //////////////////////////////////////////////////////////////////////////// - #endif - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets a list of all child controls. - /// - public virtual IEnumerable Controls { get { return controls; } } - - /// - /// Gets or sets a rectangular area that reacts on moving the control with the mouse. - /// - public virtual Rectangle MovableArea { get { return movableArea; } set { movableArea = value; } } - - /// - /// Gets a value indicating whether this control is a child control. - /// - public virtual bool IsChild { get { return (parent != null); } } - - /// - /// Gets a value indicating whether this control is a parent control. - /// - public virtual bool IsParent { get { return (controls != null && controls.Count > 0); } } - - /// - /// Gets a value indicating whether this control is a root control. - /// - public virtual bool IsRoot { get { return (root == this); } } - - /// - /// Gets or sets a value indicating whether this control can receive focus. - /// - public virtual bool CanFocus { get { return canFocus; } set { canFocus = value; } } - - /// - /// Gets or sets a value indicating whether this control is rendered off the parents texture. - /// - public virtual bool Detached { get { return detached; } set { detached = value; } } - - /// - /// Gets or sets a value indicating whether this controls can receive user input events. - /// - public virtual bool Passive { get { return passive; } set { passive = value; } } - - /// - /// Gets or sets a value indicating whether this control can be moved by the mouse. - /// - public virtual bool Movable { get { return movable; } set { movable = value; } } - - /// - /// Gets or sets a value indicating whether this control can be resized by the mouse. - /// - public virtual bool Resizable { get { return resizable; } set { resizable = value; } } - - /// - /// Gets or sets the size of the rectangular borders around the control used for resizing by the mouse. - /// - public virtual int ResizerSize { get { return resizerSize; } set { resizerSize = value; } } - - /// - /// Gets or sets the ContextMenu associated with this control. - /// - public virtual ContextMenu ContextMenu { get { return contextMenu; } set { contextMenu = value; } } - - /// - /// Gets or sets a value indicating whether this control should process mouse double-clicks. - /// - public virtual bool DoubleClicks { get { return doubleClicks; } set { doubleClicks = value; } } - - /// - /// Gets or sets a value indicating whether this control should use ouline resizing. - /// - public virtual bool OutlineResizing { get { return outlineResizing; } set { outlineResizing = value; } } - - /// - /// Gets or sets a value indicating whether this control should use outline moving. - /// - public virtual bool OutlineMoving { get { return outlineMoving; } set { outlineMoving = value; } } - - /// - /// Gets or sets the object that contains data about the control. - /// - public virtual object Tag { get { return tag; } set { tag = value; } } - - /// - /// Gets or sets the value indicating the distance from another control. Usable with StackPanel control. - /// - public virtual Margins Margins { get { return margins; } set { margins = value; } } - - /// - /// Gets or sets the value indicating wheter control is in design mode. - /// - public virtual bool DesignMode { get { return designMode; } set { designMode = value; } } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets gamepad actions for the control. - /// - public virtual GamePadActions GamePadActions - { - get { return gamePadActions; } - set { gamePadActions = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the value indicating whether the control outline is displayed only for certain edges. - /// - public virtual bool PartialOutline - { - get { return partialOutline; } - set { partialOutline = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the value indicating whether the control is allowed to be brought in the front. - /// - public virtual bool StayOnBack - { - get { return stayOnBack; } - set - { - if (value && stayOnTop) stayOnTop = false; - stayOnBack = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the value indicating that the control should stay on top of other controls. - /// - public virtual bool StayOnTop - { - get { return stayOnTop; } - set - { - if (value && stayOnBack) stayOnBack = false; - stayOnTop = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a name of the control. - /// - public virtual string Name - { - get { return name; } - set { name = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating whether this control has input focus. - /// - public virtual bool Focused - { - get - { - return (Manager.FocusedControl == this); - } - set - { - this.Invalidate(); - if (value) - { - bool f = Focused; - Manager.FocusedControl = this; - if (!Suspended && value && !f) OnFocusGained(new EventArgs()); - if (Focused && Root != null && Root is Container) - { - (Root as Container).ScrollTo(this); - } - } - else - { - bool f = Focused; - if (Manager.FocusedControl == this) Manager.FocusedControl = null; - if (!Suspended && !value && f) OnFocusLost(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets a value indicating current state of the control. - /// - public virtual ControlState ControlState - { - get - { - if (DesignMode) return ControlState.Enabled; - else if (Suspended) return ControlState.Disabled; - else - { - if (!enabled) return ControlState.Disabled; - - if ((IsPressed && inside) || (Focused && IsPressed)) return ControlState.Pressed; - else if (hovered && !IsPressed) return ControlState.Hovered; - else if ((Focused && !inside) || (hovered && IsPressed && !inside) || (Focused && !hovered && inside)) return ControlState.Focused; - else return ControlState.Enabled; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Type ToolTipType - { - get { return toolTipType; } - set - { - toolTipType = value; - if (toolTip != null) - { - toolTip.Dispose(); - toolTip = null; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ToolTip ToolTip - { - get - { - if (toolTip == null) - { - Type[] t = new Type[1] {typeof(Manager)}; - object[] p = new object[1] {Manager}; - - toolTip = (ToolTip)toolTipType.GetConstructor(t).Invoke(p); - toolTip.Init(); - toolTip.Visible = false; - } - return toolTip; - } - set - { - toolTip = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal protected virtual bool IsPressed - { - get - { - for (int i = 0; i < pressed.Length - 1; i++) - { - if (pressed[i]) return true; - } - return false; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal virtual int TopModifier - { - get { return topModifier; } - set { topModifier = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal virtual int LeftModifier - { - get { return leftModifier; } - set { leftModifier = value; } - } - //////////////////////////////////////////////////////////////////////////// - internal virtual int VirtualHeight - { - get { return GetVirtualHeight(); } - //set { virtualHeight = value; } - } - //////////////////////////////////////////////////////////////////////////// - internal virtual int VirtualWidth - { - get { return GetVirtualWidth(); } - //set { virtualWidth = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets an area where is the control supposed to be drawn. - /// - public Rectangle DrawingRect - { - get { return drawingRect; } - private set { drawingRect = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating whether this control should receive any events. - /// - public virtual bool Suspended - { - get { return suspended; } - set { suspended = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal protected virtual bool Hovered - { - get { return hovered; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal protected virtual bool Inside - { - get { return inside; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal protected virtual bool[] Pressed - { - get { return pressed; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating whether this controls is currently being moved. - /// - protected virtual bool IsMoving - { - get - { - return isMoving; - } - set - { - isMoving = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating whether this controls is currently being resized. - /// - protected virtual bool IsResizing - { - get - { - return isResizing; - } - set - { - isResizing = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. - /// - public virtual Anchors Anchor - { - get - { - return anchor; - } - set - { - anchor = value; - SetAnchorMargins(); - if (!Suspended) OnAnchorChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the edges of the contol which are allowed for resizing. - /// - public virtual Anchors ResizeEdge - { - get - { - return resizeEdge; - } - set - { - resizeEdge = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the skin used for rendering the control. - /// - public virtual SkinControl Skin - { - get - { - return skin; - } - set - { - skin = value; - ClientMargins = skin.ClientMargins; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the text associated with this control. - /// - public virtual string Text - { - get { return text; } - set - { - text = value; - Invalidate(); - if (!Suspended) OnTextChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the alpha value for this control. - /// - public virtual byte Alpha - { - get - { - return alpha; - } - set - { - alpha = value; - if (!Suspended) OnAlphaChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the background color for the control. - /// - public virtual Color BackColor - { - get - { - return backColor; - } - set - { - backColor = value; - Invalidate(); - if (!Suspended) OnBackColorChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the color for the control. - /// - public virtual Color Color - { - get - { - return color; - } - set - { - if (value != color) - { - color = value; - Invalidate(); - if (!Suspended) OnColorChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the text color for the control. - /// - public virtual Color TextColor - { - get - { - return textColor; - } - set - { - if (value != textColor) - { - textColor = value; - Invalidate(); - if (!Suspended) OnTextColorChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating whether the control can respond to user interaction. - /// - public virtual bool Enabled - { - get - { - return enabled; - } - set - { - if (Root != null && Root != this && !Root.Enabled && value) return; - - enabled = value; - Invalidate(); - - foreach (Control c in controls) - { - c.Enabled = value; - } - - if (!Suspended) OnEnabledChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value that indicates whether the control is rendered. - /// - public virtual bool Visible - { - get - { - return (visible && (parent == null || parent.Visible)); - } - set - { - visible = value; - Invalidate(); - - if (!Suspended) OnVisibleChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the parent for the control. - /// - public virtual Control Parent - { - get - { - return parent; - } - set - { - if (parent != value) - { - if (value != null) value.Add(this); - else Manager.Add(this); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the root for the control. - /// - public virtual Control Root - { - get - { - return root; - } - private set - { - if (root != value) - { - root = value; - - foreach (Control c in controls) - { - c.Root = root; - } - - if (!Suspended) OnRootChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its parent. - /// - public virtual int Left - { - get - { - return left; - } - set - { - if (left != value) - { - int old = left; - left = value; - - SetAnchorMargins(); - - if (!Suspended) OnMove(new MoveEventArgs(left, top, old, top)); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its parent. - /// - public virtual int Top - { - get - { - return top; - } - set - { - if (top != value) - { - int old = top; - top = value; - - SetAnchorMargins(); - - if (!Suspended) OnMove(new MoveEventArgs(left, top, left, old)); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the width of the control. - /// - public virtual int Width - { - get - { - return width; - } - set - { - if (width != value) - { - int old = width; - width = value; - - if (skin != null) - { - if (width + skin.OriginMargins.Horizontal > MaximumWidth) width = MaximumWidth - skin.OriginMargins.Horizontal; - } - else - { - if (width > MaximumWidth) width = MaximumWidth; - } - if (width < MinimumWidth) width = MinimumWidth; - - if (width > 0) SetAnchorMargins(); - - if (!Suspended) OnResize(new ResizeEventArgs(width, height, old, height)); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the height of the control. - /// - public virtual int Height - { - get - { - return height; - } - set - { - if (height != value) - { - int old = height; - - height = value; - - if (skin != null) - { - if (height + skin.OriginMargins.Vertical > MaximumHeight) - height = MaximumHeight - skin.OriginMargins.Vertical; - } - else - { - if (height > MaximumHeight) height = MaximumHeight; - } - if (height < MinimumHeight) height = MinimumHeight; - - if (height > 0) SetAnchorMargins(); - - if (!Suspended) OnResize(new ResizeEventArgs(width, height, width, old)); - } - - } - - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the minimum width in pixels the control can be sized to. - /// - public virtual int MinimumWidth - { - get - { - return minimumWidth; - } - set - { - minimumWidth = value; - if (minimumWidth < 0) minimumWidth = 0; - if (minimumWidth > maximumWidth) minimumWidth = maximumWidth; - if (width < MinimumWidth) Width = MinimumWidth; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// /// Gets or sets the minimum height in pixels the control can be sized to. - /// - public virtual int MinimumHeight - { - get - { - return minimumHeight; - } - set - { - minimumHeight = value; - if (minimumHeight < 0) minimumHeight = 0; - if (minimumHeight > maximumHeight) minimumHeight = maximumHeight; - if (height < MinimumHeight) Height = MinimumHeight; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// /// Gets or sets the maximum width in pixels the control can be sized to. - /// - public virtual int MaximumWidth - { - get - { - int max = maximumWidth; - if (max > Manager.TargetWidth) max = Manager.TargetWidth; - return max; - } - set - { - maximumWidth = value; - if (maximumWidth < minimumWidth) maximumWidth = minimumWidth; - if (width > MaximumWidth) Width = MaximumWidth; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the maximum height in pixels the control can be sized to. - /// - public virtual int MaximumHeight - { - get - { - int max = maximumHeight; - if (max > Manager.TargetHeight) max = Manager.TargetHeight; - return max; - } - set - { - maximumHeight = value; - if (maximumHeight < minimumHeight) maximumHeight = minimumHeight; - if (height > MaximumHeight) Height = MaximumHeight; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int AbsoluteLeft - { - get - { - if (parent == null) return left + LeftModifier; - else if (parent.Skin == null) return parent.AbsoluteLeft + left + LeftModifier; - else return parent.AbsoluteLeft + left - parent.Skin.OriginMargins.Left + LeftModifier; - } - } - //////////////////////////////////////////////////////////////////////////// - public virtual int AbsoluteTop - { - get - { - if (parent == null) return top + TopModifier; - else if (parent.Skin == null) return parent.AbsoluteTop + top + TopModifier; - else return parent.AbsoluteTop + top - parent.Skin.OriginMargins.Top + TopModifier; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int OriginLeft - { - get - { - if (skin == null) return AbsoluteLeft; - return AbsoluteLeft - skin.OriginMargins.Left; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int OriginTop - { - get - { - if (skin == null) return AbsoluteTop; - return AbsoluteTop - skin.OriginMargins.Top; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int OriginWidth - { - get - { - if (skin == null) return width; - return width + skin.OriginMargins.Left + skin.OriginMargins.Right; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int OriginHeight - { - get - { - if (skin == null) return height; - return height + skin.OriginMargins.Top + skin.OriginMargins.Bottom; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Margins ClientMargins - { - get { return clientMargins; } - set - { - clientMargins = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int ClientLeft - { - get - { - //if (skin == null) return Left; - return ClientMargins.Left; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int ClientTop - { - get - { - //if (skin == null) return Top; - return ClientMargins.Top; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int ClientWidth - { - get - { - //if (skin == null) return Width; - return OriginWidth - ClientMargins.Left - ClientMargins.Right; - } - set - { - Width = value + ClientMargins.Horizontal - skin.OriginMargins.Horizontal; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int ClientHeight - { - get - { - //if (skin == null) return Height; - return OriginHeight - ClientMargins.Top - ClientMargins.Bottom; - } - set - { - Height = value + ClientMargins.Vertical - skin.OriginMargins.Vertical; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Rectangle AbsoluteRect - { - get - { - return new Rectangle(AbsoluteLeft, AbsoluteTop, OriginWidth, OriginHeight); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Rectangle OriginRect - { - get - { - return new Rectangle(OriginLeft, OriginTop, OriginWidth, OriginHeight); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Rectangle ClientRect - { - get - { - return new Rectangle(ClientLeft, ClientTop, ClientWidth, ClientHeight); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Rectangle ControlRect - { - get - { - return new Rectangle(Left, Top, Width, Height); - } - set - { - Left = value.Left; - Top = value.Top; - Width = value.Width; - Height = value.Height; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private Rectangle OutlineRect - { - get { return outlineRect; } - set - { - outlineRect = value; - if (value != Rectangle.Empty) - { - if (outlineRect.Width > MaximumWidth) outlineRect.Width = MaximumWidth; - if (outlineRect.Height > MaximumHeight) outlineRect.Height = MaximumHeight; - if (outlineRect.Width < MinimumWidth) outlineRect.Width = MinimumWidth; - if (outlineRect.Height < MinimumHeight) outlineRect.Height = MinimumHeight; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler Click; - public event EventHandler DoubleClick; - public event MouseEventHandler MouseDown; - public event MouseEventHandler MousePress; - public event MouseEventHandler MouseUp; - public event MouseEventHandler MouseMove; - public event MouseEventHandler MouseOver; - public event MouseEventHandler MouseOut; - /// - /// Occurs when the mouse scroll wheel position changes - /// - public event MouseEventHandler MouseScroll; - public event KeyEventHandler KeyDown; - public event KeyEventHandler KeyPress; - public event KeyEventHandler KeyUp; - public event GamePadEventHandler GamePadDown; - public event GamePadEventHandler GamePadUp; - public event GamePadEventHandler GamePadPress; - public event MoveEventHandler Move; - public event MoveEventHandler ValidateMove; - public event ResizeEventHandler Resize; - public event ResizeEventHandler ValidateResize; - public event DrawEventHandler Draw; - public event EventHandler MoveBegin; - public event EventHandler MoveEnd; - public event EventHandler ResizeBegin; - public event EventHandler ResizeEnd; - public event EventHandler ColorChanged; - public event EventHandler TextColorChanged; - public event EventHandler BackColorChanged; - public event EventHandler TextChanged; - public event EventHandler AnchorChanged; - public event EventHandler SkinChanging; - public event EventHandler SkinChanged; - public event EventHandler ParentChanged; - public event EventHandler RootChanged; - public event EventHandler VisibleChanged; - public event EventHandler EnabledChanged; - public event EventHandler AlphaChanged; - public event EventHandler FocusLost; - public event EventHandler FocusGained; - public event DrawEventHandler DrawTexture; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public Control(Manager manager): base(manager) - { - if (Manager == null) - { - throw new Exception("Control cannot be created. Manager instance is needed."); - } - else if (Manager.Skin == null) - { - throw new Exception("Control cannot be created. No skin loaded."); - } - - text = Utilities.DeriveControlName(this); - root = this; - - InitSkin(); - - CheckLayer(skin, "Control"); - - if (Skin != null) - { - SetDefaultSize(width, height); - SetMinimumSize(MinimumWidth, MinimumHeight); - ResizerSize = skin.ResizerSize; - } - - Stack.Add(this); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - if (parent != null) parent.Remove(this); - else if (Manager != null) Manager.Remove(this); - if (Manager.OrderList != null) Manager.OrderList.Remove(this); - - // Possibly we added the menu to another parent than this control, - // so we dispose it manually, beacause in logic it belongs to this control. - if (contextMenu != null) - { - contextMenu.Dispose(); - contextMenu = null; - } - - // Recursively disposing all controls. The collection might change from its children, - // so we check it on count greater than zero. - if (controls != null) - { - int c = controls.Count; - for (int i = 0; i < c; i++) - { - if (controls.Count > 0) - { - controls[0].Dispose(); - } - } - } - - // Disposes tooltip owned by Manager - if (toolTip != null && !Manager.Disposing) - { - toolTip.Dispose(); - toolTip = null; - } - - // Removing this control from the global stack. - Stack.Remove(this); - - if (target != null) - { - target.Dispose(); - target = null; - } - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - #region //// Private /////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetVirtualHeight() - { - if (this.Parent is Container && (this.Parent as Container).AutoScroll) - { - int maxy = 0; - - foreach (Control c in Controls) - { - if ((c.Anchor & Anchors.Bottom) != Anchors.Bottom && c.Visible) - { - if (c.Top + c.Height > maxy) maxy = c.Top + c.Height; - } - } - if (maxy < Height) maxy = Height; - - return maxy; - } - else - { - return Height; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetVirtualWidth() - { - if (this.Parent is Container && (this.Parent as Container).AutoScroll) - { - int maxx = 0; - - foreach (Control c in Controls) - { - if ((c.Anchor & Anchors.Right) != Anchors.Right && c.Visible) - { - if (c.Left + c.Width > maxx) maxx = c.Left + c.Width; - } - } - if (maxx < Width) maxx = Width; - - return maxx; - } - else - { - return Width; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private Rectangle GetClippingRect(Control c) - { - Rectangle r = Rectangle.Empty; - - r = new Rectangle(c.OriginLeft - root.AbsoluteLeft, - c.OriginTop - root.AbsoluteTop, - c.OriginWidth, - c.OriginHeight); - - int x1 = r.Left; - int x2 = r.Right; - int y1 = r.Top; - int y2 = r.Bottom; - - Control ctrl = c.Parent; - while (ctrl != null) - { - int cx1 = ctrl.OriginLeft - root.AbsoluteLeft; - int cy1 = ctrl.OriginTop - root.AbsoluteTop; - int cx2 = cx1 + ctrl.OriginWidth; - int cy2 = cy1 + ctrl.OriginHeight; - - if (x1 < cx1) x1 = cx1; - if (y1 < cy1) y1 = cy1; - if (x2 > cx2) x2 = cx2; - if (y2 > cy2) y2 = cy2; - - ctrl = ctrl.Parent; - } - - int fx2 = x2 - x1; - int fy2 = y2 - y1; - - if (x1 < 0) x1 = 0; - if (y1 < 0) y1 = 0; - if (fx2 < 0) fx2 = 0; - if (fy2 < 0) fy2 = 0; - if (x1 > root.Width) { x1 = root.Width; } - if (y1 > root.Height){ y1 = root.Height; } - if (fx2 > root.Width) fx2 = root.Width; - if (fy2 > root.Height) fy2 = root.Height; - - Rectangle ret = new Rectangle(x1, y1, fx2, fy2); - - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private RenderTarget2D CreateRenderTarget(int width, int height) - { - if (width > 0 && height > 0) - { - return new RenderTarget2D(Manager.GraphicsDevice, - width, - height, - false, - SurfaceFormat.Color, - DepthFormat.None, - Manager.GraphicsDevice.PresentationParameters.MultiSampleCount, - Manager._RenderTargetUsage); - - } - - return null; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal virtual void PrepareTexture(Renderer renderer, GameTime gameTime) - { - if (visible) - { - if (invalidated) - { - OnDrawTexture(new DrawEventArgs(renderer, new Rectangle(0, 0, OriginWidth, OriginHeight), gameTime)); - - if (target == null || target.Width < OriginWidth || target.Height < OriginHeight) - { - if (target != null) - { - target.Dispose(); - target = null; - } - - int w = OriginWidth + (Manager.TextureResizeIncrement - (OriginWidth % Manager.TextureResizeIncrement)); - int h = OriginHeight + (Manager.TextureResizeIncrement - (OriginHeight % Manager.TextureResizeIncrement)); - - if (h > Manager.TargetHeight) h = Manager.TargetHeight; - if (w > Manager.TargetWidth) w = Manager.TargetWidth; - - target = CreateRenderTarget(w, h); - } - - if (target != null) - { - Manager.GraphicsDevice.SetRenderTarget(target); - target.GraphicsDevice.Clear(backColor); - - Rectangle rect = new Rectangle(0, 0, OriginWidth, OriginHeight); - DrawControls(renderer, rect, gameTime, false); - - Manager.GraphicsDevice.SetRenderTarget(null); - } - invalidated = false; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckDetached(Control c) - { - Control parent = c.Parent; - while (parent != null) - { - if (parent.Detached) - { - return true; - } - parent = parent.Parent; - } - - return c.Detached; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawChildControls(Renderer renderer, GameTime gameTime, bool firstDetachedLevel) - { - if (controls != null) - { - foreach (Control c in controls) - { - // We skip detached controls for first level after root (they are rendered separately in Draw() method) - if (((c.Root == c.Parent && !c.Detached) || c.Root != c.Parent) && AbsoluteRect.Intersects(c.AbsoluteRect) && c.visible) - { - Manager.GraphicsDevice.ScissorRectangle = GetClippingRect(c); - - Rectangle rect = new Rectangle(c.OriginLeft - root.AbsoluteLeft, c.OriginTop - root.AbsoluteTop, c.OriginWidth, c.OriginHeight); - if (c.Root != c.Parent && ((!c.Detached && CheckDetached(c)) || firstDetachedLevel)) - { - rect = new Rectangle(c.OriginLeft, c.OriginTop, c.OriginWidth, c.OriginHeight); - Manager.GraphicsDevice.ScissorRectangle = rect; - } - - renderer.Begin(BlendingMode.Default); - c.DrawingRect = rect; - c.DrawControl(renderer, rect, gameTime); - - DrawEventArgs args = new DrawEventArgs(); - args.Rectangle = rect; - args.Renderer = renderer; - args.GameTime = gameTime; - c.OnDraw(args); - renderer.End(); - - c.DrawChildControls(renderer, gameTime, firstDetachedLevel); - - c.DrawOutline(renderer, true); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawControls(Renderer renderer, Rectangle rect, GameTime gameTime, bool firstDetach) - { - renderer.Begin(BlendingMode.Default); - - DrawingRect = rect; - DrawControl(renderer, rect, gameTime); - - DrawEventArgs args = new DrawEventArgs(); - args.Rectangle = rect; - args.Renderer = renderer; - args.GameTime = gameTime; - OnDraw(args); - - renderer.End(); - - DrawChildControls(renderer, gameTime, firstDetach); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawDetached(Control control, Renderer renderer, GameTime gameTime) - { - if (control.Controls != null) - { - foreach (Control c in control.Controls) - { - if (c.Detached && c.Visible) - { - c.DrawControls(renderer, new Rectangle(c.OriginLeft, c.OriginTop, c.OriginWidth, c.OriginHeight), gameTime, true); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal virtual void Render(Renderer renderer, GameTime gameTime) - { - if (visible && target != null) - { - bool draw = true; - - if (draw) - { - renderer.Begin(BlendingMode.Default); - renderer.Draw(target, OriginLeft, OriginTop, new Rectangle(0, 0, OriginWidth, OriginHeight), Color.FromNonPremultiplied(255, 255, 255, Alpha)); - renderer.End(); - - DrawDetached(this, renderer, gameTime); - - DrawOutline(renderer, false); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawOutline(Renderer renderer, bool child) - { - if (!OutlineRect.IsEmpty) - { - Rectangle r = OutlineRect; - if (child) - { - r = new Rectangle(OutlineRect.Left + (parent.AbsoluteLeft - root.AbsoluteLeft), OutlineRect.Top + (parent.AbsoluteTop - root.AbsoluteTop), OutlineRect.Width, OutlineRect.Height); - } - - Texture2D t = Manager.Skin.Controls["Control.Outline"].Layers[0].Image.Resource; - - int s = resizerSize; - Rectangle r1 = new Rectangle(r.Left + leftModifier, r.Top + topModifier, r.Width, s); - Rectangle r2 = new Rectangle(r.Left + leftModifier, r.Top + s + topModifier, resizerSize, r.Height - (2 * s)); - Rectangle r3 = new Rectangle(r.Right - s + leftModifier, r.Top + s + topModifier, s, r.Height - (2 * s)); - Rectangle r4 = new Rectangle(r.Left + leftModifier, r.Bottom - s + topModifier, r.Width, s); - - Color c = Manager.Skin.Controls["Control.Outline"].Layers[0].States.Enabled.Color; - - renderer.Begin(BlendingMode.Default); - if ((ResizeEdge & Anchors.Top) == Anchors.Top || !partialOutline) renderer.Draw(t, r1, c); - if ((ResizeEdge & Anchors.Left) == Anchors.Left || !partialOutline) renderer.Draw(t, r2, c); - if ((ResizeEdge & Anchors.Right) == Anchors.Right || !partialOutline) renderer.Draw(t, r3, c); - if ((ResizeEdge & Anchors.Bottom) == Anchors.Bottom || !partialOutline) renderer.Draw(t, r4, c); - renderer.End(); - } - else if (DesignMode && Focused) - { - Rectangle r = ControlRect; - if (child) - { - r = new Rectangle(r.Left + (parent.AbsoluteLeft - root.AbsoluteLeft), r.Top + (parent.AbsoluteTop - root.AbsoluteTop), r.Width, r.Height); - } - - Texture2D t = Manager.Skin.Controls["Control.Outline"].Layers[0].Image.Resource; - - int s = resizerSize; - Rectangle r1 = new Rectangle(r.Left + leftModifier, r.Top + topModifier, r.Width, s); - Rectangle r2 = new Rectangle(r.Left + leftModifier, r.Top + s + topModifier, resizerSize, r.Height - (2 * s)); - Rectangle r3 = new Rectangle(r.Right - s + leftModifier, r.Top + s + topModifier, s, r.Height - (2 * s)); - Rectangle r4 = new Rectangle(r.Left + leftModifier, r.Bottom - s + topModifier, r.Width, s); - - Color c = Manager.Skin.Controls["Control.Outline"].Layers[0].States.Enabled.Color; - - renderer.Begin(BlendingMode.Default); - renderer.Draw(t, r1, c); - renderer.Draw(t, r2, c); - renderer.Draw(t, r3, c); - renderer.Draw(t, r4, c); - renderer.End(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SetPosition(int left, int top) - { - this.left = left; - this.top = top; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SetSize(int width, int height) - { - this.width = width; - this.height = height; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal void SetAnchorMargins() - { - if (Parent != null) - { - anchorMargins.Left = Left; - anchorMargins.Top = Top; - anchorMargins.Right = Parent.VirtualWidth - Width - Left; - anchorMargins.Bottom = Parent.VirtualHeight - Height - Top; - } - else - { - anchorMargins = new Margins(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ProcessAnchor(ResizeEventArgs e) - { - if (((Anchor & Anchors.Right) == Anchors.Right) && ((Anchor & Anchors.Left) != Anchors.Left)) - { - Left = Parent.VirtualWidth - Width - anchorMargins.Right; - } - else if (((Anchor & Anchors.Right) == Anchors.Right) && ((Anchor & Anchors.Left) == Anchors.Left)) - { - Width = Parent.VirtualWidth - Left - anchorMargins.Right; - } - else if (((Anchor & Anchors.Right) != Anchors.Right) && ((Anchor & Anchors.Left) != Anchors.Left)) - { - int diff = (e.Width - e.OldWidth); - if (e.Width % 2 != 0 && diff != 0) - { - diff += (diff / Math.Abs(diff)); - } - Left += (diff / 2); - } - if (((Anchor & Anchors.Bottom) == Anchors.Bottom) && ((Anchor & Anchors.Top) != Anchors.Top)) - { - Top = Parent.VirtualHeight - Height - anchorMargins.Bottom; - } - else if (((Anchor & Anchors.Bottom) == Anchors.Bottom) && ((Anchor & Anchors.Top) == Anchors.Top)) - { - Height = Parent.VirtualHeight - Top - anchorMargins.Bottom; - } - else if (((Anchor & Anchors.Bottom) != Anchors.Bottom) && ((Anchor & Anchors.Top) != Anchors.Top)) - { - int diff = (e.Height - e.OldHeight); - if (e.Height % 2 != 0 && diff != 0) - { - diff += (diff / Math.Abs(diff)); - } - Top += (diff / 2); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Protected ///////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - OnMove(new MoveEventArgs()); - OnResize(new ResizeEventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal virtual void InitSkin() - { - if (Manager != null && Manager.Skin != null && Manager.Skin.Controls != null) - { - SkinControl s = Manager.Skin.Controls[Utilities.DeriveControlName(this)]; - if (s != null) Skin = new SkinControl(s); - else Skin = new SkinControl(Manager.Skin.Controls["Control"]); - } - else - { - throw new Exception("Control skin cannot be initialized. No skin loaded."); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void SetDefaultSize(int width, int height) - { - if (skin.DefaultSize.Width > 0) Width = skin.DefaultSize.Width; - else Width = width; - if (skin.DefaultSize.Height > 0) Height = skin.DefaultSize.Height; - else Height = height; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void SetMinimumSize(int minimumWidth, int minimumHeight) - { - if (skin.MinimumSize.Width > 0) MinimumWidth = skin.MinimumSize.Width; - else MinimumWidth = minimumWidth; - if (skin.MinimumSize.Height > 0) MinimumHeight = skin.MinimumSize.Height; - else MinimumHeight = minimumHeight; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal void OnDeviceSettingsChanged(DeviceEventArgs e) - { - if (!e.Handled) - { - Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - if (backColor != UndefinedColor && backColor != Color.Transparent) - { - renderer.Draw(Manager.Skin.Images["Control"].Resource, rect, backColor); - } - renderer.DrawLayer(this, skin.Layers[0], rect); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - - ToolTipUpdate(); - - if (controls != null) - { - ControlsList list = new ControlsList(); - list.AddRange(controls); - foreach (Control c in list) - { - c.Update(gameTime); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal virtual void CheckLayer(SkinControl skin, string layer) - { - if (!(skin != null && skin.Layers != null && skin.Layers.Count > 0 && skin.Layers[layer] != null)) - { - throw new Exception("Unable to read skin layer \"" + layer + "\" for control \"" + Utilities.DeriveControlName(this) + "\"."); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal virtual void CheckLayer(SkinControl skin, int layer) - { - if (!(skin != null && skin.Layers != null && skin.Layers.Count > 0 && skin.Layers[layer] != null)) - { - throw new Exception("Unable to read skin layer with index \"" + layer.ToString() + "\" for control \"" + Utilities.DeriveControlName(this) + "\"."); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Public //////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Control GetControl(string name) - { - Control ret = null; - foreach (Control c in Controls) - { - if (c.Name.ToLower() == name.ToLower()) - { - ret = c; - break; - } - else - { - ret = c.GetControl(name); - if (ret != null) break; - } - } - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Add(Control control) - { - if (control != null) - { - if (!controls.Contains(control)) - { - if (control.Parent != null) control.Parent.Remove(control); - else Manager.Remove(control); - - control.Manager = Manager; - control.parent = this; - control.Root = root; - control.Enabled = (Enabled ? control.Enabled : Enabled); - controls.Add(control); - - virtualHeight = GetVirtualHeight(); - virtualWidth = GetVirtualWidth(); - - Manager.DeviceSettingsChanged += new DeviceEventHandler(control.OnDeviceSettingsChanged); - Manager.SkinChanging += new SkinEventHandler(control.OnSkinChanging); - Manager.SkinChanged += new SkinEventHandler(control.OnSkinChanged); - Resize += new ResizeEventHandler(control.OnParentResize); - - control.SetAnchorMargins(); - - if (!Suspended) OnParentChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Remove(Control control) - { - if (control != null) - { - if (control.Focused && control.Root != null) control.Root.Focused = true; - else if (control.Focused) control.Focused = false; - - controls.Remove(control); - - control.parent = null; - control.Root = control; - - Resize -= control.OnParentResize; - Manager.DeviceSettingsChanged -= control.OnDeviceSettingsChanged; - Manager.SkinChanging -= control.OnSkinChanging; - Manager.SkinChanged -= control.OnSkinChanged; - - if (!Suspended) OnParentChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool Contains(Control control, bool recursively) - { - if (Controls != null) - { - foreach (Control c in Controls) - { - if (c == control) return true; - if (recursively && c.Contains(control, true)) return true; - } - } - return false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Invalidate() - { - invalidated = true; - - if (parent != null) - { - parent.Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void BringToFront() - { - if (Manager != null) Manager.BringToFront(this); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SendToBack() - { - if (Manager != null) Manager.SendToBack(this); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Show() - { - Visible = true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Hide() - { - Visible = false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Refresh() - { - OnMove(new MoveEventArgs(left, top, left, top)); - OnResize(new ResizeEventArgs(width, height, width, height)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SendMessage(Message message, EventArgs e) - { - MessageProcess(message, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void MessageProcess(Message message, EventArgs e) - { - switch (message) - { - case Message.Click: - { - ClickProcess(e as MouseEventArgs); - break; - } - case Message.MouseDown: - { - MouseDownProcess(e as MouseEventArgs); - break; - } - case Message.MouseUp: - { - MouseUpProcess(e as MouseEventArgs); - break; - } - case Message.MousePress: - { - MousePressProcess(e as MouseEventArgs); - break; - } - case Message.MouseScroll: - { - MouseScrollProcess(e as MouseEventArgs); - break; - } - case Message.MouseMove: - { - MouseMoveProcess(e as MouseEventArgs); - break; - } - case Message.MouseOver: - { - MouseOverProcess(e as MouseEventArgs); - break; - } - case Message.MouseOut: - { - MouseOutProcess(e as MouseEventArgs); - break; - } - case Message.GamePadDown: - { - GamePadDownProcess(e as GamePadEventArgs); - break; - } - case Message.GamePadUp: - { - GamePadUpProcess(e as GamePadEventArgs); - break; - } - case Message.GamePadPress: - { - GamePadPressProcess(e as GamePadEventArgs); - break; - } - case Message.KeyDown: - { - KeyDownProcess(e as KeyEventArgs); - break; - } - case Message.KeyUp: - { - KeyUpProcess(e as KeyEventArgs); - break; - } - case Message.KeyPress: - { - KeyPressProcess(e as KeyEventArgs); - break; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// GamePad /////////// - - //////////////////////////////////////////////////////////////////////////// - private void GamePadPressProcess(GamePadEventArgs e) - { - Invalidate(); - if (!Suspended) OnGamePadPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void GamePadUpProcess(GamePadEventArgs e) - { - Invalidate(); - - if (e.Button == GamePadActions.Press && pressed[(int)e.Button]) - { - pressed[(int)e.Button] = false; - } - - if (!Suspended) OnGamePadUp(e); - - if (e.Button == GamePadActions.ContextMenu && !e.Handled) - { - if (contextMenu != null) - { - contextMenu.Show(this, AbsoluteLeft + 8, AbsoluteTop + 8); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void GamePadDownProcess(GamePadEventArgs e) - { - Invalidate(); - - ToolTipOut(); - - if (e.Button == GamePadActions.Press && !IsPressed) - { - pressed[(int)e.Button] = true; - } - - if (!Suspended) OnGamePadDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Keyboard ////////// - - //////////////////////////////////////////////////////////////////////////// - private void KeyPressProcess(KeyEventArgs e) - { - Invalidate(); - if (!Suspended) OnKeyPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - private void KeyDownProcess(KeyEventArgs e) - { - Invalidate(); - - ToolTipOut(); - - if (e.Key == Microsoft.Xna.Framework.Input.Keys.Space && !IsPressed) - { - pressed[(int)MouseButton.None] = true; - } - - if (!Suspended) OnKeyDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void KeyUpProcess(KeyEventArgs e) - { - Invalidate(); - - if (e.Key == Microsoft.Xna.Framework.Input.Keys.Space && pressed[(int)MouseButton.None]) - { - pressed[(int)MouseButton.None] = false; - } - - if (!Suspended) OnKeyUp(e); - - if (e.Key == Microsoft.Xna.Framework.Input.Keys.Apps && !e.Handled) - { - if (contextMenu != null) - { - contextMenu.Show(this, AbsoluteLeft + 8, AbsoluteTop + 8); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Mouse ///////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseDownProcess(MouseEventArgs e) - { - Invalidate(); - pressed[(int)e.Button] = true; - - if (e.Button == MouseButton.Left) - { - pressSpot = new Point(TransformPosition(e).Position.X, TransformPosition(e).Position.Y); - - if (CheckResizableArea(e.Position)) - { - pressDiff[0] = pressSpot.X; - pressDiff[1] = pressSpot.Y; - pressDiff[2] = Width - pressSpot.X; - pressDiff[3] = Height - pressSpot.Y; - - IsResizing = true; - if (outlineResizing) OutlineRect = ControlRect; - if (!Suspended) OnResizeBegin(e); - } - else if (CheckMovableArea(e.Position)) - { - IsMoving = true; - if (outlineMoving) OutlineRect = ControlRect; - if (!Suspended) OnMoveBegin(e); - } - } - - ToolTipOut(); - - if (!Suspended) OnMouseDown(TransformPosition(e)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseUpProcess(MouseEventArgs e) - { - Invalidate(); - if (pressed[(int)e.Button] || isMoving || isResizing) - { - pressed[(int)e.Button] = false; - - if (e.Button == MouseButton.Left) - { - if (IsResizing) - { - IsResizing = false; - if (outlineResizing) - { - Left = OutlineRect.Left; - Top = OutlineRect.Top; - Width = OutlineRect.Width; - Height = OutlineRect.Height; - OutlineRect = Rectangle.Empty; - } - if (!Suspended) OnResizeEnd(e); - } - else if (IsMoving) - { - IsMoving = false; - if (outlineMoving) - { - Left = OutlineRect.Left; - Top = OutlineRect.Top; - OutlineRect = Rectangle.Empty; - } - if (!Suspended) OnMoveEnd(e); - } - } - if (!Suspended) OnMouseUp(TransformPosition(e)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void MousePressProcess(MouseEventArgs e) - { - if (pressed[(int)e.Button] && !IsMoving && !IsResizing) - { - if (!Suspended) OnMousePress(TransformPosition(e)); - } - } - //////////////////////////////////////////////////////////////////////////// - - void MouseScrollProcess(MouseEventArgs e) - { - if (!IsMoving && !IsResizing && !Suspended) - { - OnMouseScroll(e); - } - } - - //////////////////////////////////////////////////////////////////////////// - private void MouseOverProcess(MouseEventArgs e) - { - Invalidate(); - hovered = true; - ToolTipOver(); - - #if (!XBOX && !XBOX_FAKE) - if (cursor != null && Manager.Cursor != cursor) Manager.Cursor = cursor; - #endif - - if (!Suspended) OnMouseOver(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseOutProcess(MouseEventArgs e) - { - Invalidate(); - hovered = false; - ToolTipOut(); - - #if (!XBOX && !XBOX_FAKE) - Manager.Cursor = Manager.Skin.Cursors["Default"].Resource; - #endif - - if (!Suspended) OnMouseOut(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseMoveProcess(MouseEventArgs e) - { - if (CheckPosition(e.Position) && !inside) - { - inside = true; - Invalidate(); - } - else if (!CheckPosition(e.Position) && inside) - { - inside = false; - Invalidate(); - } - - PerformResize(e); - - if (!IsResizing && IsMoving) - { - int x = (parent != null) ? parent.AbsoluteLeft : 0; - int y = (parent != null) ? parent.AbsoluteTop : 0; - - int l = e.Position.X - x - pressSpot.X - leftModifier; - int t = e.Position.Y - y - pressSpot.Y - topModifier; - - if (!Suspended) - { - MoveEventArgs v = new MoveEventArgs(l, t, Left, Top); - OnValidateMove(v); - - l = v.Left; - t = v.Top; - } - - if (outlineMoving) - { - OutlineRect = new Rectangle(l, t, OutlineRect.Width, OutlineRect.Height); - if (parent != null) parent.Invalidate(); - } - else - { - Left = l; - Top = t; - } - } - - if (!Suspended) - { - OnMouseMove(TransformPosition(e)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ClickProcess(EventArgs e) - { - long timer = (long)TimeSpan.FromTicks(DateTime.Now.Ticks).TotalMilliseconds; - - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if ((doubleClickTimer == 0 || (timer - doubleClickTimer > Manager.DoubleClickTime)) || - !doubleClicks) - { - TimeSpan ts = new TimeSpan(DateTime.Now.Ticks); - doubleClickTimer = (long)ts.TotalMilliseconds; - doubleClickButton = ex.Button; - - if (!Suspended) OnClick(e); - - - } - else if (timer - doubleClickTimer <= Manager.DoubleClickTime && (ex.Button == doubleClickButton && ex.Button != MouseButton.None)) - { - doubleClickTimer = 0; - if (!Suspended) OnDoubleClick(e); - } - else - { - doubleClickButton = MouseButton.None; - } - - if (ex.Button == MouseButton.Right && contextMenu != null && !e.Handled) - { - contextMenu.Show(this, ex.Position.X, ex.Position.Y); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ToolTipUpdate() - { - if (Manager.ToolTipsEnabled && toolTip != null && tooltipTimer > 0 && (TimeSpan.FromTicks(DateTime.Now.Ticks).TotalMilliseconds - tooltipTimer) >= Manager.ToolTipDelay) - { - tooltipTimer = 0; - toolTip.Visible = true; - Manager.Add(toolTip); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ToolTipOver() - { - if (Manager.ToolTipsEnabled && toolTip != null && tooltipTimer == 0) - { - TimeSpan ts = new TimeSpan(DateTime.Now.Ticks); - tooltipTimer = (long)ts.TotalMilliseconds; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ToolTipOut() - { - if (Manager.ToolTipsEnabled && toolTip != null) - { - tooltipTimer = 0; - toolTip.Visible = false; - Manager.Remove(toolTip); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckPosition(Point pos) - { - if ((pos.X >= AbsoluteLeft) && (pos.X < AbsoluteLeft + Width )) - { - if ((pos.Y >= AbsoluteTop) && (pos.Y < AbsoluteTop + Height)) - { - return true; - } - } - return false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckMovableArea(Point pos) - { - if (movable) - { - Rectangle rect = movableArea; - - if (rect == Rectangle.Empty) - { - rect = new Rectangle(0, 0, width, height); - } - - pos.X -= AbsoluteLeft; - pos.Y -= AbsoluteTop; - - if ((pos.X >= rect.X) && (pos.X < rect.X + rect.Width)) - { - if ((pos.Y >= rect.Y) && (pos.Y < rect.Y + rect.Height)) - { - return true; - } - } - } - return false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckResizableArea(Point pos) - { - if (resizable) - { - pos.X -= AbsoluteLeft; - pos.Y -= AbsoluteTop; - - if ((pos.X >= 0 && pos.X < resizerSize && pos.Y >= 0 && pos.Y < Height) || - (pos.X >= Width - resizerSize && pos.X < Width && pos.Y >=0 && pos.Y < Height) || - (pos.Y >= 0 && pos.Y < resizerSize && pos.X >=0 && pos.X < Width) || - (pos.Y >= Height - resizerSize && pos.Y < Height && pos.X >=0 && pos.X < Width)) - { - return true; - } - } - return false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected MouseEventArgs TransformPosition(MouseEventArgs e) - { - MouseEventArgs ee = new MouseEventArgs(e.State, e.Button, e.Position); - ee.Difference = e.Difference; - - ee.Position.X = ee.State.X - AbsoluteLeft; - ee.Position.Y = ee.State.Y - AbsoluteTop; - return ee; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int CheckWidth(ref int w) - { - int diff = 0; - - if (w > MaximumWidth) - { - diff = MaximumWidth - w; - w = MaximumWidth; - } - if (w < MinimumWidth) - { - diff = MinimumWidth - w; - w = MinimumWidth; - } - - return diff; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int CheckHeight(ref int h) - { - int diff = 0; - - if (h > MaximumHeight) - { - diff = MaximumHeight - h; - h = MaximumHeight; - } - if (h < MinimumHeight) - { - diff = MinimumHeight - h; - h = MinimumHeight; - } - - return diff; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void PerformResize(MouseEventArgs e) - { - if (resizable && !IsMoving) - { - if (!IsResizing) - { - #if (!XBOX && !XBOX_FAKE) - GetResizePosition(e); - Manager.Cursor = Cursor = GetResizeCursor(); - #endif - } - - if (IsResizing) - { - invalidated = true; - - bool top = false; - bool bottom = false; - bool left = false; - bool right = false; - - if ((resizeArea == Alignment.TopCenter || - resizeArea == Alignment.TopLeft || - resizeArea == Alignment.TopRight) && (resizeEdge & Anchors.Top) == Anchors.Top) top = true; - - else if ((resizeArea == Alignment.BottomCenter || - resizeArea == Alignment.BottomLeft || - resizeArea == Alignment.BottomRight) && (resizeEdge & Anchors.Bottom) == Anchors.Bottom) bottom = true; - - if ((resizeArea == Alignment.MiddleLeft || - resizeArea == Alignment.BottomLeft || - resizeArea == Alignment.TopLeft) && (resizeEdge & Anchors.Left) == Anchors.Left) left = true; - - else if ((resizeArea == Alignment.MiddleRight || - resizeArea == Alignment.BottomRight || - resizeArea == Alignment.TopRight) && (resizeEdge & Anchors.Right) == Anchors.Right) right = true; - - int w = Width; - int h = Height; - int l = Left; - int t = Top; - - if (outlineResizing && !OutlineRect.IsEmpty) - { - l = OutlineRect.Left; - t = OutlineRect.Top; - w = OutlineRect.Width; - h = OutlineRect.Height; - } - - int px = e.Position.X - (parent != null ? parent.AbsoluteLeft : 0); - int py = e.Position.Y - (parent != null ? parent.AbsoluteTop : 0); - - if (left) - { - w = w + (l - px) + leftModifier + pressDiff[0]; - l = px - leftModifier - pressDiff[0] - CheckWidth(ref w); - - } - else if (right) - { - w = px - l - leftModifier + pressDiff[2]; - CheckWidth(ref w); - } - - if (top) - { - h = h + (t - py) + topModifier + pressDiff[1]; - t = py - topModifier - pressDiff[1] - CheckHeight(ref h); - } - else if (bottom) - { - h = py - t - topModifier + pressDiff[3]; - CheckHeight(ref h); - } - - if (!Suspended) - { - ResizeEventArgs v = new ResizeEventArgs(w, h, Width, Height); - OnValidateResize(v); - - if (top) - { - // Compensate for a possible height change from Validate event - t += (h - v.Height); - } - if (left) - { - // Compensate for a possible width change from Validate event - l += (w - v.Width); - } - w = v.Width; - h = v.Height; - } - - if (outlineResizing) - { - OutlineRect = new Rectangle(l, t, w, h); - if (parent != null) parent.Invalidate(); - } - else - { - Width = w; - Height = h; - Top = t; - Left = l; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - #if (!XBOX && !XBOX_FAKE) - private Cursor GetResizeCursor() - { - Cursor cur = Cursor; - switch (resizeArea) - { - case Alignment.TopCenter: - { - return ((resizeEdge & Anchors.Top) == Anchors.Top) ? Manager.Skin.Cursors["Vertical"].Resource : Cursor; - } - case Alignment.BottomCenter: - { - return ((resizeEdge & Anchors.Bottom) == Anchors.Bottom) ? Manager.Skin.Cursors["Vertical"].Resource : Cursor; - } - case Alignment.MiddleLeft: - { - return ((resizeEdge & Anchors.Left) == Anchors.Left) ? Manager.Skin.Cursors["Horizontal"].Resource : Cursor; - } - case Alignment.MiddleRight: - { - return ((resizeEdge & Anchors.Right) == Anchors.Right) ? Manager.Skin.Cursors["Horizontal"].Resource : Cursor; - } - case Alignment.TopLeft: - { - return ((resizeEdge & Anchors.Left) == Anchors.Left && (resizeEdge & Anchors.Top) == Anchors.Top) ? Manager.Skin.Cursors["DiagonalLeft"].Resource : Cursor; - } - case Alignment.BottomRight: - { - return ((resizeEdge & Anchors.Bottom) == Anchors.Bottom && (resizeEdge & Anchors.Right) == Anchors.Right) ? Manager.Skin.Cursors["DiagonalLeft"].Resource : Cursor; - } - case Alignment.TopRight: - { - return ((resizeEdge & Anchors.Top) == Anchors.Top && (resizeEdge & Anchors.Right) == Anchors.Right) ? Manager.Skin.Cursors["DiagonalRight"].Resource : Cursor; - } - case Alignment.BottomLeft: - { - return ((resizeEdge & Anchors.Bottom) == Anchors.Bottom && (resizeEdge & Anchors.Left) == Anchors.Left) ? Manager.Skin.Cursors["DiagonalRight"].Resource : Cursor; - } - } - return Manager.Skin.Cursors["Default"].Resource; - } - #endif - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void GetResizePosition(MouseEventArgs e) - { - int x = e.Position.X - AbsoluteLeft; - int y = e.Position.Y - AbsoluteTop; - bool l = false, t = false, r = false, b = false; - - resizeArea = Alignment.None; - - if (CheckResizableArea(e.Position)) - { - if (x < resizerSize) l = true; - if (x >= Width - resizerSize) r = true; - if (y < resizerSize) t = true; - if (y >= Height - resizerSize) b = true; - - if (l && t) resizeArea = Alignment.TopLeft; - else if (l && b) resizeArea = Alignment.BottomLeft; - else if (r && t) resizeArea = Alignment.TopRight; - else if (r && b) resizeArea = Alignment.BottomRight; - else if (l) resizeArea = Alignment.MiddleLeft; - else if (t) resizeArea = Alignment.TopCenter; - else if (r) resizeArea = Alignment.MiddleRight; - else if (b) resizeArea = Alignment.BottomCenter; - } - else - { - resizeArea = Alignment.None; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Handlers ////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMouseUp(MouseEventArgs e) - { - if (MouseUp != null) MouseUp.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMouseDown(MouseEventArgs e) - { - if (MouseDown != null) MouseDown.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMouseMove(MouseEventArgs e) - { - if (MouseMove != null) MouseMove.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMouseOver(MouseEventArgs e) - { - if (MouseOver != null) MouseOver.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMouseOut(MouseEventArgs e) - { - if (MouseOut != null) MouseOut.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnClick(EventArgs e) - { - if (Click != null) Click.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnDoubleClick(EventArgs e) - { - if (DoubleClick != null) DoubleClick.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMove(MoveEventArgs e) - { - if (parent != null) parent.Invalidate(); - if (Move != null) Move.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnResize(ResizeEventArgs e) - { - Invalidate(); - if (Resize != null) Resize.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnValidateResize(ResizeEventArgs e) - { - if (ValidateResize != null) ValidateResize.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnValidateMove(MoveEventArgs e) - { - if (ValidateMove != null) ValidateMove.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMoveBegin(EventArgs e) - { - if (MoveBegin != null) MoveBegin.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMoveEnd(EventArgs e) - { - if (MoveEnd != null) MoveEnd.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnResizeBegin(EventArgs e) - { - if (ResizeBegin != null) ResizeBegin.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnResizeEnd(EventArgs e) - { - if (ResizeEnd != null) ResizeEnd.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnParentResize(object sender, ResizeEventArgs e) - { - ProcessAnchor(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnKeyUp(KeyEventArgs e) - { - if (KeyUp != null) KeyUp.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnKeyDown(KeyEventArgs e) - { - if (KeyDown != null) KeyDown.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnKeyPress(KeyEventArgs e) - { - if (KeyPress != null) KeyPress.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnGamePadUp(GamePadEventArgs e) - { - if (GamePadUp != null) GamePadUp.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnGamePadDown(GamePadEventArgs e) - { - if (GamePadDown != null) GamePadDown.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnGamePadPress(GamePadEventArgs e) - { - if (GamePadPress != null) GamePadPress.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal void OnDraw(DrawEventArgs e) - { - if (Draw != null) Draw.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected void OnDrawTexture(DrawEventArgs e) - { - if (DrawTexture != null) DrawTexture.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnColorChanged(EventArgs e) - { - if (ColorChanged != null) ColorChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnTextColorChanged(EventArgs e) - { - if (TextColorChanged != null) TextColorChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnBackColorChanged(EventArgs e) - { - if (BackColorChanged != null) BackColorChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnTextChanged(EventArgs e) - { - if (TextChanged != null) TextChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnAnchorChanged(EventArgs e) - { - if (AnchorChanged != null) AnchorChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal virtual void OnSkinChanged(EventArgs e) - { - if (SkinChanged != null) SkinChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal virtual void OnSkinChanging(EventArgs e) - { - if (SkinChanging != null) SkinChanging.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnParentChanged(EventArgs e) - { - if (ParentChanged != null) ParentChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnRootChanged(EventArgs e) - { - if (RootChanged != null) RootChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnVisibleChanged(EventArgs e) - { - if (VisibleChanged != null) VisibleChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnEnabledChanged(EventArgs e) - { - if (EnabledChanged != null) EnabledChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnAlphaChanged(EventArgs e) - { - if (AlphaChanged != null) AlphaChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnFocusLost(EventArgs e) - { - if (FocusLost != null) FocusLost.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnFocusGained(EventArgs e) - { - if (FocusGained != null) FocusGained.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnMousePress(MouseEventArgs e) - { - if (MousePress != null) MousePress.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - protected virtual void OnMouseScroll(MouseEventArgs e) - { - if (MouseScroll != null) MouseScroll.Invoke(this, e); - } - - #endregion - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} \ No newline at end of file diff --git a/Neoforce/Cursor.cs b/Neoforce/Cursor.cs deleted file mode 100644 index 8448744..0000000 --- a/Neoforce/Cursor.cs +++ /dev/null @@ -1,56 +0,0 @@ -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace TomShane.Neoforce.Controls -{ - /// - /// Provides a basic Software cursor - /// - public class Cursor - { - private Texture2D cursorTexture; - - public Texture2D CursorTexture - { - get { return cursorTexture;} - set { cursorTexture = value; } - } - - internal string cursorPath; - - private Vector2 hotspot; - private int width; - private int height; - - public int Height - { - get { return height; } - set { height = value; } - } - - public int Width - { - get { return width; } - set { width = value; } - } - - public Vector2 HotSpot - { - get { return hotspot; } - set { hotspot = value; } - } - - public Cursor(string path, Vector2 hotspot, int width, int height) - { - this.cursorPath = path; - this.hotspot = hotspot; - this.width = width; - this.height = height; - } - } -} diff --git a/Neoforce/Delegates.cs b/Neoforce/Delegates.cs deleted file mode 100644 index 8f07ca2..0000000 --- a/Neoforce/Delegates.cs +++ /dev/null @@ -1,53 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Delegates.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Delegates ///////// - - //////////////////////////////////////////////////////////////////////////// - public delegate void DeviceEventHandler(DeviceEventArgs e); - public delegate void SkinEventHandler(EventArgs e); - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public delegate void EventHandler(object sender, EventArgs e); - public delegate void MouseEventHandler(object sender, MouseEventArgs e); - public delegate void KeyEventHandler(object sender, KeyEventArgs e); - public delegate void GamePadEventHandler(object sender, GamePadEventArgs e); - public delegate void DrawEventHandler(object sender, DrawEventArgs e); - public delegate void MoveEventHandler(object sender, MoveEventArgs e); - public delegate void ResizeEventHandler(object sender, ResizeEventArgs e); - public delegate void WindowClosingEventHandler(object sender, WindowClosingEventArgs e); - public delegate void WindowClosedEventHandler(object sender, WindowClosedEventArgs e); - public delegate void ConsoleMessageEventHandler(object sender, ConsoleMessageEventArgs e); - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/Neoforce/Dialog.cs b/Neoforce/Dialog.cs deleted file mode 100644 index 0de13ae..0000000 --- a/Neoforce/Dialog.cs +++ /dev/null @@ -1,148 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Central // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Dialog.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class Dialog: Window - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Panel pnlTop = null; - private Label lblCapt = null; - private Label lblDesc = null; - private Panel pnlBottom = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public Panel TopPanel { get { return pnlTop; } } - public Panel BottomPanel { get { return pnlBottom; } } - public Label Caption { get { return lblCapt; } } - public Label Description { get { return lblDesc; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Dialog(Manager manager): base(manager) - { - pnlTop = new Panel(manager); - pnlTop.Anchor = Anchors.Left | Anchors.Top | Anchors.Right; - pnlTop.Init(); - pnlTop.Parent = this; - pnlTop.Width = ClientWidth; - pnlTop.Height = 64; - pnlTop.BevelBorder = BevelBorder.Bottom; - - lblCapt = new Label(manager); - lblCapt.Init(); - lblCapt.Parent = pnlTop; - lblCapt.Width = lblCapt.Parent.ClientWidth - 16; - lblCapt.Text = "Caption"; - lblCapt.Left = 8; - lblCapt.Top = 8; - lblCapt.Alignment = Alignment.TopLeft; - lblCapt.Anchor = Anchors.Left | Anchors.Top | Anchors.Right; - - lblDesc = new Label(manager); - lblDesc.Init(); - lblDesc.Parent = pnlTop; - lblDesc.Width = lblDesc.Parent.ClientWidth - 16; - lblDesc.Left = 8; - lblDesc.Text = "Description text."; - lblDesc.Alignment = Alignment.TopLeft; - lblDesc.Anchor = Anchors.Left | Anchors.Top | Anchors.Right; - - pnlBottom = new Panel(manager); - pnlBottom.Init(); - pnlBottom.Parent = this; - pnlBottom.Width = ClientWidth; - pnlBottom.Height = 24 + 16; - pnlBottom.Top = ClientHeight - pnlBottom.Height; - pnlBottom.BevelBorder = BevelBorder.Top; - pnlBottom.Anchor = Anchors.Left | Anchors.Bottom | Anchors.Right; - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - SkinLayer lc = new SkinLayer(lblCapt.Skin.Layers[0]); - lc.Text.Font.Resource = Manager.Skin.Fonts[Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["CaptFont"].Value].Resource; - lc.Text.Colors.Enabled = Utilities.ParseColor(Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["CaptFontColor"].Value); - - SkinLayer ld = new SkinLayer(lblDesc.Skin.Layers[0]); - ld.Text.Font.Resource = Manager.Skin.Fonts[Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["DescFont"].Value].Resource; - ld.Text.Colors.Enabled = Utilities.ParseColor(Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["DescFontColor"].Value); - - pnlTop.Color = Utilities.ParseColor(Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["Color"].Value); - pnlTop.BevelMargin = int.Parse(Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["BevelMargin"].Value); - pnlTop.BevelStyle = Utilities.ParseBevelStyle(Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["BevelStyle"].Value); - - lblCapt.Skin = new SkinControl(lblCapt.Skin); - lblCapt.Skin.Layers[0] = lc; - lblCapt.Height = Manager.Skin.Fonts[Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["CaptFont"].Value].Height; - - lblDesc.Skin = new SkinControl(lblDesc.Skin); - lblDesc.Skin.Layers[0] = ld; - lblDesc.Height = Manager.Skin.Fonts[Manager.Skin.Controls["Dialog"].Layers["TopPanel"].Attributes["DescFont"].Value].Height; - lblDesc.Top = lblCapt.Top + lblCapt.Height + 4; - lblDesc.Height = lblDesc.Parent.ClientHeight - lblDesc.Top - 8; - - pnlBottom.Color = Utilities.ParseColor(Manager.Skin.Controls["Dialog"].Layers["BottomPanel"].Attributes["Color"].Value); - pnlBottom.BevelMargin = int.Parse(Manager.Skin.Controls["Dialog"].Layers["BottomPanel"].Attributes["BevelMargin"].Value); - pnlBottom.BevelStyle = Utilities.ParseBevelStyle(Manager.Skin.Controls["Dialog"].Layers["BottomPanel"].Attributes["BevelStyle"].Value); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Disposable.cs b/Neoforce/Disposable.cs deleted file mode 100644 index 74fbff4..0000000 --- a/Neoforce/Disposable.cs +++ /dev/null @@ -1,93 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Disposable.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public abstract class Disposable: Unknown, IDisposable - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private static int count = 0; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public static int Count { get { return count; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - protected Disposable() - { - count += 1; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - ////////////////////////////////////////////////////////////////////////// - ~Disposable() - { - Dispose(false); - } - ////////////////////////////////////////////////////////////////////////// - - ////////////////////////////////////////////////////////////////////////// - public void Dispose() - { - Dispose(true); - GC.SuppressFinalize(this); - } - ////////////////////////////////////////////////////////////////////////// - - ////////////////////////////////////////////////////////////////////////// - protected virtual void Dispose(bool disposing) - { - if (disposing) - { - count -= 1; - } - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/EventArgs.cs b/Neoforce/EventArgs.cs deleted file mode 100644 index 28fad57..0000000 --- a/Neoforce/EventArgs.cs +++ /dev/null @@ -1,427 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: EventArgs.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - public class EventArgs: System.EventArgs - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public bool Handled = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consructors /////// - - //////////////////////////////////////////////////////////////////////////// - public EventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class KeyEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public Keys Key = Keys.None; - public bool Control = false; - public bool Shift = false; - public bool Alt = false; - public bool Caps = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public KeyEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public KeyEventArgs(Keys key) - { - Key = key; - Control = false; - Shift = false; - Alt = false; - Caps = false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public KeyEventArgs(Keys key, bool control, bool shift, bool alt, bool caps) - { - Key = key; - Control = control; - Shift = shift; - Alt = alt; - Caps = caps; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class MouseEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public MouseState State = new MouseState(); - public MouseButton Button = MouseButton.None; - public Point Position = new Point(0, 0); - public Point Difference = new Point(0, 0); - /// - /// Mouse scroll direction - /// - public MouseScrollDirection ScrollDirection = MouseScrollDirection.None; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public MouseEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public MouseEventArgs(MouseState state, MouseButton button, Point position) - { - State = state; - Button = button; - Position = position; - } - //////////////////////////////////////////////////////////////////////////// - - /// - /// Creates a new initialized instace of the MouseEventArgs class. - /// Mouse state at the time of the event. - /// Mouse button state at the time of the event. - /// Mosue cursor position at the time of the event. - /// Mouse scroll direction at the time of the event. - public MouseEventArgs(MouseState state, MouseButton button, Point position, MouseScrollDirection scrollDirection) - : this(state, button, position) - { - ScrollDirection = scrollDirection; - } - - //////////////////////////////////////////////////////////////////////////// - public MouseEventArgs(MouseEventArgs e) - : this(e.State, e.Button, e.Position) - { - Difference = e.Difference; - ScrollDirection = e.ScrollDirection; - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class GamePadEventArgs : EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public PlayerIndex PlayerIndex = PlayerIndex.One; - public GamePadState State = new GamePadState(); - public GamePadButton Button = GamePadButton.None; - public GamePadVectors Vectors; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - /* - public GamePadEventArgs() - { - }*/ - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public GamePadEventArgs(PlayerIndex playerIndex) - { - PlayerIndex = playerIndex; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public GamePadEventArgs(PlayerIndex playerIndex, GamePadButton button) - { - PlayerIndex = playerIndex; - Button = button; - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class DrawEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public Renderer Renderer = null; - public Rectangle Rectangle = Rectangle.Empty; - public GameTime GameTime = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public DrawEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public DrawEventArgs(Renderer renderer, Rectangle rectangle, GameTime gameTime) - { - Renderer = renderer; - Rectangle = rectangle; - GameTime = gameTime; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class ResizeEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public int Width = 0; - public int Height = 0; - public int OldWidth = 0; - public int OldHeight = 0; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public ResizeEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public ResizeEventArgs(int width, int height, int oldWidth, int oldHeight) - { - Width = width; - Height = height; - OldWidth = oldWidth; - OldHeight = oldHeight; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class MoveEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public int Left = 0; - public int Top = 0; - public int OldLeft = 0; - public int OldTop = 0; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public MoveEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public MoveEventArgs(int left, int top, int oldLeft, int oldTop) - { - Left = left; - Top = top; - OldLeft = oldLeft; - OldTop = oldTop; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class DeviceEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public PreparingDeviceSettingsEventArgs DeviceSettings = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public DeviceEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public DeviceEventArgs(PreparingDeviceSettingsEventArgs deviceSettings) - { - DeviceSettings = deviceSettings; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class WindowClosingEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public bool Cancel = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consructors /////// - - //////////////////////////////////////////////////////////////////////////// - public WindowClosingEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class WindowClosedEventArgs: EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public bool Dispose = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consructors /////// - - //////////////////////////////////////////////////////////////////////////// - public WindowClosedEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class ConsoleMessageEventArgs : EventArgs - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public ConsoleMessage Message; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consructors /////// - - //////////////////////////////////////////////////////////////////////////// - public ConsoleMessageEventArgs() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public ConsoleMessageEventArgs(ConsoleMessage message) - { - Message = message; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - -} diff --git a/Neoforce/EventedList.cs b/Neoforce/EventedList.cs deleted file mode 100644 index 9a4d13d..0000000 --- a/Neoforce/EventedList.cs +++ /dev/null @@ -1,146 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: EventedList.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using System.Collections; -using System.Collections.Generic; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class EventedList: List - { - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler ItemAdded; - public event EventHandler ItemRemoved; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public EventedList(): base() {} - public EventedList(int capacity): base(capacity) {} - public EventedList(IEnumerable collection): base(collection) {} - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public new void Add(T item) - { - int c = this.Count; - base.Add(item); - if (ItemAdded != null && c != this.Count) ItemAdded.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void Remove(T obj) - { - int c = this.Count; - base.Remove(obj); - if (ItemRemoved != null && c != this.Count) ItemRemoved.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void Clear() - { - int c = this.Count; - base.Clear(); - if (ItemRemoved != null && c != this.Count) ItemRemoved.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void AddRange(IEnumerable collection) - { - int c = this.Count; - base.AddRange(collection); - if (ItemAdded != null && c != this.Count) ItemAdded.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void Insert(int index, T item) - { - int c = this.Count; - base.Insert(index, item); - if (ItemAdded != null && c != this.Count) ItemAdded.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void InsertRange(int index, IEnumerable collection) - { - int c = this.Count; - base.InsertRange(index, collection); - if (ItemAdded != null && c != this.Count) ItemAdded.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new int RemoveAll(Predicate match) - { - int c = this.Count; - int ret = base.RemoveAll(match); - if (ItemRemoved != null && c != this.Count) ItemRemoved.Invoke(this, new EventArgs()); - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void RemoveAt(int index) - { - int c = this.Count; - base.RemoveAt(index); - if (ItemRemoved != null && c != this.Count) ItemRemoved.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public new void RemoveRange(int index, int count) - { - int c = this.Count; - base.RemoveRange(index, count); - if (ItemRemoved != null && c != this.Count) ItemRemoved.Invoke(this, new EventArgs()); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ExitDialog.cs b/Neoforce/ExitDialog.cs deleted file mode 100644 index 4a16f58..0000000 --- a/Neoforce/ExitDialog.cs +++ /dev/null @@ -1,130 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Central // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ExitDialog.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ExitDialog: Dialog - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public Button btnYes; - public Button btnNo; - private Label lblMessage; - private ImageBox imgIcon; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ExitDialog(Manager manager): base(manager) - { - string msg = "Do you really want to exit " + Manager.Game.Window.Title + "?"; - ClientWidth = (int)Manager.Skin.Controls["Label"].Layers[0].Text.Font.Resource.MeasureString(msg).X + 48 + 16 + 16 + 16; - ClientHeight = 120; - TopPanel.Visible = false; - IconVisible = true; - Resizable = false; - Text = Manager.Game.Window.Title; - Center(); - - imgIcon = new ImageBox(Manager); - imgIcon.Init(); - imgIcon.Image = Manager.Skin.Images["Icon.Question"].Resource; - imgIcon.Left = 16; - imgIcon.Top = 16; - imgIcon.Width = 48; - imgIcon.Height = 48; - imgIcon.SizeMode = SizeMode.Stretched; - - lblMessage = new Label(Manager); - lblMessage.Init(); - - lblMessage.Left = 80; - lblMessage.Top = 16; - lblMessage.Width = ClientWidth - lblMessage.Left; - lblMessage.Height = 48; - lblMessage.Alignment = Alignment.TopLeft; - lblMessage.Text = msg; - - btnYes = new Button(Manager); - btnYes.Init(); - btnYes.Left = (BottomPanel.ClientWidth / 2) - btnYes.Width - 4; - btnYes.Top = 8; - btnYes.Text = "Yes"; - btnYes.ModalResult = ModalResult.Yes; - - btnNo = new Button(Manager); - btnNo.Init(); - btnNo.Left = (BottomPanel.ClientWidth / 2) + 4; - btnNo.Top = 8; - btnNo.Text = "No"; - btnNo.ModalResult = ModalResult.No; - - Add(imgIcon); - Add(lblMessage); - BottomPanel.Add(btnYes); - BottomPanel.Add(btnNo); - - DefaultControl = btnNo; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/External/Zip/Crc32.cs b/Neoforce/External/Zip/Crc32.cs deleted file mode 100644 index 6bbf8b1..0000000 --- a/Neoforce/External/Zip/Crc32.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; - -namespace TomShane.Neoforce.External.Zip -{ - internal class CRC32 - { - private UInt32[] crc32Table; - private const int BUFFER_SIZE = 8192; - - private Int32 _TotalBytesRead= 0; - public Int32 TotalBytesRead { - get { - return _TotalBytesRead; - } - } - - public UInt32 GetCrc32(System.IO.Stream input) - { - return GetCrc32AndCopy(input, null) ; - } - - public UInt32 GetCrc32AndCopy(System.IO.Stream input, System.IO.Stream output) - { - unchecked - { - UInt32 crc32Result; - crc32Result = 0xFFFFFFFF; - byte[] buffer = new byte[BUFFER_SIZE]; - int readSize = BUFFER_SIZE; - - _TotalBytesRead= 0; - int count = input.Read(buffer, 0, readSize); - if (output != null) output.Write(buffer,0,count); - _TotalBytesRead += count; - while (count > 0) - { - for (int i = 0; i < count; i++) - { - crc32Result = ((crc32Result) >> 8) ^ crc32Table[(buffer[i]) ^ ((crc32Result) & 0x000000FF)]; - } - count = input.Read(buffer, 0, readSize); - if (output != null) output.Write(buffer,0,count); - _TotalBytesRead += count; - - } - - return ~crc32Result; - } - } - - - public CRC32() - { - unchecked - { - // This is the official polynomial used by CRC32 in PKZip. - // Often the polynomial is shown reversed as 0x04C11DB7. - UInt32 dwPolynomial = 0xEDB88320; - UInt32 i, j; - - crc32Table = new UInt32[256]; - - UInt32 dwCrc; - for(i = 0; i < 256; i++) - { - dwCrc = i; - for(j = 8; j > 0; j--) - { - if ((dwCrc & 1)==1) - { - dwCrc = (dwCrc >> 1) ^ dwPolynomial; - } - else - { - dwCrc >>= 1; - } - } - crc32Table[i] = dwCrc; - } - } - } - } - -} diff --git a/Neoforce/External/Zip/Shared.cs b/Neoforce/External/Zip/Shared.cs deleted file mode 100644 index 60b7c9a..0000000 --- a/Neoforce/External/Zip/Shared.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; - -namespace TomShane.Neoforce.External.Zip -{ - - internal class Shared - { - protected internal static string StringFromBuffer(byte[] buf, int start, int maxlength) - { - int i; - char[] c = new char[maxlength]; - for (i = 0; (i < maxlength) && (i < buf.Length) && (buf[i] != 0); i++) - { - c[i] = (char)buf[i]; // System.BitConverter.ToChar(buf, start+i*2); - } - string s = new System.String(c, 0, i); - return s; - } - - protected internal static int ReadSignature(System.IO.Stream s) - { - int n = 0; - byte[] sig = new byte[4]; - n = s.Read(sig, 0, sig.Length); - if (n != sig.Length) throw new Exception("Could not read signature - no data!"); - int signature = (((sig[3] * 256 + sig[2]) * 256) + sig[1]) * 256 + sig[0]; - return signature; - } - - protected internal static long FindSignature(System.IO.Stream s, int SignatureToFind) - { - long startingPosition = s.Position; - - int BATCH_SIZE = 1024; - byte[] targetBytes = new byte[4]; - targetBytes[0] = (byte) (SignatureToFind >> 24); - targetBytes[1] = (byte) ((SignatureToFind & 0x00FF0000) >> 16); - targetBytes[2] = (byte) ((SignatureToFind & 0x0000FF00) >> 8); - targetBytes[3] = (byte) (SignatureToFind & 0x000000FF); - byte[] batch = new byte[BATCH_SIZE]; - int n = 0; - bool success = false; - do - { - n = s.Read(batch, 0, batch.Length); - if (n != 0) - { - for (int i = 0; i < n; i++) - { - if (batch[i] == targetBytes[3]) - { - s.Seek(i - n, System.IO.SeekOrigin.Current); - int sig = ReadSignature(s); - success = (sig == SignatureToFind); - if (!success) s.Seek(-3, System.IO.SeekOrigin.Current); - break; // out of for loop - } - } - } - else break; - if (success) break; - } while (true); - if (!success) - { - s.Seek(startingPosition, System.IO.SeekOrigin.Begin); - return -1; // or throw? - } - - // subtract 4 for the signature. - long bytesRead = (s.Position - startingPosition) - 4 ; - // number of bytes read, should be the same as compressed size of file - return bytesRead; - } - protected internal static DateTime PackedToDateTime(Int32 packedDateTime) - { - Int16 packedTime = (Int16)(packedDateTime & 0x0000ffff); - Int16 packedDate = (Int16)((packedDateTime & 0xffff0000) >> 16); - - int year = 1980 + ((packedDate & 0xFE00) >> 9); - int month = (packedDate & 0x01E0) >> 5; - int day = packedDate & 0x001F; - - - int hour = (packedTime & 0xF800) >> 11; - int minute = (packedTime & 0x07E0) >> 5; - int second = packedTime & 0x001F; - - DateTime d = System.DateTime.Now; - try { d = new System.DateTime(year, month, day, hour, minute, second, 0); } - catch - { - Console.Write("\nInvalid date/time?:\nyear: {0} ", year); - Console.Write("month: {0} ", month); - Console.WriteLine("day: {0} ", day); - Console.WriteLine("HH:MM:SS= {0}:{1}:{2}", hour, minute, second); - } - - return d; - } - - - protected internal static Int32 DateTimeToPacked(DateTime time) - { - UInt16 packedDate = (UInt16)((time.Day & 0x0000001F) | ((time.Month << 5) & 0x000001E0) | (((time.Year - 1980) << 9) & 0x0000FE00)); - UInt16 packedTime = (UInt16)((time.Second & 0x0000001F) | ((time.Minute << 5) & 0x000007E0) | ((time.Hour << 11) & 0x0000F800)); - return (Int32)(((UInt32)(packedDate << 16)) | packedTime); - } - } - - - -} diff --git a/Neoforce/External/Zip/ZipDirEntry.cs b/Neoforce/External/Zip/ZipDirEntry.cs deleted file mode 100644 index a4fdd3e..0000000 --- a/Neoforce/External/Zip/ZipDirEntry.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; - -namespace TomShane.Neoforce.External.Zip -{ - - - internal class ZipDirEntry - { - - internal const int ZipDirEntrySignature = 0x02014b50; - - private bool _Debug = false; - - private ZipDirEntry() { } - - private DateTime _LastModified; - public DateTime LastModified - { - get { return _LastModified; } - } - - private string _FileName; - public string FileName - { - get { return _FileName; } - } - - private string _Comment; - public string Comment - { - get { return _Comment; } - } - - private Int16 _VersionMadeBy; - public Int16 VersionMadeBy - { - get { return _VersionMadeBy; } - } - - private Int16 _VersionNeeded; - public Int16 VersionNeeded - { - get { return _VersionNeeded; } - } - - private Int16 _CompressionMethod; - public Int16 CompressionMethod - { - get { return _CompressionMethod; } - } - - private Int32 _CompressedSize; - public Int32 CompressedSize - { - get { return _CompressedSize; } - } - - private Int32 _UncompressedSize; - public Int32 UncompressedSize - { - get { return _UncompressedSize; } - } - - public Double CompressionRatio - { - get - { - return 100 * (1.0 - (1.0 * CompressedSize) / (1.0 * UncompressedSize)); - } - } - - private Int16 _BitField; - private Int32 _LastModDateTime; - - private Int32 _Crc32; - private byte[] _Extra; - - internal ZipDirEntry(ZipEntry ze) { } - - - internal static ZipDirEntry Read(System.IO.Stream s) - { - return Read(s, false); - } - - - internal static ZipDirEntry Read(System.IO.Stream s, bool TurnOnDebug) - { - - int signature = TomShane.Neoforce.External.Zip.Shared.ReadSignature(s); - // return null if this is not a local file header signature - if (SignatureIsNotValid(signature)) - { - s.Seek(-4, System.IO.SeekOrigin.Current); - if (TurnOnDebug) System.Console.WriteLine(" ZipDirEntry::Read(): Bad signature ({0:X8}) at position {1}", signature, s.Position); - return null; - } - - byte[] block = new byte[42]; - int n = s.Read(block, 0, block.Length); - if (n != block.Length) return null; - - int i = 0; - ZipDirEntry zde = new ZipDirEntry(); - - zde._Debug = TurnOnDebug; - zde._VersionMadeBy = (short)(block[i++] + block[i++] * 256); - zde._VersionNeeded = (short)(block[i++] + block[i++] * 256); - zde._BitField = (short)(block[i++] + block[i++] * 256); - zde._CompressionMethod = (short)(block[i++] + block[i++] * 256); - zde._LastModDateTime = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - zde._Crc32 = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - zde._CompressedSize = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - zde._UncompressedSize = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - - zde._LastModified = TomShane.Neoforce.External.Zip.Shared.PackedToDateTime(zde._LastModDateTime); - - Int16 filenameLength = (short)(block[i++] + block[i++] * 256); - Int16 extraFieldLength = (short)(block[i++] + block[i++] * 256); - Int16 commentLength = (short)(block[i++] + block[i++] * 256); - Int16 diskNumber = (short)(block[i++] + block[i++] * 256); - Int16 internalFileAttrs = (short)(block[i++] + block[i++] * 256); - Int32 externalFileAttrs = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - Int32 Offset = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - - block = new byte[filenameLength]; - n = s.Read(block, 0, block.Length); - zde._FileName = TomShane.Neoforce.External.Zip.Shared.StringFromBuffer(block, 0, block.Length); - - zde._Extra = new byte[extraFieldLength]; - n = s.Read(zde._Extra, 0, zde._Extra.Length); - - block = new byte[commentLength]; - n = s.Read(block, 0, block.Length); - zde._Comment = TomShane.Neoforce.External.Zip.Shared.StringFromBuffer(block, 0, block.Length); - - return zde; - } - - private static bool SignatureIsNotValid(int signature) - { - return (signature != ZipDirEntrySignature); - } - - } - - - -} diff --git a/Neoforce/External/Zip/ZipEntry.cs b/Neoforce/External/Zip/ZipEntry.cs deleted file mode 100644 index e2d45f2..0000000 --- a/Neoforce/External/Zip/ZipEntry.cs +++ /dev/null @@ -1,699 +0,0 @@ -using System; - -namespace TomShane.Neoforce.External.Zip -{ - internal class ZipEntry - { - - private const int ZipEntrySignature = 0x04034b50; - private const int ZipEntryDataDescriptorSignature= 0x08074b50; - - private bool _Debug = false; - - private DateTime _LastModified; - public DateTime LastModified - { - get { return _LastModified; } - } - - // when this is set, we trim the volume (eg C:\) off any fully-qualified pathname, - // before writing the ZipEntry into the ZipFile. - private bool _TrimVolumeFromFullyQualifiedPaths= true; // by default, trim them. - public bool TrimVolumeFromFullyQualifiedPaths - { - get { return _TrimVolumeFromFullyQualifiedPaths; } - set { _TrimVolumeFromFullyQualifiedPaths= value; } - } - - private string _FileName; - public string FileName - { - get { return _FileName; } - } - - private Int16 _VersionNeeded; - public Int16 VersionNeeded - { - get { return _VersionNeeded; } - } - - private Int16 _BitField; - public Int16 BitField - { - get { return _BitField; } - } - - private Int16 _CompressionMethod; - public Int16 CompressionMethod - { - get { return _CompressionMethod; } - } - - private Int32 _CompressedSize; - public Int32 CompressedSize - { - get { return _CompressedSize; } - } - - private Int32 _UncompressedSize; - public Int32 UncompressedSize - { - get { return _UncompressedSize; } - } - - public Double CompressionRatio - { - get - { - return 100 * (1.0 - (1.0 * CompressedSize) / (1.0 * UncompressedSize)); - } - } - - private Int32 _LastModDateTime; - private Int32 _Crc32; - private byte[] _Extra; - - private byte[] __filedata; - private byte[] _FileData - { - get - { - if (__filedata == null) - { - } - return __filedata; - } - } - - private System.IO.MemoryStream _UnderlyingMemoryStream; - private System.IO.Compression.DeflateStream _CompressedStream; - private System.IO.Compression.DeflateStream CompressedStream - { - get - { - if (_CompressedStream == null) - { - _UnderlyingMemoryStream = new System.IO.MemoryStream(); - bool LeaveUnderlyingStreamOpen = true; - _CompressedStream = new System.IO.Compression.DeflateStream(_UnderlyingMemoryStream, - System.IO.Compression.CompressionMode.Compress, - LeaveUnderlyingStreamOpen); - } - return _CompressedStream; - } - } - - private byte[] _header; - internal byte[] Header - { - get - { - return _header; - } - } - - private int _RelativeOffsetOfHeader; - - - private static bool ReadHeader(System.IO.Stream s, ZipEntry ze) - { - int signature = TomShane.Neoforce.External.Zip.Shared.ReadSignature(s); - - // return null if this is not a local file header signature - if (SignatureIsNotValid(signature)) - { - s.Seek(-4, System.IO.SeekOrigin.Current); - if (ze._Debug) System.Console.WriteLine(" ZipEntry::Read(): Bad signature ({0:X8}) at position {1}", signature, s.Position); - return false; - } - - byte[] block = new byte[26]; - int n = s.Read(block, 0, block.Length); - if (n != block.Length) return false; - - int i = 0; - ze._VersionNeeded = (short)(block[i++] + block[i++] * 256); - ze._BitField = (short)(block[i++] + block[i++] * 256); - ze._CompressionMethod = (short)(block[i++] + block[i++] * 256); - ze._LastModDateTime = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - - // the PKZIP spec says that if bit 3 is set (0x0008), then the CRC, Compressed size, and uncompressed size - // come directly after the file data. The only way to find it is to scan the zip archive for the signature of - // the Data Descriptor, and presume that that signature does not appear in the (compressed) data of the compressed file. - - if ((ze._BitField & 0x0008) != 0x0008) - { - ze._Crc32 = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - ze._CompressedSize = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - ze._UncompressedSize = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - } - else - { - // the CRC, compressed size, and uncompressed size are stored later in the stream. - // here, we advance the pointer. - i += 12; - } - - Int16 filenameLength = (short)(block[i++] + block[i++] * 256); - Int16 extraFieldLength = (short)(block[i++] + block[i++] * 256); - - block = new byte[filenameLength]; - n = s.Read(block, 0, block.Length); - ze._FileName = TomShane.Neoforce.External.Zip.Shared.StringFromBuffer(block, 0, block.Length); - - ze._Extra = new byte[extraFieldLength]; - n = s.Read(ze._Extra, 0, ze._Extra.Length); - - // transform the time data into something usable - ze._LastModified = TomShane.Neoforce.External.Zip.Shared.PackedToDateTime(ze._LastModDateTime); - - // actually get the compressed size and CRC if necessary - if ((ze._BitField & 0x0008) == 0x0008) - { - long posn = s.Position; - long SizeOfDataRead = TomShane.Neoforce.External.Zip.Shared.FindSignature(s, ZipEntryDataDescriptorSignature); - if (SizeOfDataRead == -1) return false; - - // read 3x 4-byte fields (CRC, Compressed Size, Uncompressed Size) - block = new byte[12]; - n = s.Read(block, 0, block.Length); - if (n != 12) return false; - i = 0; - ze._Crc32 = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - ze._CompressedSize = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - ze._UncompressedSize = block[i++] + block[i++] * 256 + block[i++] * 256 * 256 + block[i++] * 256 * 256 * 256; - - if (SizeOfDataRead != ze._CompressedSize) - throw new Exception("Data format error (bit 3 is set)"); - - // seek back to previous position, to read file data - s.Seek(posn, System.IO.SeekOrigin.Begin); - } - - return true; - } - - - private static bool SignatureIsNotValid(int signature) - { - return (signature != ZipEntrySignature); - } - - - public static ZipEntry Read(System.IO.Stream s) - { - return Read(s, false); - } - - - internal static ZipEntry Read(System.IO.Stream s, bool TurnOnDebug) - { - ZipEntry entry = new ZipEntry(); - entry._Debug = TurnOnDebug; - if (!ReadHeader(s, entry)) return null; - - entry.__filedata = new byte[entry.CompressedSize]; - int n = s.Read(entry._FileData, 0, entry._FileData.Length); - if (n != entry._FileData.Length) - { - throw new Exception("badly formatted zip file."); - } - // finally, seek past the (already read) Data descriptor if necessary - if ((entry._BitField & 0x0008) == 0x0008) - { - s.Seek(16, System.IO.SeekOrigin.Current); - } - return entry; - } - - - - internal static ZipEntry Create(String filename) - { - ZipEntry entry = new ZipEntry(); - entry._FileName = filename; - - entry._LastModified = System.IO.File.GetLastWriteTime(filename); - // adjust the time if the .NET BCL thinks it is in DST. - // see the note elsewhere in this file for more info. - if (entry._LastModified.IsDaylightSavingTime()) - { - System.DateTime AdjustedTime = entry._LastModified - new System.TimeSpan(1, 0, 0); - entry._LastModDateTime = TomShane.Neoforce.External.Zip.Shared.DateTimeToPacked(AdjustedTime); - } - else - entry._LastModDateTime = TomShane.Neoforce.External.Zip.Shared.DateTimeToPacked(entry._LastModified); - - // we don't actually slurp in the file until the caller invokes Write on this entry. - - return entry; - } - - - - public void Extract() - { - Extract("."); - } - - public void Extract(System.IO.Stream s) - { - Extract(null, s); - } - - public void Extract(string basedir) - { - Extract(basedir, null); - } - - - internal System.IO.Stream GetStream() - { - System.IO.MemoryStream memstream = new System.IO.MemoryStream(_FileData); - - if (CompressedSize == UncompressedSize) - return memstream; - - return new System.IO.Compression.DeflateStream( - memstream, System.IO.Compression.CompressionMode.Decompress); - } - - // pass in either basedir or s, but not both. - // In other words, you can extract to a stream or to a directory, but not both! - private void Extract(string basedir, System.IO.Stream s) - { - string TargetFile = null; - if (basedir != null) - { - TargetFile = System.IO.Path.Combine(basedir, FileName); - - // check if a directory - if (FileName.EndsWith("/")) - { - if (!System.IO.Directory.Exists(TargetFile)) - System.IO.Directory.CreateDirectory(TargetFile); - return; - } - } - else if (s != null) - { - if (FileName.EndsWith("/")) - // extract a directory to streamwriter? nothing to do! - return; - } - else throw new Exception("Invalid input."); - - - using (System.IO.MemoryStream memstream = new System.IO.MemoryStream(_FileData)) - { - - System.IO.Stream input = null; - try - { - - if (CompressedSize == UncompressedSize) - { - // the System.IO.Compression.DeflateStream class does not handle uncompressed data. - // so if an entry is not compressed, then we just translate the bytes directly. - input = memstream; - } - else - { - input = new System.IO.Compression.DeflateStream(memstream, System.IO.Compression.CompressionMode.Decompress); - } - - - if (TargetFile != null) - { - // ensure the target path exists - if (!System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(TargetFile))) - { - System.IO.Directory.CreateDirectory(System.IO.Path.GetDirectoryName(TargetFile)); - } - } - - - System.IO.Stream output = null; - try - { - if (TargetFile != null) - output = new System.IO.FileStream(TargetFile, System.IO.FileMode.CreateNew); - else - output = s; - - - byte[] bytes = new byte[4096]; - int n; - - if (_Debug) - { - Console.WriteLine("{0}: _FileData.Length= {1}", TargetFile, _FileData.Length); - Console.WriteLine("{0}: memstream.Position: {1}", TargetFile, memstream.Position); - n = _FileData.Length; - if (n > 1000) - { - n = 500; - Console.WriteLine("{0}: truncating dump from {1} to {2} bytes...", TargetFile, _FileData.Length, n); - } - for (int j = 0; j < n; j += 2) - { - if ((j > 0) && (j % 40 == 0)) - System.Console.WriteLine(); - System.Console.Write(" {0:X2}", _FileData[j]); - if (j + 1 < n) - System.Console.Write("{0:X2}", _FileData[j + 1]); - } - System.Console.WriteLine("\n"); - } - - n = 1; // anything non-zero - while (n != 0) - { - if (_Debug) Console.WriteLine("{0}: about to read...", TargetFile); - n = input.Read(bytes, 0, bytes.Length); - if (_Debug) Console.WriteLine("{0}: got {1} bytes", TargetFile, n); - if (n > 0) - { - if (_Debug) Console.WriteLine("{0}: about to write...", TargetFile); - output.Write(bytes, 0, n); - } - } - } - finally - { - // we only close the output stream if we opened it. - if ((output != null) && (TargetFile != null)) - { - output.Close(); - output.Dispose(); - } - } - - if (TargetFile != null) - { - // We may have to adjust the last modified time to compensate - // for differences in how the .NET Base Class Library deals - // with daylight saving time (DST) versus how the Windows - // filesystem deals with daylight saving time. See - // http://blogs.msdn.com/oldnewthing/archive/2003/10/24/55413.aspx for some context. - - // in a nutshell: Daylight savings time rules change regularly. In - // 2007, for example, the inception week of DST changed. In 1977, - // DST was in place all year round. in 1945, likewise. And so on. - // Win32 does not attempt to guess which time zone rules were in - // effect at the time in question. It will render a time as - // "standard time" and allow the app to change to DST as necessary. - // .NET makes a different choice. - - // ------------------------------------------------------- - // Compare the output of FileInfo.LastWriteTime.ToString("f") with - // what you see in the property sheet for a file that was last - // written to on the other side of the DST transition. For example, - // suppose the file was last modified on October 17, during DST but - // DST is not currently in effect. Explorer's file properties - // reports Thursday, October 17, 2003, 8:45:38 AM, but .NETs - // FileInfo reports Thursday, October 17, 2003, 9:45 AM. - - // Win32 says, "Thursday, October 17, 2002 8:45:38 AM PST". Note: - // Pacific STANDARD Time. Even though October 17 of that year - // occurred during Pacific Daylight Time, Win32 displays the time as - // standard time because that's what time it is NOW. - - // .NET BCL assumes that the current DST rules were in place at the - // time in question. So, .NET says, "Well, if the rules in effect - // now were also in effect on October 17, 2003, then that would be - // daylight time" so it displays "Thursday, October 17, 2003, 9:45 - // AM PDT" - daylight time. - - // So .NET gives a value which is more intuitively correct, but is - // also potentially incorrect, and which is not invertible. Win32 - // gives a value which is intuitively incorrect, but is strictly - // correct. - // ------------------------------------------------------- - - // With this adjustment, I add one hour to the tweaked .NET time, if - // necessary. That is to say, if the time in question had occurred - // in what the .NET BCL assumed to be DST (an assumption that may be - // wrong given the constantly changing DST rules). - -#if !XBOX - if (LastModified.IsDaylightSavingTime()) - { - DateTime AdjustedLastModified = LastModified + new System.TimeSpan(1, 0, 0); - System.IO.File.SetLastWriteTime(TargetFile, AdjustedLastModified); - } - else - System.IO.File.SetLastWriteTime(TargetFile, LastModified); -#endif - } - - } - finally - { - // we only close the output stream if we opened it. - // we cannot use using() here because in some cases we do not want to Dispose the stream! - if ((input != null) && (input != memstream)) - { - input.Close(); - input.Dispose(); - } - } - } - } - - - internal void WriteCentralDirectoryEntry(System.IO.Stream s) - { - byte[] bytes = new byte[4096]; - int i = 0; - // signature - bytes[i++] = (byte)(ZipDirEntry.ZipDirEntrySignature & 0x000000FF); - bytes[i++] = (byte)((ZipDirEntry.ZipDirEntrySignature & 0x0000FF00) >> 8); - bytes[i++] = (byte)((ZipDirEntry.ZipDirEntrySignature & 0x00FF0000) >> 16); - bytes[i++] = (byte)((ZipDirEntry.ZipDirEntrySignature & 0xFF000000) >> 24); - - // Version Made By - bytes[i++] = Header[4]; - bytes[i++] = Header[5]; - - // Version Needed, Bitfield, compression method, lastmod, - // crc, sizes, filename length and extra field length - - // are all the same as the local file header. So just copy them - int j = 0; - for (j = 0; j < 26; j++) - bytes[i + j] = Header[4 + j]; - - i += j; // positioned at next available byte - - // File Comment Length - bytes[i++] = 0; - bytes[i++] = 0; - - // Disk number start - bytes[i++] = 0; - bytes[i++] = 0; - - // internal file attrs - bytes[i++] = 1; - bytes[i++] = 0; - - // external file attrs - bytes[i++] = 0x20; - bytes[i++] = 0; - bytes[i++] = 0xb6; - bytes[i++] = 0x81; - - // relative offset of local header (I think this can be zero) - bytes[i++] = (byte)(_RelativeOffsetOfHeader & 0x000000FF); - bytes[i++] = (byte)((_RelativeOffsetOfHeader & 0x0000FF00) >> 8); - bytes[i++] = (byte)((_RelativeOffsetOfHeader & 0x00FF0000) >> 16); - bytes[i++] = (byte)((_RelativeOffsetOfHeader & 0xFF000000) >> 24); - - if (_Debug) System.Console.WriteLine("\ninserting filename into CDS: (length= {0})", Header.Length - 30); - // actual filename (starts at offset 34 in header) - for (j = 0; j < Header.Length - 30; j++) - { - bytes[i + j] = Header[30 + j]; - if (_Debug) System.Console.Write(" {0:X2}", bytes[i + j]); - } - if (_Debug) System.Console.WriteLine(); - i += j; - - s.Write(bytes, 0, i); - } - - - private void WriteHeader(System.IO.Stream s, byte[] bytes) - { - // write the header info - - int i = 0; - // signature - bytes[i++] = (byte)(ZipEntrySignature & 0x000000FF); - bytes[i++] = (byte)((ZipEntrySignature & 0x0000FF00) >> 8); - bytes[i++] = (byte)((ZipEntrySignature & 0x00FF0000) >> 16); - bytes[i++] = (byte)((ZipEntrySignature & 0xFF000000) >> 24); - - // version needed - Int16 FixedVersionNeeded = 0x14; // from examining existing zip files - bytes[i++] = (byte)(FixedVersionNeeded & 0x00FF); - bytes[i++] = (byte)((FixedVersionNeeded & 0xFF00) >> 8); - - // bitfield - Int16 BitField = 0x00; // from examining existing zip files - bytes[i++] = (byte)(BitField & 0x00FF); - bytes[i++] = (byte)((BitField & 0xFF00) >> 8); - - // compression method - Int16 CompressionMethod = 0x08; // 0x08 = Deflate - bytes[i++] = (byte)(CompressionMethod & 0x00FF); - bytes[i++] = (byte)((CompressionMethod & 0xFF00) >> 8); - - // LastMod - bytes[i++] = (byte)(_LastModDateTime & 0x000000FF); - bytes[i++] = (byte)((_LastModDateTime & 0x0000FF00) >> 8); - bytes[i++] = (byte)((_LastModDateTime & 0x00FF0000) >> 16); - bytes[i++] = (byte)((_LastModDateTime & 0xFF000000) >> 24); - - // CRC32 (Int32) - CRC32 crc32 = new CRC32(); - UInt32 crc = 0; - using (System.IO.Stream input = System.IO.File.OpenRead(FileName)) - { - crc = crc32.GetCrc32AndCopy(input, CompressedStream); - } - CompressedStream.Close(); // to get the footer bytes written to the underlying stream - - bytes[i++] = (byte)(crc & 0x000000FF); - bytes[i++] = (byte)((crc & 0x0000FF00) >> 8); - bytes[i++] = (byte)((crc & 0x00FF0000) >> 16); - bytes[i++] = (byte)((crc & 0xFF000000) >> 24); - - // CompressedSize (Int32) - Int32 isz = (Int32)_UnderlyingMemoryStream.Length; - UInt32 sz = (UInt32)isz; - bytes[i++] = (byte)(sz & 0x000000FF); - bytes[i++] = (byte)((sz & 0x0000FF00) >> 8); - bytes[i++] = (byte)((sz & 0x00FF0000) >> 16); - bytes[i++] = (byte)((sz & 0xFF000000) >> 24); - - // UncompressedSize (Int32) - if (_Debug) System.Console.WriteLine("Uncompressed Size: {0}", crc32.TotalBytesRead); - bytes[i++] = (byte)(crc32.TotalBytesRead & 0x000000FF); - bytes[i++] = (byte)((crc32.TotalBytesRead & 0x0000FF00) >> 8); - bytes[i++] = (byte)((crc32.TotalBytesRead & 0x00FF0000) >> 16); - bytes[i++] = (byte)((crc32.TotalBytesRead & 0xFF000000) >> 24); - - // filename length (Int16) - Int16 length = (Int16)FileName.Length; - // see note below about TrimVolumeFromFullyQualifiedPaths. - if ( (TrimVolumeFromFullyQualifiedPaths) && (FileName[1]==':') && (FileName[2]=='\\')) length-=3; - bytes[i++] = (byte)(length & 0x00FF); - bytes[i++] = (byte)((length & 0xFF00) >> 8); - - // extra field length (short) - Int16 ExtraFieldLength = 0x00; - bytes[i++] = (byte)(ExtraFieldLength & 0x00FF); - bytes[i++] = (byte)((ExtraFieldLength & 0xFF00) >> 8); - - // Tue, 27 Mar 2007 16:35 - - // Creating a zip that contains entries with "fully qualified" pathnames - // can result in a zip archive that is unreadable by Windows Explorer. - // Such archives are valid according to other tools but not to explorer. - // To avoid this, we can trim off the leading volume name and slash (eg - // c:\) when creating (writing) a zip file. We do this by default and we - // leave the old behavior available with the - // TrimVolumeFromFullyQualifiedPaths flag - set it to false to get the old - // behavior. It only affects zip creation. - - // actual filename - char[] c = ( (TrimVolumeFromFullyQualifiedPaths) && (FileName[1]==':') && (FileName[2]=='\\')) ? - FileName.Substring(3).ToCharArray() : // trim off volume letter, colon, and slash - FileName.ToCharArray(); - int j = 0; - - if (_Debug) - { - System.Console.WriteLine("local header: writing filename, {0} chars", c.Length); - System.Console.WriteLine("starting offset={0}", i); - } - for (j = 0; (j < c.Length) && (i + j < bytes.Length); j++) - { - bytes[i + j] = System.BitConverter.GetBytes(c[j])[0]; - if (_Debug) System.Console.Write(" {0:X2}", bytes[i + j]); - } - if (_Debug) System.Console.WriteLine(); - - i += j; - - // extra field (we always write nothing in this implementation) - // ;; - - // remember the file offset of this header - _RelativeOffsetOfHeader = (int)s.Length; - - - if (_Debug) - { - System.Console.WriteLine("\nAll header data:"); - for (j = 0; j < i; j++) - System.Console.Write(" {0:X2}", bytes[j]); - System.Console.WriteLine(); - } - // finally, write the header to the stream - s.Write(bytes, 0, i); - - // preserve this header data for use with the central directory structure. - _header = new byte[i]; - if (_Debug) System.Console.WriteLine("preserving header of {0} bytes", _header.Length); - for (j = 0; j < i; j++) - _header[j] = bytes[j]; - - } - - - internal void Write(System.IO.Stream s) - { - byte[] bytes = new byte[4096]; - int n; - - // write the header: - WriteHeader(s, bytes); - - // write the actual file data: - _UnderlyingMemoryStream.Position = 0; - - if (_Debug) - { - Console.WriteLine("{0}: writing compressed data to zipfile...", FileName); - Console.WriteLine("{0}: total data length: {1}", FileName, _UnderlyingMemoryStream.Length); - } - while ((n = _UnderlyingMemoryStream.Read(bytes, 0, bytes.Length)) != 0) - { - - if (_Debug) - { - Console.WriteLine("{0}: transferring {1} bytes...", FileName, n); - - for (int j = 0; j < n; j += 2) - { - if ((j > 0) && (j % 40 == 0)) - System.Console.WriteLine(); - System.Console.Write(" {0:X2}", bytes[j]); - if (j + 1 < n) - System.Console.Write("{0:X2}", bytes[j + 1]); - } - System.Console.WriteLine("\n"); - } - - s.Write(bytes, 0, n); - } - - //_CompressedStream.Close(); - //_CompressedStream= null; - _UnderlyingMemoryStream.Close(); - _UnderlyingMemoryStream = null; - } - } -} diff --git a/Neoforce/External/Zip/ZipFile.cs b/Neoforce/External/Zip/ZipFile.cs deleted file mode 100644 index 8a0c569..0000000 --- a/Neoforce/External/Zip/ZipFile.cs +++ /dev/null @@ -1,505 +0,0 @@ -using System; - -namespace TomShane.Neoforce.External.Zip -{ - - internal class ZipFile : System.Collections.Generic.IEnumerable, - IDisposable - { - private string _name; - public string Name - { - get { return _name; } - } - - - - // when this is set, we trim the volume (eg C:) off any fully-qualified pathname, - // before writing the ZipEntry into the ZipFile. - // We default this to true. This allows Windows Explorer to read the zip archives properly. - private bool _TrimVolumeFromFullyQualifiedPaths= true; - public bool TrimVolumeFromFullyQualifiedPaths - { - get { return _TrimVolumeFromFullyQualifiedPaths; } - set { _TrimVolumeFromFullyQualifiedPaths= value; } - } - - private System.IO.Stream ReadStream - { - get - { - if (_readstream == null) - { - _readstream = System.IO.File.OpenRead(_name); - } - return _readstream; - } - } - - private System.IO.FileStream WriteStream - { - get - { - if (_writestream == null) - { - _writestream = new System.IO.FileStream(_name, System.IO.FileMode.CreateNew); - } - return _writestream; - } - } - - private ZipFile() { } - - - #region For Writing Zip Files - - public ZipFile(string NewZipFileName) - { - // create a new zipfile - _name = NewZipFileName; - if (System.IO.File.Exists(_name)) - throw new System.Exception(String.Format("That file ({0}) already exists.", NewZipFileName)); - _entries = new System.Collections.Generic.List(); - } - - - public void AddItem(string FileOrDirectoryName) - { - AddItem(FileOrDirectoryName, false); - } - - public void AddItem(string FileOrDirectoryName, bool WantVerbose) - { - if (System.IO.File.Exists(FileOrDirectoryName)) - AddFile(FileOrDirectoryName, WantVerbose); - else if (System.IO.Directory.Exists(FileOrDirectoryName)) - AddDirectory(FileOrDirectoryName, WantVerbose); - - else - throw new Exception(String.Format("That file or directory ({0}) does not exist!", FileOrDirectoryName)); - } - - public void AddFile(string FileName) - { - AddFile(FileName, false); - } - - public void AddFile(string FileName, bool WantVerbose) - { - ZipEntry ze = ZipEntry.Create(FileName); - ze.TrimVolumeFromFullyQualifiedPaths= TrimVolumeFromFullyQualifiedPaths; - if (WantVerbose) Console.WriteLine("adding {0}...", FileName); - ze.Write(WriteStream); - _entries.Add(ze); - } - - public void AddDirectory(string DirectoryName) - { - AddDirectory(DirectoryName, false); - } - - public void AddDirectory(string DirectoryName, bool WantVerbose) - { - String[] filenames = System.IO.Directory.GetFiles(DirectoryName); - foreach (String filename in filenames) - { - if (WantVerbose) Console.WriteLine("adding {0}...", filename); - AddFile(filename); - } - } - - - public void Save() - { - WriteCentralDirectoryStructure(); - WriteStream.Close(); - _writestream = null; - } - - - private void WriteCentralDirectoryStructure() - { - // the central directory structure - long Start = WriteStream.Length; - foreach (ZipEntry e in _entries) - { - e.WriteCentralDirectoryEntry(WriteStream); - } - long Finish = WriteStream.Length; - - // now, the footer - WriteCentralDirectoryFooter(Start, Finish); - } - - - private void WriteCentralDirectoryFooter(long StartOfCentralDirectory, long EndOfCentralDirectory) - { - byte[] bytes = new byte[1024]; - int i = 0; - // signature - UInt32 EndOfCentralDirectorySignature = 0x06054b50; - bytes[i++] = (byte)(EndOfCentralDirectorySignature & 0x000000FF); - bytes[i++] = (byte)((EndOfCentralDirectorySignature & 0x0000FF00) >> 8); - bytes[i++] = (byte)((EndOfCentralDirectorySignature & 0x00FF0000) >> 16); - bytes[i++] = (byte)((EndOfCentralDirectorySignature & 0xFF000000) >> 24); - - // number of this disk - bytes[i++] = 0; - bytes[i++] = 0; - - // number of the disk with the start of the central directory - bytes[i++] = 0; - bytes[i++] = 0; - - // total number of entries in the central dir on this disk - bytes[i++] = (byte)(_entries.Count & 0x00FF); - bytes[i++] = (byte)((_entries.Count & 0xFF00) >> 8); - - // total number of entries in the central directory - bytes[i++] = (byte)(_entries.Count & 0x00FF); - bytes[i++] = (byte)((_entries.Count & 0xFF00) >> 8); - - // size of the central directory - Int32 SizeOfCentralDirectory = (Int32)(EndOfCentralDirectory - StartOfCentralDirectory); - bytes[i++] = (byte)(SizeOfCentralDirectory & 0x000000FF); - bytes[i++] = (byte)((SizeOfCentralDirectory & 0x0000FF00) >> 8); - bytes[i++] = (byte)((SizeOfCentralDirectory & 0x00FF0000) >> 16); - bytes[i++] = (byte)((SizeOfCentralDirectory & 0xFF000000) >> 24); - - // offset of the start of the central directory - Int32 StartOffset = (Int32)StartOfCentralDirectory; // cast down from Long - bytes[i++] = (byte)(StartOffset & 0x000000FF); - bytes[i++] = (byte)((StartOffset & 0x0000FF00) >> 8); - bytes[i++] = (byte)((StartOffset & 0x00FF0000) >> 16); - bytes[i++] = (byte)((StartOffset & 0xFF000000) >> 24); - - // zip comment length - bytes[i++] = 0; - bytes[i++] = 0; - - WriteStream.Write(bytes, 0, i); - } - - #endregion - - #region For Reading Zip Files - - internal static ZipFile Read(string zipfilename) - { - return Read(zipfilename, false); - } - - internal static ZipFile Read(string zipfilename, bool TurnOnDebug) - { - - ZipFile zf = new ZipFile(); - zf._Debug = TurnOnDebug; - zf._name = zipfilename; - zf._entries = new System.Collections.Generic.List(); - ZipEntry e; - while ((e = ZipEntry.Read(zf.ReadStream, zf._Debug)) != null) - { - if (zf._Debug) System.Console.WriteLine(" ZipFile::Read(): ZipEntry: {0}", e.FileName); - zf._entries.Add(e); - } - - // read the zipfile's central directory structure here. - zf._direntries = new System.Collections.Generic.List(); - - ZipDirEntry de; - while ((de = ZipDirEntry.Read(zf.ReadStream, zf._Debug)) != null) - { - if (zf._Debug) System.Console.WriteLine(" ZipFile::Read(): ZipDirEntry: {0}", de.FileName); - zf._direntries.Add(de); - } - - return zf; - } - - public System.Collections.Generic.IEnumerator GetEnumerator() - { - foreach (ZipEntry e in _entries) - yield return e; - } - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - - public void ExtractAll(string path) - { - ExtractAll(path, false); - } - - - public void ExtractAll(string path, bool WantVerbose) - { - bool header = WantVerbose; - foreach (ZipEntry e in _entries) - { - if (header) - { - System.Console.WriteLine("\n{1,-22} {2,-6} {3,4} {4,-8} {0}", - "Name", "Modified", "Size", "Ratio", "Packed"); - System.Console.WriteLine(new System.String('-', 72)); - header = false; - } - if (WantVerbose) - System.Console.WriteLine("{1,-22} {2,-6} {3,4:F0}% {4,-8} {0}", - e.FileName, - e.LastModified.ToString("yyyy-MM-dd HH:mm:ss"), - e.UncompressedSize, - e.CompressionRatio, - e.CompressedSize); - e.Extract(path); - } - } - - - public void Extract(string filename) - { - this[filename].Extract(); - } - - - public void Extract(string filename, System.IO.Stream s) - { - this[filename].Extract(s); - } - - - public ZipEntry this[String filename] - { - get - { - foreach (ZipEntry e in _entries) - { - if (e.FileName == filename) return e; - } - return null; - } - } - - #endregion - - // the destructor - ~ZipFile() - { - // call Dispose with false. Since we're in the - // destructor call, the managed resources will be - // disposed of anyways. - Dispose(false); - } - - public void Dispose() - { - // dispose of the managed and unmanaged resources - Dispose(true); - - // tell the GC that the Finalize process no longer needs - // to be run for this object. - GC.SuppressFinalize(this); - } - - - protected virtual void Dispose(bool disposeManagedResources) - { - if (!this._disposed) - { - if (disposeManagedResources) - { - // dispose managed resources - if (_readstream != null) - { - _readstream.Dispose(); - _readstream = null; - } - if (_writestream != null) - { - _writestream.Dispose(); - _writestream = null; - } - } - this._disposed = true; - } - } - - - private System.IO.Stream _readstream; - private System.IO.FileStream _writestream; - private bool _Debug = false; - private bool _disposed = false; - private System.Collections.Generic.List _entries = null; - private System.Collections.Generic.List _direntries = null; - } - -} - -#region More Info -// Example usage: -// 1. Extracting all files from a Zip file: -// -// try -// { -// using(ZipFile zip= ZipFile.Read(ZipFile)) -// { -// zip.ExtractAll(TargetDirectory, true); -// } -// } -// catch (System.Exception ex1) -// { -// System.Console.Error.WriteLine("exception: " + ex1); -// } -// -// 2. Extracting files from a zip individually: -// -// try -// { -// using(ZipFile zip= ZipFile.Read(ZipFile)) -// { -// foreach (ZipEntry e in zip) -// { -// e.Extract(TargetDirectory); -// } -// } -// } -// catch (System.Exception ex1) -// { -// System.Console.Error.WriteLine("exception: " + ex1); -// } -// -// 3. Creating a zip archive: -// -// try -// { -// using(ZipFile zip= new ZipFile(NewZipFile)) -// { -// -// String[] filenames= System.IO.Directory.GetFiles(Directory); -// foreach (String filename in filenames) -// { -// zip.Add(filename); -// } -// -// zip.Save(); -// } -// -// } -// catch (System.Exception ex1) -// { -// System.Console.Error.WriteLine("exception: " + ex1); -// } -// -// -// ================================================================== -// -// -// -// Information on the ZIP format: -// -// From -// http://www.pkware.com/business_and_developers/developer/popups/appnote.txt -// -// Overall .ZIP file format: -// -// [local file header 1] -// [file data 1] -// [data descriptor 1] ** sometimes -// . -// . -// . -// [local file header n] -// [file data n] -// [data descriptor n] ** sometimes -// [archive decryption header] -// [archive extra data record] -// [central directory] -// [zip64 end of central directory record] -// [zip64 end of central directory locator] -// [end of central directory record] -// -// Local File Header format: -// local file header signature 4 bytes (0x04034b50) -// version needed to extract 2 bytes -// general purpose bit flag 2 bytes -// compression method 2 bytes -// last mod file time 2 bytes -// last mod file date 2 bytes -// crc-32 4 bytes -// compressed size 4 bytes -// uncompressed size 4 bytes -// file name length 2 bytes -// extra field length 2 bytes -// file name varies -// extra field varies -// -// -// Data descriptor: (used only when bit 3 of the general purpose bitfield is set) -// local file header signature 4 bytes (0x08074b50) -// crc-32 4 bytes -// compressed size 4 bytes -// uncompressed size 4 bytes -// -// -// Central directory structure: -// -// [file header 1] -// . -// . -// . -// [file header n] -// [digital signature] -// -// -// File header: (This is ZipDirEntry in the code above) -// central file header signature 4 bytes (0x02014b50) -// version made by 2 bytes -// version needed to extract 2 bytes -// general purpose bit flag 2 bytes -// compression method 2 bytes -// last mod file time 2 bytes -// last mod file date 2 bytes -// crc-32 4 bytes -// compressed size 4 bytes -// uncompressed size 4 bytes -// file name length 2 bytes -// extra field length 2 bytes -// file comment length 2 bytes -// disk number start 2 bytes -// internal file attributes 2 bytes -// external file attributes 4 bytes -// relative offset of local header 4 bytes -// file name (variable size) -// extra field (variable size) -// file comment (variable size) -// -// End of central directory record: -// -// end of central dir signature 4 bytes (0x06054b50) -// number of this disk 2 bytes -// number of the disk with the -// start of the central directory 2 bytes -// total number of entries in the -// central directory on this disk 2 bytes -// total number of entries in -// the central directory 2 bytes -// size of the central directory 4 bytes -// offset of start of central -// directory with respect to -// the starting disk number 4 bytes -// .ZIP file comment length 2 bytes -// .ZIP file comment (variable size) -// -// date and time are packed values, as MSDOS did them -// time: bits 0-4 : second -// 5-10: minute -// 11-15: hour -// date bits 0-4 : day -// 5-8: month -// 9-15 year (since 1980) -// -// see http://www.vsft.com/hal/dostime.htm - -#endregion \ No newline at end of file diff --git a/Neoforce/GroupBox.cs b/Neoforce/GroupBox.cs deleted file mode 100644 index 04228ca..0000000 --- a/Neoforce/GroupBox.cs +++ /dev/null @@ -1,139 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: GroupBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public enum GroupBoxType - { - Normal, - Flat - } - - public class GroupBox : Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private GroupBoxType type = GroupBoxType.Normal; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual GroupBoxType Type - { - get { return type; } - set { type = value; Invalidate(); } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public GroupBox(Manager manager) - : base(manager) - { - CheckLayer(Skin, "Control"); - CheckLayer(Skin, "Flat"); - - CanFocus = false; - Passive = true; - Width = 64; - Height = 64; - BackColor = Color.Transparent; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - - private void AdjustClientMargins() - { - SkinLayer layer = this.type == GroupBoxType.Normal ? this.Skin.Layers["Control"] : this.Skin.Layers["Flat"]; - SpriteFont font = (layer.Text != null && layer.Text.Font != null) ? layer.Text.Font.Resource : null; - Vector2 size = font.MeasureString(this.Text); - var cm = this.ClientMargins; - cm.Top = string.IsNullOrWhiteSpace(this.Text) ? this.ClientTop : (int)size.Y; - this.ClientMargins = new Margins(cm.Left, cm.Top, cm.Right, cm.Bottom); - } - - protected override void OnTextChanged(EventArgs e) - { - base.OnTextChanged(e); - AdjustClientMargins(); - } - - protected internal override void OnSkinChanged(EventArgs e) - { - base.OnSkinChanged(e); - AdjustClientMargins(); - } - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - SkinLayer layer = type == GroupBoxType.Normal ? Skin.Layers["Control"] : Skin.Layers["Flat"]; - SpriteFont font = (layer.Text != null && layer.Text.Font != null) ? layer.Text.Font.Resource : null; - Color col = (layer.Text != null) ? layer.Text.Colors.Enabled : Color.White; - Point offset = new Point(layer.Text.OffsetX, layer.Text.OffsetY); - Vector2 size = font.MeasureString(Text); - size.Y = font.LineSpacing; - Rectangle r = new Rectangle(rect.Left, rect.Top + (int)(size.Y / 2), rect.Width, rect.Height - (int)(size.Y / 2)); - - renderer.DrawLayer(this, layer, r); - - if (font != null && Text != null && Text != "") - { - Rectangle bg = new Rectangle(r.Left + offset.X, (r.Top - (int)(size.Y / 2)) + offset.Y, (int)size.X + layer.ContentMargins.Horizontal, (int)size.Y); - renderer.DrawLayer(Manager.Skin.Controls["Control"].Layers[0], bg, new Color(64, 64, 64), 0); - renderer.DrawString(this, layer, Text, new Rectangle(r.Left, r.Top - (int)(size.Y / 2), (int)(size.X), (int)size.Y), true, 0, 0, false); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/GroupPanel.cs b/Neoforce/GroupPanel.cs deleted file mode 100644 index ac25828..0000000 --- a/Neoforce/GroupPanel.cs +++ /dev/null @@ -1,94 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: GroupPanel.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class GroupPanel: Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public GroupPanel(Manager manager): base(manager) - { - CanFocus = false; - Passive = true; - Width = 64; - Height = 64; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - SkinLayer layer = Skin.Layers["Control"]; - SpriteFont font = (layer.Text != null && layer.Text.Font != null) ? layer.Text.Font.Resource : null; - Color col = (layer.Text != null) ? layer.Text.Colors.Enabled : Color.White; - Point offset = new Point(layer.Text.OffsetX, layer.Text.OffsetY); - - renderer.DrawLayer(this, layer, rect); - - if (font != null && Text != null && Text != "") - { - renderer.DrawString(this, layer, Text, new Rectangle(rect.Left, rect.Top + layer.ContentMargins.Top, rect.Width, Skin.ClientMargins.Top - layer.ContentMargins.Horizontal), false, offset.X, offset.Y, false); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ImageBox.cs b/Neoforce/ImageBox.cs deleted file mode 100644 index 146a15f..0000000 --- a/Neoforce/ImageBox.cs +++ /dev/null @@ -1,197 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ImageBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ImageBox: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Texture2D image = null; - private SizeMode sizeMode = SizeMode.Normal; - private Rectangle sourceRect = Rectangle.Empty; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public Texture2D Image - { - get { return image; } - set - { - image = value; - sourceRect = new Rectangle(0, 0, image.Width, image.Height); - Invalidate(); - if (!Suspended) OnImageChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public Rectangle SourceRect - { - get { return sourceRect; } - set - { - if (value != null && image != null) - { - int l = value.Left; - int t = value.Top; - int w = value.Width; - int h = value.Height; - - if (l < 0) l = 0; - if (t < 0) t = 0; - if (w > image.Width) w = image.Width; - if (h > image.Height) h = image.Height; - if (l + w > image.Width) w = (image.Width - l); - if (t + h > image.Height) h = (image.Height - t); - - sourceRect = new Rectangle(l, t, w, h); - } - else if (image != null) - { - sourceRect = new Rectangle(0, 0, image.Width, image.Height); - } - else - { - sourceRect = Rectangle.Empty; - } - Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SizeMode SizeMode - { - get { return sizeMode; } - set - { - if (value == SizeMode.Auto && image != null) - { - Width = image.Width; - Height = image.Height; - } - sizeMode = value; - Invalidate(); - if (!Suspended) OnSizeModeChanged(new EventArgs()); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler ImageChanged; - public event EventHandler SizeModeChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ImageBox(Manager manager): base(manager) - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - CanFocus = false; - Color = Color.White; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - if (image != null) - { - if (sizeMode == SizeMode.Normal) - { - renderer.Draw(image, rect.X, rect.Y, sourceRect, Color); - } - else if (sizeMode == SizeMode.Auto) - { - renderer.Draw(image, rect.X, rect.Y, sourceRect, Color); - } - else if (sizeMode == SizeMode.Stretched) - { - renderer.Draw(image, rect, sourceRect, Color); - } - else if (sizeMode == SizeMode.Centered) - { - int x = (rect.Width / 2) - (image.Width / 2); - int y = (rect.Height / 2) - (image.Height / 2); - - renderer.Draw(image, x, y, sourceRect, Color); - } - else if (sizeMode == SizeMode.Tiled) - { - renderer.DrawTileTexture(image, rect, Color); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnImageChanged(EventArgs e) - { - if (ImageChanged != null) ImageChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnSizeModeChanged(EventArgs e) - { - if (SizeModeChanged != null) SizeModeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/InputSystem.cs b/Neoforce/InputSystem.cs deleted file mode 100644 index 0e6889f..0000000 --- a/Neoforce/InputSystem.cs +++ /dev/null @@ -1,732 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: InputSystem.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - [Flags] - public enum InputMethods - { - None = 0x00, - Keyboard = 0x01, - Mouse = 0x02, - GamePad = 0x04, - All = Keyboard | Mouse | 0x04 - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum MouseButton - { - None = 0, - Left, - Right, - Middle, - XButton1, - XButton2 - } - //////////////////////////////////////////////////////////////////////////// - - public enum MouseScrollDirection - { - None = 0, - Down = 1, - Up = 2 - } - - //////////////////////////////////////////////////////////////////////////// - public enum GamePadButton - { - None = 0, - Start = 6, - Back, - Up, - Down, - Left, - Right, - A, - B, - X, - Y, - BigButton, - LeftShoulder, - RightShoulder, - LeftTrigger, - RightTrigger, - LeftStick, - RightStick, - LeftStickLeft, - LeftStickRight, - LeftStickUp, - LeftStickDown, - RightStickLeft, - RightStickRight, - RightStickUp, - RightStickDown - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum ActivePlayer - { - None = -1, - One = 0, - Two = 1, - Three = 2, - Four = 3 - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Structs /////////// - - //////////////////////////////////////////////////////////////////////////// - public struct GamePadVectors - { - public Vector2 LeftStick; - public Vector2 RightStick; - public float LeftTrigger; - public float RightTrigger; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public struct InputOffset - { - public int X; - public int Y; - public float RatioX; - public float RatioY; - - public InputOffset(int x, int y, float rx, float ry) - { - X = x; - Y = y; - RatioX = rx; - RatioY = ry; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - public class InputSystem: Disposable - { - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - private class InputKey - { - public Keys Key = Keys.None; - public bool Pressed = false; - public double Countdown = RepeatDelay; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private class InputMouseButton - { - public MouseButton Button = MouseButton.None; - public bool Pressed = false; - public double Countdown = RepeatDelay; - - public InputMouseButton() - { - } - - public InputMouseButton(MouseButton button) - { - Button = button; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private class InputMouse - { - public MouseState State = new MouseState(); - public Point Position = new Point(0, 0); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private class InputGamePadButton - { - public GamePadButton Button = GamePadButton.None; - public bool Pressed = false; - public double Countdown = RepeatDelay; - - public InputGamePadButton() - { - } - - public InputGamePadButton(GamePadButton button) - { - Button = button; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - private const int RepeatDelay = 500; - private const int RepeatRate = 50; - private float ClickThreshold = 0.5f; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private List keys = new List(); - private List mouseButtons = new List(); - private List gamePadButtons = new List(); - private MouseState mouseState = new MouseState(); - private GamePadState gamePadState = new GamePadState(); - private Manager manager = null; - private InputOffset inputOffset = new InputOffset(0, 0, 1.0f, 1.0f); - private InputMethods inputMethods = InputMethods.All; - private ActivePlayer activePlayer = ActivePlayer.None; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Sets or gets input offset and ratio when rescaling controls in render target. - /// - public virtual InputOffset InputOffset - { - get { return inputOffset; } - set { inputOffset = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Sets or gets input methods allowed for navigation. - /// - public virtual InputMethods InputMethods - { - get { return inputMethods; } - set { inputMethods = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ActivePlayer ActivePlayer - { - get { return activePlayer; } - set { activePlayer = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event KeyEventHandler KeyDown; - public event KeyEventHandler KeyPress; - public event KeyEventHandler KeyUp; - - public event MouseEventHandler MouseDown; - public event MouseEventHandler MousePress; - public event MouseEventHandler MouseUp; - public event MouseEventHandler MouseMove; - /// - /// Occurs when the mouse is scrolled. - /// - public event MouseEventHandler MouseScroll; - - public event GamePadEventHandler GamePadUp; - public event GamePadEventHandler GamePadDown; - public event GamePadEventHandler GamePadPress; - public event GamePadEventHandler GamePadMove; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public InputSystem(Manager manager, InputOffset offset) - { - this.inputOffset = offset; - this.manager = manager; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public InputSystem(Manager manager): this(manager, new InputOffset(0, 0, 1.0f, 1.0f)) - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Initialize() - { - keys.Clear(); - mouseButtons.Clear(); - gamePadButtons.Clear(); - - #if (!XBOX && !XBOX_FAKE) - foreach (string str in Enum.GetNames(typeof(Keys))) - { - InputKey key = new InputKey(); - key.Key = (Keys)Enum.Parse(typeof(Keys), str); - keys.Add(key); - } - - foreach (string str in Enum.GetNames(typeof(MouseButton))) - { - InputMouseButton btn = new InputMouseButton(); - btn.Button = (MouseButton)Enum.Parse(typeof(MouseButton), str); - mouseButtons.Add(btn); - } - - foreach (string str in Enum.GetNames(typeof(GamePadButton))) - { - InputGamePadButton btn = new InputGamePadButton(); - btn.Button = (GamePadButton)Enum.Parse(typeof(GamePadButton), str); - gamePadButtons.Add(btn); - } - #else - gamePadButtons.Add(new InputGamePadButton(GamePadButton.None)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Start)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Back)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Up)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Down)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Left)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Right)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.A)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.B)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.X)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.Y)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.BigButton)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftShoulder)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightShoulder)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftTrigger)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightTrigger)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftStick)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightStick)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftStickLeft)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftStickRight)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftStickUp)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.LeftStickDown)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightStickLeft)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightStickRight)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightStickUp)); - gamePadButtons.Add(new InputGamePadButton(GamePadButton.RightStickDown)); - #endif - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SendMouseState(MouseState state, GameTime gameTime) - { - UpdateMouse(state, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SendKeyboardState(KeyboardState state, GameTime gameTime) - { - UpdateKeys(state, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SendGamePadState(PlayerIndex playerIndex, GamePadState state, GameTime gameTime) - { - UpdateGamePad(playerIndex, state, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Update(GameTime gameTime) - { - #if (!XBOX && !XBOX_FAKE) - MouseState ms = Mouse.GetState(); - KeyboardState ks = Keyboard.GetState(); - #endif - - - - { - #if (!XBOX && !XBOX_FAKE) - if ((inputMethods & InputMethods.Mouse) == InputMethods.Mouse) UpdateMouse(ms, gameTime); - if ((inputMethods & InputMethods.Keyboard) == InputMethods.Keyboard) UpdateKeys(ks, gameTime); - #endif - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private ButtonState GetVectorState(GamePadButton button, GamePadState state) - { - ButtonState ret = ButtonState.Released; - bool down = false; - float t = ClickThreshold; - - switch (button) - { - case GamePadButton.LeftStickLeft: down = state.ThumbSticks.Left.X < -t; break; - case GamePadButton.LeftStickRight: down = state.ThumbSticks.Left.X > t; break; - case GamePadButton.LeftStickUp: down = state.ThumbSticks.Left.Y > t; break; - case GamePadButton.LeftStickDown: down = state.ThumbSticks.Left.Y < -t; break; - - case GamePadButton.RightStickLeft: down = state.ThumbSticks.Right.X < -t; break; - case GamePadButton.RightStickRight: down = state.ThumbSticks.Right.X > t; break; - case GamePadButton.RightStickUp: down = state.ThumbSticks.Right.Y > t; break; - case GamePadButton.RightStickDown: down = state.ThumbSticks.Right.Y < -t; break; - - case GamePadButton.LeftTrigger: down = state.Triggers.Left > t; break; - case GamePadButton.RightTrigger: down = state.Triggers.Right > t; break; - } - - ret = down ? ButtonState.Pressed : ButtonState.Released; - - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void UpdateGamePad(PlayerIndex playerIndex, GamePadState state, GameTime gameTime) - { - GamePadEventArgs e = new GamePadEventArgs(playerIndex); - - if (state.ThumbSticks.Left != gamePadState.ThumbSticks.Left || - state.ThumbSticks.Right != gamePadState.ThumbSticks.Right || - state.Triggers.Left != gamePadState.Triggers.Left || - state.Triggers.Right != gamePadState.Triggers.Right) - { - BuildGamePadEvent(state, GamePadButton.None, ref e); - if (GamePadMove != null) GamePadMove.Invoke(this, e); - } - - foreach (InputGamePadButton btn in gamePadButtons) - { - ButtonState bs = ButtonState.Released; - - if (btn.Button == GamePadButton.None) continue; - else if (btn.Button == GamePadButton.A) bs = state.Buttons.A; - else if (btn.Button == GamePadButton.B) bs = state.Buttons.B; - else if (btn.Button == GamePadButton.Back) bs = state.Buttons.Back; - else if (btn.Button == GamePadButton.Down) bs = state.DPad.Down; - else if (btn.Button == GamePadButton.Left) bs = state.DPad.Left; - else if (btn.Button == GamePadButton.Right) bs = state.DPad.Right; - else if (btn.Button == GamePadButton.Start) bs = state.Buttons.Start; - else if (btn.Button == GamePadButton.Up) bs = state.DPad.Up; - else if (btn.Button == GamePadButton.X) bs = state.Buttons.X; - else if (btn.Button == GamePadButton.Y) bs = state.Buttons.Y; - else if (btn.Button == GamePadButton.BigButton) bs = state.Buttons.BigButton; - else if (btn.Button == GamePadButton.LeftShoulder) bs = state.Buttons.LeftShoulder; - else if (btn.Button == GamePadButton.RightShoulder) bs = state.Buttons.RightShoulder; - else if (btn.Button == GamePadButton.LeftStick) bs = state.Buttons.LeftStick; - else if (btn.Button == GamePadButton.RightStick) bs = state.Buttons.RightStick; - else bs = GetVectorState(btn.Button, state); - - bool pressed = (bs == ButtonState.Pressed); - if (pressed) - { - double ms = gameTime.ElapsedGameTime.TotalMilliseconds; - if (pressed) btn.Countdown -= ms; - } - - if ((pressed) && (!btn.Pressed)) - { - btn.Pressed = true; - BuildGamePadEvent(state, btn.Button, ref e); - - if (GamePadDown != null) GamePadDown.Invoke(this, e); - if (GamePadPress != null) GamePadPress.Invoke(this, e); - } - else if ((!pressed) && (btn.Pressed)) - { - btn.Pressed = false; - btn.Countdown = RepeatDelay; - BuildGamePadEvent(state, btn.Button, ref e); - - if (GamePadUp != null) GamePadUp.Invoke(this, e); - } - else if (btn.Pressed && btn.Countdown < 0) - { - e.Button = btn.Button; - btn.Countdown = RepeatRate; - BuildGamePadEvent(state, btn.Button, ref e); - - if (GamePadPress != null) GamePadPress.Invoke(this, e); - } - } - gamePadState = state; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void BuildGamePadEvent(GamePadState state, GamePadButton button, ref GamePadEventArgs e) - { - e.State = state; - e.Button = button; - e.Vectors.LeftStick = new Vector2(state.ThumbSticks.Left.X, state.ThumbSticks.Left.Y); - e.Vectors.RightStick = new Vector2(state.ThumbSticks.Right.X, state.ThumbSticks.Right.Y); - e.Vectors.LeftTrigger = state.Triggers.Left; - e.Vectors.RightTrigger = state.Triggers.Right; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void UpdateKeys(KeyboardState state, GameTime gameTime) - { - #if (!XBOX && !XBOX_FAKE) - - KeyEventArgs e = new KeyEventArgs(); - - e.Caps = (((ushort)NativeMethods.GetKeyState(0x14)) & 0xffff) != 0; - - foreach (Keys key in state.GetPressedKeys()) - { - if (key == Keys.LeftAlt || key == Keys.RightAlt) e.Alt = true; - else if (key == Keys.LeftShift || key == Keys.RightShift) e.Shift = true; - else if (key == Keys.LeftControl || key == Keys.RightControl) e.Control = true; - } - - foreach (InputKey key in keys) - { - if (key.Key == Keys.LeftAlt || key.Key == Keys.RightAlt || - key.Key == Keys.LeftShift || key.Key == Keys.RightShift || - key.Key == Keys.LeftControl || key.Key == Keys.RightControl) - { - continue; - } - - bool pressed = state.IsKeyDown(key.Key); - - double ms = gameTime.ElapsedGameTime.TotalMilliseconds; - if (pressed) key.Countdown -= ms; - - if ((pressed) && (!key.Pressed)) - { - key.Pressed = true; - e.Key = key.Key; - - if (KeyDown != null) KeyDown.Invoke(this, e); - if (KeyPress != null) KeyPress.Invoke(this, e); - } - else if ((!pressed) && (key.Pressed)) - { - key.Pressed = false; - key.Countdown = RepeatDelay; - e.Key = key.Key; - - if (KeyUp != null) KeyUp.Invoke(this, e); - } - else if (key.Pressed && key.Countdown < 0) - { - key.Countdown = RepeatRate; - e.Key = key.Key; - - if (KeyPress != null) KeyPress.Invoke(this, e); - } - } - #endif - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private Point RecalcPosition(Point pos) - { - return new Point((int)((pos.X - InputOffset.X) / InputOffset.RatioX), (int)((pos.Y - InputOffset.Y) / InputOffset.RatioY)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void AdjustPosition(ref MouseEventArgs e) - { - Rectangle screen = manager.Game.Window.ClientBounds; - - if (e.Position.X < 0) e.Position.X = 0; - if (e.Position.Y < 0) e.Position.Y = 0; - if (e.Position.X >= screen.Width) e.Position.X = screen.Width - 1; - if (e.Position.Y >= screen.Height) e.Position.Y = screen.Height - 1; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void BuildMouseEvent(MouseState state, MouseButton button, ref MouseEventArgs e) - { - e.State = state; - e.Button = button; - - e.Position = new Point(state.X, state.Y); - AdjustPosition(ref e); - - e.Position = RecalcPosition(e.Position); - e.State = new MouseState(e.Position.X, e.Position.Y, e.State.ScrollWheelValue, e.State.LeftButton, e.State.MiddleButton, e.State.RightButton, e.State.XButton1, e.State.XButton2); - - Point pos = RecalcPosition(new Point(mouseState.X, mouseState.Y)); - e.Difference = new Point(e.Position.X - pos.X, e.Position.Y - pos.Y); - } - //////////////////////////////////////////////////////////////////////////// - - private void BuildMouseEvent(MouseState state, MouseButton button, MouseScrollDirection direction, ref MouseEventArgs e) - { - BuildMouseEvent(state, button, ref e); - - e.ScrollDirection = direction; - } - - //////////////////////////////////////////////////////////////////////////// - private void UpdateMouse(MouseState state, GameTime gameTime) - { - #if (!XBOX && !XBOX_FAKE) - - if ((state.X != mouseState.X) || (state.Y != mouseState.Y)) - { - MouseEventArgs e = new MouseEventArgs(); - - MouseButton btn = MouseButton.None; - if (state.LeftButton == ButtonState.Pressed) btn = MouseButton.Left; - else if (state.RightButton == ButtonState.Pressed) btn = MouseButton.Right; - else if (state.MiddleButton == ButtonState.Pressed) btn = MouseButton.Middle; - else if (state.XButton1 == ButtonState.Pressed) btn = MouseButton.XButton1; - else if (state.XButton2 == ButtonState.Pressed) btn = MouseButton.XButton2; - - BuildMouseEvent(state, btn, ref e); - if (MouseMove != null) - { - MouseMove.Invoke(this, e); - } - } - - // Mouse wheel position changed - if (state.ScrollWheelValue != mouseState.ScrollWheelValue) - { - MouseEventArgs e = new MouseEventArgs(); - MouseScrollDirection direction = state.ScrollWheelValue < mouseState.ScrollWheelValue ? MouseScrollDirection.Down : MouseScrollDirection.Up; - - BuildMouseEvent(state, MouseButton.None, direction, ref e); - - if (MouseScroll != null) - { - MouseScroll.Invoke(this, e); - } - } - - UpdateButtons(state, gameTime); - - mouseState = state; - - #endif - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void UpdateButtons(MouseState state, GameTime gameTime) - { - #if (!XBOX && !XBOX_FAKE) - - MouseEventArgs e = new MouseEventArgs(); - - foreach (InputMouseButton btn in mouseButtons) - { - ButtonState bs = ButtonState.Released; - - if (btn.Button == MouseButton.Left) bs = state.LeftButton; - else if (btn.Button == MouseButton.Right) bs = state.RightButton; - else if (btn.Button == MouseButton.Middle) bs = state.MiddleButton; - else if (btn.Button == MouseButton.XButton1) bs = state.XButton1; - else if (btn.Button == MouseButton.XButton2) bs = state.XButton2; - else continue; - - bool pressed = (bs == ButtonState.Pressed); - if (pressed) - { - double ms = gameTime.ElapsedGameTime.TotalMilliseconds; - if (pressed) btn.Countdown -= ms; - } - - if ((pressed) && (!btn.Pressed)) - { - btn.Pressed = true; - BuildMouseEvent(state, btn.Button, ref e); - - if (MouseDown != null) MouseDown.Invoke(this, e); - if (MousePress != null) MousePress.Invoke(this, e); - } - else if ((!pressed) && (btn.Pressed)) - { - btn.Pressed = false; - btn.Countdown = RepeatDelay; - BuildMouseEvent(state, btn.Button, ref e); - - if (MouseUp != null) MouseUp.Invoke(this, e); - } - else if (btn.Pressed && btn.Countdown < 0) - { - e.Button = btn.Button; - btn.Countdown = RepeatRate; - BuildMouseEvent(state, btn.Button, ref e); - - if (MousePress != null) MousePress.Invoke(this, e); - } - } - - #endif - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} \ No newline at end of file diff --git a/Neoforce/KeyboardLayout.cs b/Neoforce/KeyboardLayout.cs deleted file mode 100644 index 6a93ff0..0000000 --- a/Neoforce/KeyboardLayout.cs +++ /dev/null @@ -1,461 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: KeyboardLayout.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -/***** - * Made Changes to the German Input, based on Kergos, input. - *****/ - -#region //// Using ///////////// - -////////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Input; -using System.Globalization; -using System.Collections.Generic; -using System; -using System.Text; -////////////////////////////////////////////////////////////////////////////// - -#endregion - - -namespace TomShane.Neoforce.Controls -{ - - public class KeyboardLayout - { - - #region //// Fields //////////// - - ////////////////////////////////////////////////////////////////////////// - private string name = "English"; - public List LayoutList = new List(); - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - ////////////////////////////////////////////////////////////////////////// - public virtual string Name - { - get { return name; } - set { name = value; } - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - ////////////////////////////////////////////////////////////////////////// - public KeyboardLayout() - { - LayoutList.Add(1033); - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual string GetKey(KeyEventArgs args) - { - string ret = ""; - - if (args.Caps && !args.Shift) ret = KeyToString(args).ToUpper(); - else if (!args.Caps && args.Shift) ret = KeyToString(args).ToUpper(); - else if (args.Caps && args.Shift) ret = KeyToString(args).ToLower(); - else if (!args.Caps && !args.Shift) ret = KeyToString(args).ToLower(); - - - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual string KeyToString(KeyEventArgs args) - { - switch (args.Key) - { - case Keys.A: - return "a"; - case Keys.B: - return "b"; - case Keys.C: - return "c"; - case Keys.D: - return "d"; - case Keys.E: - return "e"; - case Keys.F: - return "f"; - case Keys.G: - return "g"; - case Keys.H: - return "h"; - case Keys.I: - return "i"; - case Keys.J: - return "j"; - case Keys.K: - return "k"; - case Keys.L: - return "l"; - case Keys.M: - return "m"; - case Keys.N: - return "n"; - case Keys.O: - return "o"; - case Keys.P: - return "p"; - case Keys.Q: - return "q"; - case Keys.R: - return "r"; - case Keys.S: - return "s"; - case Keys.T: - return "t"; - case Keys.U: - return "u"; - case Keys.V: - return "v"; - case Keys.W: - return "w"; - case Keys.X: - return "x"; - case Keys.Y: - return "y"; - case Keys.Z: - return "z"; - - case Keys.D0: - return (args.Shift) ? ")" : "0"; - case Keys.D1: - return (args.Shift) ? "!" : "1"; - case Keys.D2: - return (args.Shift) ? "@" : "2"; - case Keys.D3: - return (args.Shift) ? "#" : "3"; - case Keys.D4: - return (args.Shift) ? "$" : "4"; - case Keys.D5: - return (args.Shift) ? "%" : "5"; - case Keys.D6: - return (args.Shift) ? "^" : "6"; - case Keys.D7: - return (args.Shift) ? "&" : "7"; - case Keys.D8: - return (args.Shift) ? "*" : "8"; - case Keys.D9: - return (args.Shift) ? "(" : "9"; - - case Keys.OemPlus: - return (args.Shift) ? "+" : "="; - case Keys.OemMinus: - return (args.Shift) ? "_" : "-"; - case Keys.OemOpenBrackets: - return (args.Shift) ? "{" : "["; - case Keys.OemCloseBrackets: - return (args.Shift) ? "}" : "]"; - case Keys.OemQuestion: - return (args.Shift) ? "?" : "/"; - case Keys.OemPeriod: - return (args.Shift) ? ">" : "."; - case Keys.OemComma: - return (args.Shift) ? "<" : ","; - case Keys.OemPipe: - return (args.Shift) ? "|" : "\\"; - case Keys.Space: - return " "; - case Keys.OemSemicolon: - return (args.Shift) ? ":" : ";"; - case Keys.OemQuotes: - return (args.Shift) ? "\"" : "'"; - case Keys.OemTilde: - return (args.Shift) ? "~" : "`"; - - case Keys.NumPad0: - return (args.Shift) ? "" : "0"; - case Keys.NumPad1: - return (args.Shift) ? "" : "1"; - case Keys.NumPad2: - return (args.Shift) ? "" : "2"; - case Keys.NumPad3: - return (args.Shift) ? "" : "3"; - case Keys.NumPad4: - return (args.Shift) ? "" : "4"; - case Keys.NumPad5: - return (args.Shift) ? "" : "5"; - case Keys.NumPad6: - return (args.Shift) ? "" : "6"; - case Keys.NumPad7: - return (args.Shift) ? "" : "7"; - case Keys.NumPad8: - return (args.Shift) ? "" : "8"; - case Keys.NumPad9: - return (args.Shift) ? "" : "9"; - case Keys.Decimal: - return (args.Shift) ? "" : "."; - - case Keys.Divide: - return (args.Shift) ? "/" : "/"; - case Keys.Multiply: - return (args.Shift) ? "*" : "*"; - case Keys.Subtract: - return (args.Shift) ? "-" : "-"; - case Keys.Add: - return (args.Shift) ? "+" : "+"; - - default: - return ""; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - public class CzechKeyboardLayout: KeyboardLayout - { - - #region //// Constructors ////// - - ////////////////////////////////////////////////////////////////////////// - public CzechKeyboardLayout() - { - Name = "Czech"; - LayoutList.Clear(); - LayoutList.Add(1029); - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override string KeyToString(KeyEventArgs args) - { - switch (args.Key) - { - case Keys.D0: - return (args.Shift) ? "0" : ""; - case Keys.D1: - return (args.Shift) ? "1" : "+"; - case Keys.D2: - return (args.Shift) ? "2" : ""; - case Keys.D3: - return (args.Shift) ? "3" : ""; - case Keys.D4: - return (args.Shift) ? "4" : ""; - case Keys.D5: - return (args.Shift) ? "5" : ""; - case Keys.D6: - return (args.Shift) ? "6" : ""; - case Keys.D7: - return (args.Shift) ? "7" : ""; - case Keys.D8: - return (args.Shift) ? "8" : ""; - case Keys.D9: - return (args.Shift) ? "9" : ""; - - case Keys.OemPlus: - return (args.Shift) ? "" : ""; - case Keys.OemMinus: - return (args.Shift) ? "%" : "="; - case Keys.OemOpenBrackets: - return (args.Shift) ? "/" : ""; - case Keys.OemCloseBrackets: - return (args.Shift) ? "(" : ")"; - case Keys.OemQuestion: - return (args.Shift) ? "_" : "-"; - case Keys.OemPeriod: - return (args.Shift) ? ":" : "."; - case Keys.OemComma: - return (args.Shift) ? "?" : ","; - case Keys.OemPipe: - return (args.Shift) ? "'" : ""; - case Keys.Space: - return " "; - case Keys.OemSemicolon: - return (args.Shift) ? "\"" : ""; - case Keys.OemQuotes: - return (args.Shift) ? "!" : ""; - case Keys.OemTilde: - return (args.Shift) ? "" : ";"; - - case Keys.Decimal: - return (args.Shift) ? "" : ","; - - default: - return base.KeyToString(args); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - public class GermanKeyboardLayout : KeyboardLayout - { - - #region //// Constructors ////// - - ////////////////////////////////////////////////////////////////////////// - public GermanKeyboardLayout() - { - Name = "German"; - LayoutList.Clear(); - LayoutList.Add(1031); - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override string KeyToString(KeyEventArgs args) - { - switch (args.Key) - { - case Keys.D0: - return (args.Shift) ? "=" : "0"; - case Keys.D1: - return (args.Shift) ? "!" : "1"; - case Keys.D2: - return (args.Shift) ? "\"": "2"; - case Keys.D3: - return (args.Shift) ? "" : "3"; - case Keys.D4: - return (args.Shift) ? "$" : "4"; - case Keys.D5: - return (args.Shift) ? "%" : "5"; - case Keys.D6: - return (args.Shift) ? "&" : "6"; - case Keys.D7: - return (args.Shift) ? "/" : "7"; - case Keys.D8: - return (args.Shift) ? "(" : "8"; - case Keys.D9: - return (args.Shift) ? ")" : "9"; - case Keys.OemBackslash: - return (args.Shift) ? ">" : "<"; - case Keys.OemPlus: - return (args.Shift) ? "*" : "+"; - case Keys.OemMinus: - return (args.Shift) ? "_" : "-"; - case Keys.OemOpenBrackets: - return (args.Shift) ? "?" : ""; - case Keys.OemCloseBrackets: - return (args.Shift) ? "`" : ""; - case Keys.OemQuestion: - return (args.Shift) ? "'" : "#"; - case Keys.OemPeriod: - return (args.Shift) ? ":" : "."; - case Keys.OemComma: - return (args.Shift) ? ";" : ","; - case Keys.OemPipe: - return (args.Shift) ? "" : "^"; - case Keys.Space: - return " "; - case Keys.OemSemicolon: - return (args.Shift) ? "" : ""; - case Keys.OemQuotes: - return (args.Shift) ? "" : ""; - case Keys.OemTilde: - return (args.Shift) ? "" : ""; - - case Keys.Decimal: - return (args.Shift) ? "" : "."; - - default: - return base.KeyToString(args); - } - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - - } - - public class PolishKeyboardLayout: KeyboardLayout - { - - #region //// Constructors ////// - ////////////////////////////////////////////////////////////////////////// - public PolishKeyboardLayout() - { - Name = "Polish"; - LayoutList.Clear(); - LayoutList.Add(1045); - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected override string KeyToString(KeyEventArgs args) - { - if (args.Alt) - { - switch (args.Key) - { - case Keys.A: - return (args.Shift) ? "" : ""; - case Keys.C: - return (args.Shift) ? "" : ""; - case Keys.E: - return (args.Shift) ? "" : ""; - case Keys.L: - return (args.Shift) ? "" : ""; - case Keys.N: - return (args.Shift) ? "" : ""; - case Keys.O: - return (args.Shift) ? "" : ""; - case Keys.S: - return (args.Shift) ? "" : ""; - case Keys.X: - return (args.Shift) ? "" : ""; - case Keys.Z: - return (args.Shift) ? "" : ""; - } - } - return base.KeyToString(args); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} - diff --git a/Neoforce/Label.cs b/Neoforce/Label.cs deleted file mode 100644 index a479796..0000000 --- a/Neoforce/Label.cs +++ /dev/null @@ -1,104 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Label.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class Label: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Alignment alignment = Alignment.MiddleLeft; - private bool ellipsis = true; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Alignment Alignment - { - get { return alignment; } - set { alignment = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool Ellipsis - { - get { return ellipsis; } - set { ellipsis = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Label(Manager manager): base(manager) - { - CanFocus = false; - Passive = true; - Width = 64; - Height = 16; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - //base.DrawControl(renderer, rect, gameTime); - - SkinLayer s = new SkinLayer(Skin.Layers[0]); - s.Text.Alignment = alignment; - renderer.DrawString(this, s, Text, rect, true, 0, 0, ellipsis); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Layout.cs b/Neoforce/Layout.cs deleted file mode 100644 index fd9f62e..0000000 --- a/Neoforce/Layout.cs +++ /dev/null @@ -1,182 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Layout.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework; -using System.Xml; -using System.Reflection; -using System.IO; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - - public static class Layout - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public static Container Load(Manager manager, string asset) - { - Container win = null; - LayoutXmlDocument doc = new LayoutXmlDocument(); - ArchiveManager content = new ArchiveManager(manager.Game.Services); - - try - { - content.RootDirectory = manager.LayoutDirectory; - - #if (!XBOX && !XBOX_FAKE) - - string file = content.RootDirectory + asset; - - if (File.Exists(file)) - { - doc.Load(file); - } - else - - #endif - { - doc = content.Load(asset); - } - - - if (doc != null && doc["Layout"]["Controls"] != null && doc["Layout"]["Controls"].HasChildNodes) - { - XmlNode node = doc["Layout"]["Controls"].GetElementsByTagName("Control").Item(0); - string cls = node.Attributes["Class"].Value; - Type type = Type.GetType(cls); - - if (type == null) - { - cls = "TomShane.Neoforce.Controls." + cls; - type = Type.GetType(cls); - } - - win = (Container)LoadControl(manager, node, type, null); - } - - } - finally - { - content.Dispose(); - } - - return win; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private static Control LoadControl(Manager manager, XmlNode node, Type type, Control parent) - { - Control c = null; - - Object[] args = new Object[] {manager}; - - c = (Control)type.InvokeMember(null, BindingFlags.CreateInstance, null, null, args); - if (parent != null) c.Parent = parent; - c.Name = node.Attributes["Name"].Value; - - if (node != null && node["Properties"] != null && node["Properties"].HasChildNodes) - { - LoadProperties(node["Properties"].GetElementsByTagName("Property"), c); - } - - if (node != null && node["Controls"] != null && node["Controls"].HasChildNodes) - { - foreach (XmlElement e in node["Controls"].GetElementsByTagName("Control")) - { - string cls = e.Attributes["Class"].Value; - Type t = Type.GetType(cls); - - if (t == null) - { - cls = "TomShane.Neoforce.Controls." + cls; - t = Type.GetType(cls); - } - LoadControl(manager, e, t, c); - } - } - - return c; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private static void LoadProperties(XmlNodeList node, Control c) - { - foreach (XmlElement e in node) - { - string name = e.Attributes["Name"].Value; - string val = e.Attributes["Value"].Value; - - PropertyInfo i = c.GetType().GetProperty(name); - - if (i != null) - { - { - try - { - i.SetValue(c, Convert.ChangeType(val, i.PropertyType, null), null); - } - catch - { - } - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ListBox.cs b/Neoforce/ListBox.cs deleted file mode 100644 index 5598674..0000000 --- a/Neoforce/ListBox.cs +++ /dev/null @@ -1,485 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ListBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public class ListBox : Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private List items = new List(); - private ScrollBar sbVert = null; - private ClipBox pane = null; - private int itemIndex = -1; - private bool hotTrack = false; - private int itemsCount = 0; - private bool hideSelection = true; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual List Items - { - get { return items; } - internal set { items = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool HotTrack - { - get { return hotTrack; } - set - { - if (hotTrack != value) - { - hotTrack = value; - if (!Suspended) OnHotTrackChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int ItemIndex - { - get { return itemIndex; } - set - { - //if (itemIndex != value) - { - if (value >= 0 && value < items.Count) - { - itemIndex = value; - } - else - { - itemIndex = -1; - } - ScrollTo(itemIndex); - - if (!Suspended) OnItemIndexChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool HideSelection - { - get { return hideSelection; } - set - { - if (hideSelection != value) - { - hideSelection = value; - Invalidate(); - if (!Suspended) OnHideSelectionChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler HotTrackChanged; - public event EventHandler ItemIndexChanged; - public event EventHandler HideSelectionChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ListBox(Manager manager) - : base(manager) - { - Width = 64; - Height = 64; - MinimumHeight = 16; - - sbVert = new ScrollBar(Manager, Orientation.Vertical); - sbVert.Init(); - sbVert.Parent = this; - sbVert.Left = Left + Width - sbVert.Width - Skin.Layers["Control"].ContentMargins.Right; - sbVert.Top = Top + Skin.Layers["Control"].ContentMargins.Top; - sbVert.Height = Height - Skin.Layers["Control"].ContentMargins.Vertical; - sbVert.Anchor = Anchors.Top | Anchors.Right | Anchors.Bottom; - sbVert.PageSize = 25; - sbVert.Range = 1; - sbVert.PageSize = 1; - sbVert.StepSize = 10; - - pane = new ClipBox(manager); - pane.Init(); - pane.Parent = this; - pane.Top = Skin.Layers["Control"].ContentMargins.Top; - pane.Left = Skin.Layers["Control"].ContentMargins.Left; - pane.Width = Width - sbVert.Width - Skin.Layers["Control"].ContentMargins.Horizontal - 1; - pane.Height = Height - Skin.Layers["Control"].ContentMargins.Vertical; - pane.Anchor = Anchors.All; - pane.Passive = true; - pane.CanFocus = false; - pane.Draw += new DrawEventHandler(DrawPane); - - CanFocus = true; - Passive = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void AutoHeight(int maxItems) - { - if (items != null && items.Count < maxItems) maxItems = items.Count; - if (maxItems < 3) - { - //maxItems = 3; - sbVert.Visible = false; - pane.Width = Width - Skin.Layers["Control"].ContentMargins.Horizontal - 1; - } - else - { - pane.Width = Width - sbVert.Width - Skin.Layers["Control"].ContentMargins.Horizontal - 1; - sbVert.Visible = true; - } - - SkinText font = Skin.Layers["Control"].Text; - if (items != null && items.Count > 0) - { - int h = (int)font.Font.Resource.MeasureString(items[0].ToString()).Y; - Height = (h * maxItems) + (Skin.Layers["Control"].ContentMargins.Vertical);// - Skin.OriginMargins.Vertical); - } - else - { - Height = 32; - } - } - //////////////////////////////////////////////////////////////////////////// - - public override int MinimumHeight - { - get { return base.MinimumHeight; } - set - { - base.MinimumHeight = value; - if (this.sbVert != null) this.sbVert.MinimumHeight = value; - } - } - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - sbVert.Invalidate(); - pane.Invalidate(); - //DrawPane(this, new DrawEventArgs(renderer, rect, gameTime)); - - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawPane(object sender, DrawEventArgs e) - { - if (items != null && items.Count > 0) - { - SkinText font = Skin.Layers["Control"].Text; - SkinLayer sel = Skin.Layers["ListBox.Selection"]; - int h = (int)font.Font.Resource.MeasureString(items[0].ToString()).Y; - int v = (sbVert.Value / 10); - int p = (sbVert.PageSize / 10); - int d = (int)(((sbVert.Value % 10) / 10f) * h); - int c = items.Count; - int s = itemIndex; - - for (int i = v; i <= v + p + 1; i++) - { - if (i < c) - { - e.Renderer.DrawString(this, Skin.Layers["Control"], items[i].ToString(), new Rectangle(e.Rectangle.Left, e.Rectangle.Top - d + ((i - v) * h), e.Rectangle.Width, h), false); - } - } - if (s >= 0 && s < c && (Focused || !hideSelection)) - { - int pos = -d + ((s - v) * h); - if (pos > -h && pos < (p + 1) * h) - { - e.Renderer.DrawLayer(this, sel, new Rectangle(e.Rectangle.Left, e.Rectangle.Top + pos, e.Rectangle.Width, h)); - e.Renderer.DrawString(this, sel, items[s].ToString(), new Rectangle(e.Rectangle.Left, e.Rectangle.Top + pos, e.Rectangle.Width, h), false); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseDown(MouseEventArgs e) - { - base.OnMouseDown(e); - - if (e.Button == MouseButton.Left || e.Button == MouseButton.Right) - { - TrackItem(e.Position.X, e.Position.Y); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void TrackItem(int x, int y) - { - if (items != null && items.Count > 0 && (pane.ControlRect.Contains(new Point(x, y)))) - { - SkinText font = Skin.Layers["Control"].Text; - int h = (int)font.Font.Resource.MeasureString(items[0].ToString()).Y; - int d = (int)(((sbVert.Value % 10) / 10f) * h); - int i = (int)Math.Floor((sbVert.Value / 10f) + ((float)y / h)); - if (i >= 0 && i < Items.Count && i >= (int)Math.Floor((float)sbVert.Value / 10f) && i < (int)Math.Ceiling((float)(sbVert.Value + sbVert.PageSize) / 10f)) ItemIndex = i; - Focused = true; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseMove(MouseEventArgs e) - { - base.OnMouseMove(e); - - if (hotTrack) - { - TrackItem(e.Position.X, e.Position.Y); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnKeyPress(KeyEventArgs e) - { - if (e.Key == Keys.Down) - { - e.Handled = true; - itemIndex += sbVert.StepSize / 10; - } - else if (e.Key == Keys.Up) - { - e.Handled = true; - itemIndex -= sbVert.StepSize / 10; - } - else if (e.Key == Keys.PageDown) - { - e.Handled = true; - itemIndex += sbVert.PageSize / 10; - } - else if (e.Key == Keys.PageUp) - { - e.Handled = true; - itemIndex -= sbVert.PageSize / 10; - } - else if (e.Key == Keys.Home) - { - e.Handled = true; - itemIndex = 0; - } - else if (e.Key == Keys.End) - { - e.Handled = true; - itemIndex = items.Count - 1; - } - - if (itemIndex < 0) itemIndex = 0; - else if (itemIndex >= Items.Count) itemIndex = Items.Count - 1; - - ItemIndex = itemIndex; - - base.OnKeyPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - /// - /// Handles mouse scroll events for the list box. - /// - /// - protected override void OnMouseScroll(MouseEventArgs e) - { - Focused = true; - - if (e.ScrollDirection == MouseScrollDirection.Down) - { - e.Handled = true; - itemIndex += sbVert.StepSize / 10; - } - else if (e.ScrollDirection == MouseScrollDirection.Up) - { - e.Handled = true; - itemIndex -= sbVert.StepSize / 10; - } - - // Wrap index in collection range. - if (itemIndex < 0) itemIndex = 0; - else if (itemIndex >= Items.Count) itemIndex = Items.Count - 1; - - ItemIndex = itemIndex; - - base.OnMouseScroll(e); - } - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadPress(GamePadEventArgs e) - { - if (e.Button == GamePadActions.Down) - { - e.Handled = true; - itemIndex += sbVert.StepSize / 10; - } - else if (e.Button == GamePadActions.Up) - { - e.Handled = true; - itemIndex -= sbVert.StepSize / 10; - } - - if (itemIndex < 0) itemIndex = 0; - else if (itemIndex >= Items.Count) itemIndex = Items.Count - 1; - - ItemIndex = itemIndex; - base.OnGamePadPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ItemsChanged() - { - if (items != null && items.Count > 0) - { - SkinText font = Skin.Layers["Control"].Text; - int h = (int)font.Font.Resource.MeasureString(items[0].ToString()).Y; - - int sizev = Height - Skin.Layers["Control"].ContentMargins.Vertical; - sbVert.Range = items.Count * 10; - sbVert.PageSize = (int)Math.Floor((float)sizev * 10 / h); - Invalidate(); - } - else if (items == null || items.Count <= 0) - { - sbVert.Range = 1; - sbVert.PageSize = 1; - Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - ItemsChanged(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void ScrollTo(int index) - { - ItemsChanged(); - if ((index * 10) < sbVert.Value) - { - sbVert.Value = index * 10; - } - else if (index >= (int)Math.Floor(((float)sbVert.Value + sbVert.PageSize) / 10f)) - { - sbVert.Value = ((index + 1) * 10) - sbVert.PageSize; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - - if (Visible && items != null && items.Count != itemsCount) - { - itemsCount = items.Count; - ItemsChanged(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnItemIndexChanged(EventArgs e) - { - if (ItemIndexChanged != null) ItemIndexChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnHotTrackChanged(EventArgs e) - { - if (HotTrackChanged != null) HotTrackChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnHideSelectionChanged(EventArgs e) - { - if (HideSelectionChanged != null) HideSelectionChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/Neoforce/MainMenu.cs b/Neoforce/MainMenu.cs deleted file mode 100644 index b4f5ac4..0000000 --- a/Neoforce/MainMenu.cs +++ /dev/null @@ -1,362 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: MainMenu.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class MainMenu: MenuBase - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Rectangle[] rs; - private int lastIndex = -1; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public MainMenu(Manager manager): base(manager) - { - Left = 0; - Top = 0; - Height = 24; - Detached = false; - DoubleClicks = false; - StayOnBack = true; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["MainMenu"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - SkinLayer l1 = Skin.Layers["Control"]; - SkinLayer l2 = Skin.Layers["Selection"]; - rs = new Rectangle[Items.Count]; - - renderer.DrawLayer(this, l1, rect, ControlState.Enabled); - - int prev = l1.ContentMargins.Left; - for (int i = 0; i < Items.Count; i++) - { - MenuItem mi = Items[i]; - - int tw = (int)l1.Text.Font.Resource.MeasureString(mi.Text).X + l1.ContentMargins.Horizontal; - rs[i] = new Rectangle(rect.Left + prev, rect.Top + l1.ContentMargins.Top, tw, Height - l1.ContentMargins.Vertical); - prev += tw; - - if (ItemIndex != i) - { - if (mi.Enabled && Enabled) - { - renderer.DrawString(this, l1, mi.Text, rs[i], ControlState.Enabled, false); - } - else - { - renderer.DrawString(this, l1, mi.Text, rs[i], ControlState.Disabled, false); - } - } - else - { - if (Items[i].Enabled && Enabled) - { - renderer.DrawLayer(this, l2, rs[i], ControlState.Enabled); - renderer.DrawString(this, l2, mi.Text, rs[i], ControlState.Enabled, false); - } - else - { - renderer.DrawLayer(this, l2, rs[i], ControlState.Disabled); - renderer.DrawString(this, l2, mi.Text, rs[i], ControlState.Disabled, false); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void TrackItem(int x, int y) - { - if (Items != null && Items.Count > 0 && rs != null) - { - Invalidate(); - for (int i = 0; i < rs.Length; i++) - { - if (rs[i].Contains(x, y)) - { - if (i >= 0 && i != ItemIndex) - { - Items[i].SelectedInvoke(new EventArgs()); - } - ItemIndex = i; - return; - } - } - if (ChildMenu == null) ItemIndex = -1; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckArea(int x, int y) - { - return true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseMove(MouseEventArgs e) - { - base.OnMouseMove(e); - int i = lastIndex; - - TrackItem(e.State.X - Root.AbsoluteLeft, e.State.Y - Root.AbsoluteTop); - - if (ItemIndex >= 0 && (i == -1 || i != ItemIndex) && Items[ItemIndex].Items != null && Items[ItemIndex].Items.Count > 0 && ChildMenu != null) - { - HideSubMenu(); - lastIndex = ItemIndex; - OnClick(e); - } - else if (ChildMenu != null && i != ItemIndex) - { - HideSubMenu(); - Focused = true; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseDown(MouseEventArgs e) - { - base.OnMouseDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseOut(MouseEventArgs e) - { - base.OnMouseOut(e); - - OnMouseMove(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void HideSubMenu() - { - if (ChildMenu != null) - { - (ChildMenu as ContextMenu).HideMenu(true); - ChildMenu.Dispose(); - ChildMenu = null; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void HideMenu() - { - if (ChildMenu != null) - { - (ChildMenu as ContextMenu).HideMenu(true); - ChildMenu.Dispose(); - ChildMenu = null; - } - if (Manager.FocusedControl is MenuBase) Focused = true; - Invalidate(); - ItemIndex = -1; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - base.OnClick(e); - - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - if (ItemIndex >= 0 && Items[ItemIndex].Enabled) - { - if (ItemIndex >= 0 && Items[ItemIndex].Items != null && Items[ItemIndex].Items.Count > 0) - { - if (ChildMenu != null) - { - ChildMenu.Dispose(); - ChildMenu = null; - } - ChildMenu = new ContextMenu(Manager); - (ChildMenu as ContextMenu).RootMenu = this; - (ChildMenu as ContextMenu).ParentMenu = this; - (ChildMenu as ContextMenu).Sender = this.Root; - ChildMenu.Items.AddRange(Items[ItemIndex].Items); - - int y = Root.AbsoluteTop + rs[ItemIndex].Bottom + 1; - (ChildMenu as ContextMenu).Show(this.Root, Root.AbsoluteLeft + rs[ItemIndex].Left, y); - if (ex.Button == MouseButton.None) (ChildMenu as ContextMenu).ItemIndex = 0; - } - else - { - if (ItemIndex >= 0) - { - Items[ItemIndex].ClickInvoke(ex); - } - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnKeyPress(KeyEventArgs e) - { - base.OnKeyPress(e); - - if (e.Key == Keys.Right) - { - ItemIndex += 1; - e.Handled = true; - } - if (e.Key == Keys.Left) - { - ItemIndex -= 1; - e.Handled = true; - } - - if (ItemIndex > Items.Count - 1) ItemIndex = 0; - if (ItemIndex < 0) ItemIndex = Items.Count - 1; - - if (e.Key == Keys.Down && Items.Count > 0 && Items[ItemIndex].Items.Count > 0) - { - e.Handled = true; - OnClick(new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - if (e.Key == Keys.Escape) - { - e.Handled = true; - ItemIndex = -1; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadPress(GamePadEventArgs e) - { - base.OnGamePadPress(e); - - if (e.Button == GamePadActions.Right) - { - ItemIndex += 1; - e.Handled = true; - } - if (e.Button == GamePadActions.Left) - { - ItemIndex -= 1; - e.Handled = true; - } - - if (ItemIndex > Items.Count - 1) ItemIndex = 0; - if (ItemIndex < 0) ItemIndex = Items.Count - 1; - - if (e.Button == GamePadActions.Down && Items[ItemIndex].Items.Count > 0) - { - e.Handled = true; - OnClick(new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnFocusGained(EventArgs e) - { - base.OnFocusGained(e); - if (ItemIndex < 0 && Items.Count > 0) ItemIndex = 0; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnFocusLost(EventArgs e) - { - base.OnFocusLost(e); - if (ChildMenu == null || !ChildMenu.Visible) ItemIndex = -1; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Manager.cs b/Neoforce/Manager.cs deleted file mode 100644 index 24fc0d8..0000000 --- a/Neoforce/Manager.cs +++ /dev/null @@ -1,1849 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Manager.cs // -// // -// Version: 0.8 // -// // -// Date: 05/07/2014 // -// // -// Author: Nathan 'Grimston' Pipes // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane 2010 // -// Copyright (c) by Nathan Pipes 2014 // -// // -//////////////////////////////////////////////////////////////// - - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using System.Reflection; -using Microsoft.Xna.Framework.Input; - -#if (!XBOX && !XBOX_FAKE) -using System.IO; -using System.Text; -using System.Media; -#endif -//////////////////////////////////////////////////////////////////////////// - -#endregion - -[assembly: CLSCompliant(false)] - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Manages rendering of all controls. - /// - public class Manager : DrawableGameComponent - { - - private struct ControlStates - { - public Control[] Buttons; - public int Click; - public Control Over; - } - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - internal Version _SkinVersion = new Version(0, 7); - internal Version _LayoutVersion = new Version(0, 7); - internal const string _SkinDirectory = ".\\Content\\Skins\\"; - internal const string _LayoutDirectory = ".\\Content\\Layout\\"; - internal const string _DefaultSkin = "Default"; - internal const string _SkinExtension = ".skin"; - internal const int _MenuDelay = 500; - internal const int _ToolTipDelay = 500; - internal const int _DoubleClickTime = 500; - internal const int _TextureResizeIncrement = 32; - internal const RenderTargetUsage _RenderTargetUsage = RenderTargetUsage.DiscardContents; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool deviceReset = false; - private bool renderTargetValid = false; - private RenderTarget2D renderTarget = null; - private int targetFrames = 60; - private long drawTime = 0; - private long updateTime = 0; - private GraphicsDeviceManager graphics = null; - private ArchiveManager content = null; - private Renderer renderer = null; - private InputSystem input = null; - private bool inputEnabled = true; - private List components = null; - private ControlsList controls = null; - private ControlsList orderList = null; - private Skin skin = null; - private string skinName = _DefaultSkin; - private string layoutDirectory = _LayoutDirectory; - private string skinDirectory = _SkinDirectory; - private string skinExtension = _SkinExtension; - private Control focusedControl = null; - private ModalContainer modalWindow = null; - private float globalDepth = 0.0f; - private int toolTipDelay = _ToolTipDelay; - private bool toolTipsEnabled = true; - private int menuDelay = _MenuDelay; - private int doubleClickTime = _DoubleClickTime; - private int textureResizeIncrement = _TextureResizeIncrement; - private bool logUnhandledExceptions = true; - private ControlStates states = new ControlStates(); - private KeyboardLayout keyboardLayout = null; - private List keyboardLayouts = new List(); - private bool disposing = false; - private bool useGuide = false; - private bool autoUnfocus = true; - private bool autoCreateRenderTarget = true; - private Cursor cursor = null; - private bool softwareCursor = false; - - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets a value indicating whether Manager is in the process of disposing. - /// - public virtual bool Disposing - { - get { return disposing; } - } - //////////////////////////////////////////////////////////////////////////// - - /// - /// Gets or sets an application cursor. - /// - public Cursor Cursor - { - get { return cursor; } - set { cursor = value; } - } - - /// - /// Should a software cursor be drawn? Very handy on a PC build. - /// - public bool ShowSoftwareCursor - { - get { return softwareCursor; } - set { softwareCursor = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Returns associated component. - /// - public virtual new Game Game { get { return base.Game; } } - - /// - /// Returns associated . - /// - public virtual new GraphicsDevice GraphicsDevice { get { return base.GraphicsDevice; } } - - /// - /// Returns associated . - /// - public virtual GraphicsDeviceManager Graphics { get { return graphics; } } - - /// - /// Returns used for rendering controls. - /// - public virtual Renderer Renderer { get { return renderer; } } - - /// - /// Returns used for loading assets. - /// - public virtual ArchiveManager Content { get { return content; } } - - /// - /// Returns instance responsible for managing user input. - /// - public virtual InputSystem Input { get { return input; } } - - /// - /// Returns list of components added to the manager. - /// - public virtual IEnumerable Components { get { return components; } } - - /// - /// Returns list of controls added to the manager. - /// - public virtual IEnumerable Controls { get { return controls; } } - - /// - /// Gets or sets the depth value used for rendering sprites. - /// - public virtual float GlobalDepth { get { return globalDepth; } set { globalDepth = value; } } - - /// - /// Gets or sets the time that passes before the appears. - /// - public virtual int ToolTipDelay { get { return toolTipDelay; } set { toolTipDelay = value; } } - - /// - /// Gets or sets the time that passes before a submenu appears when hovered over menu item. - /// - public virtual int MenuDelay { get { return menuDelay; } set { menuDelay = value; } } - - /// - /// Gets or sets the maximum number of milliseconds that can elapse between a first click and a second click to consider the mouse action a double-click. - /// - public virtual int DoubleClickTime { get { return doubleClickTime; } set { doubleClickTime = value; } } - - /// - /// Gets or sets texture size increment in pixel while performing controls resizing. - /// - public virtual int TextureResizeIncrement { get { return textureResizeIncrement; } set { textureResizeIncrement = value; } } - - /// - /// Enables or disables showing of tooltips globally. - /// - public virtual bool ToolTipsEnabled { get { return toolTipsEnabled; } set { toolTipsEnabled = value; } } - - /// - /// Enables or disables logging of unhandled exceptions. - /// - public virtual bool LogUnhandledExceptions { get { return logUnhandledExceptions; } set { logUnhandledExceptions = value; } } - - /// - /// Enables or disables input processing. - /// - public virtual bool InputEnabled { get { return inputEnabled; } set { inputEnabled = value; } } - - /// - /// Gets or sets render target for drawing. - /// - public virtual RenderTarget2D RenderTarget { get { return renderTarget; } set { renderTarget = value; } } - - /// - /// Gets or sets update interval for drawing, logic and input. - /// - public virtual int TargetFrames { get { return targetFrames; } set { targetFrames = value; } } - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets collection of active keyboard layouts. - /// - public virtual List KeyboardLayouts - { - get { return keyboardLayouts; } - set { keyboardLayouts = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating if Guide component can be used - /// - public bool UseGuide - { - get { return useGuide; } - set { useGuide = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating if a control should unfocus if you click outside on the screen. - /// - //////////////////////////////////////////////////////////////////////////// - public virtual bool AutoUnfocus - { - get { return autoUnfocus; } - set { autoUnfocus = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets a value indicating wheter Manager should create render target automatically. - /// - //////////////////////////////////////////////////////////////////////////// - public virtual bool AutoCreateRenderTarget - { - get { return autoCreateRenderTarget; } - set { autoCreateRenderTarget = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets current keyboard layout for text input. - /// - public virtual KeyboardLayout KeyboardLayout - { - get - { - if (keyboardLayout == null) - { - keyboardLayout = new KeyboardLayout(); - } - return keyboardLayout; - } - set - { - keyboardLayout = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the initial directory for looking for the skins in. - /// - public virtual string SkinDirectory - { - get - { - if (!skinDirectory.EndsWith("\\")) - { - skinDirectory += "\\"; - } - return skinDirectory; - } - set - { - skinDirectory = value; - if (!skinDirectory.EndsWith("\\")) - { - skinDirectory += "\\"; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets the initial directory for looking for the layout files in. - /// - public virtual string LayoutDirectory - { - get - { - if (!layoutDirectory.EndsWith("\\")) - { - layoutDirectory += "\\"; - } - return layoutDirectory; - } - set - { - layoutDirectory = value; - if (!layoutDirectory.EndsWith("\\")) - { - layoutDirectory += "\\"; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets file extension for archived skin files. - /// - public string SkinExtension - { - get - { - if (!skinExtension.StartsWith(".")) - { - skinExtension = "." + skinExtension; - } - return skinExtension; - } - set - { - skinExtension = value; - if (!skinExtension.StartsWith(".")) - { - skinExtension = "." + skinExtension; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets width of the selected render target in pixels. - /// - public virtual int TargetWidth - { - get - { - if (renderTarget != null) - { - return renderTarget.Width; - } - else return ScreenWidth; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets height of the selected render target in pixels. - /// - public virtual int TargetHeight - { - get - { - if (renderTarget != null) - { - return renderTarget.Height; - } - else return ScreenHeight; - } - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets current width of the screen in pixels. - /// - public virtual int ScreenWidth - { - get - { - if (GraphicsDevice != null) - { - return GraphicsDevice.PresentationParameters.BackBufferWidth; - } - else return 0; - } - - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets current height of the screen in pixels. - /// - public virtual int ScreenHeight - { - get - { - if (GraphicsDevice != null) - { - return GraphicsDevice.PresentationParameters.BackBufferHeight; - } - else return 0; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Gets or sets new skin used by all controls. - /// - public virtual Skin Skin - { - get - { - return skin; - } - set - { - SetSkin(value); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Returns currently active modal window. - /// - public virtual ModalContainer ModalWindow - { - get - { - return modalWindow; - } - internal set - { - modalWindow = value; - - if (value != null) - { - value.ModalResult = ModalResult.None; - - value.Visible = true; - value.Focused = true; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Returns currently focused control. - /// - public virtual Control FocusedControl - { - get - { - return focusedControl; - } - internal set - { - if (value != null && value.Visible && value.Enabled) - { - if (value != null && value.CanFocus) - { - if (focusedControl == null || (focusedControl != null && value.Root != focusedControl.Root) || !value.IsRoot) - { - if (focusedControl != null && focusedControl != value) - { - focusedControl.Focused = false; - } - focusedControl = value; - } - } - else if (value != null && !value.CanFocus) - { - if (focusedControl != null && value.Root != focusedControl.Root) - { - if (focusedControl != value.Root) - { - focusedControl.Focused = false; - } - focusedControl = value.Root; - } - else if (focusedControl == null) - { - focusedControl = value.Root; - } - } - BringToFront(value.Root); - } - else if (value == null) - { - focusedControl = value; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal virtual ControlsList OrderList { get { return orderList; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Occurs when the GraphicsDevice settings are changed. - /// - public event DeviceEventHandler DeviceSettingsChanged; - - /// - /// Occurs when the skin is about to change. - /// - public event SkinEventHandler SkinChanging; - - /// - /// Occurs when the skin changes. - /// - public event SkinEventHandler SkinChanged; - - /// - /// Occurs when game window is about to close. - /// - public event WindowClosingEventHandler WindowClosing; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Initializes a new instance of the Manager class. - /// - /// - /// The Game class. - /// - /// - /// The GraphicsDeviceManager class provided by the Game class. - /// - /// - /// The name of the skin being loaded at the start. - /// - public Manager(Game game, GraphicsDeviceManager graphics, string skin) - : base(game) - { - disposing = false; - - AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(HandleUnhadledExceptions); - - content = new ArchiveManager(Game.Services); - input = new InputSystem(this, new InputOffset(0, 0, 1f, 1f)); - components = new List(); - controls = new ControlsList(); - orderList = new ControlsList(); - - this.graphics = graphics; - graphics.PreparingDeviceSettings += new EventHandler(PrepareGraphicsDevice); - - skinName = skin; - -#if (XBOX_FAKE) - game.Window.Title += " (XBOX_FAKE)"; -#endif - - states.Buttons = new Control[32]; - states.Click = -1; - states.Over = null; - - input.MouseDown += new MouseEventHandler(MouseDownProcess); - input.MouseUp += new MouseEventHandler(MouseUpProcess); - input.MousePress += new MouseEventHandler(MousePressProcess); - input.MouseMove += new MouseEventHandler(MouseMoveProcess); - input.MouseScroll += new MouseEventHandler(MouseScrollProcess); - - input.GamePadDown += new GamePadEventHandler(GamePadDownProcess); - input.GamePadUp += new GamePadEventHandler(GamePadUpProcess); - input.GamePadPress += new GamePadEventHandler(GamePadPressProcess); - - input.KeyDown += new KeyEventHandler(KeyDownProcess); - input.KeyUp += new KeyEventHandler(KeyUpProcess); - input.KeyPress += new KeyEventHandler(KeyPressProcess); - - keyboardLayouts.Add(new KeyboardLayout()); - keyboardLayouts.Add(new CzechKeyboardLayout()); - keyboardLayouts.Add(new GermanKeyboardLayout()); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Initializes a new instance of the Manager class. - /// - /// - /// The Game class. - /// - /// - /// The name of the skin being loaded at the start. - /// - public Manager(Game game, string skin) - : this(game, game.Services.GetService(typeof(IGraphicsDeviceManager)) as GraphicsDeviceManager, skin) - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Initializes a new instance of the Manager class, loads the default skin and registers manager in the game class automatically. - /// - /// - /// The Game class. - /// - /// - /// The GraphicsDeviceManager class provided by the Game class. - /// - public Manager(Game game, GraphicsDeviceManager graphics) - : this(game, graphics, _DefaultSkin) - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Initializes a new instance of the Manager class, loads the default skin and registers manager in the game class automatically. - /// - /// - /// The Game class. - /// - public Manager(Game game) - : this(game, game.Services.GetService(typeof(IGraphicsDeviceManager)) as GraphicsDeviceManager, _DefaultSkin) - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - this.disposing = true; - - // Recursively disposing all controls added to the manager and its child controls. - if (controls != null) - { - int c = controls.Count; - for (int i = 0; i < c; i++) - { - if (controls.Count > 0) controls[0].Dispose(); - } - } - - // Disposing all components added to manager. - if (components != null) - { - int c = components.Count; - for (int i = 0; i < c; i++) - { - if (components.Count > 0) components[0].Dispose(); - } - } - - if (content != null) - { - content.Unload(); - content.Dispose(); - content = null; - } - - if (renderer != null) - { - renderer.Dispose(); - renderer = null; - } - if (input != null) - { - input.Dispose(); - input = null; - } - } - if (GraphicsDevice != null) - GraphicsDevice.DeviceReset -= new System.EventHandler(GraphicsDevice_DeviceReset); - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - - public void SetCursor(Cursor cursor) - { - this.cursor = cursor; - if (this.cursor.CursorTexture == null) - { - this.cursor.CursorTexture = Texture2D.FromStream(GraphicsDevice, new FileStream( - this.cursor.cursorPath, FileMode.Open, FileAccess.ReadWrite, FileShare.None)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void InitSkins() - { - // Initializing skins for every control created, even not visible or - // not added to the manager or another parent. - foreach (Control c in Control.Stack) - { - c.InitSkin(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void InitControls() - { - // Initializing all controls created, even not visible or - // not added to the manager or another parent. - foreach (Control c in Control.Stack) - { - c.Init(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void SortLevel(ControlsList cs) - { - if (cs != null) - { - foreach (Control c in cs) - { - if (c.Visible) - { - OrderList.Add(c); - SortLevel(c.Controls as ControlsList); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Method used as an event handler for the GraphicsDeviceManager.PreparingDeviceSettings event. - /// - protected virtual void PrepareGraphicsDevice(object sender, PreparingDeviceSettingsEventArgs e) - { - e.GraphicsDeviceInformation.PresentationParameters.RenderTargetUsage = _RenderTargetUsage; - int w = e.GraphicsDeviceInformation.PresentationParameters.BackBufferWidth; - int h = e.GraphicsDeviceInformation.PresentationParameters.BackBufferHeight; - - foreach (Control c in Controls) - { - SetMaxSize(c, w, h); - } - - - if (DeviceSettingsChanged != null) DeviceSettingsChanged.Invoke(new DeviceEventArgs(e)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void SetMaxSize(Control c, int w, int h) - { - if (c.Width > w) - { - w -= (c.Skin != null) ? c.Skin.OriginMargins.Horizontal : 0; - c.Width = w; - } - if (c.Height > h) - { - h -= (c.Skin != null) ? c.Skin.OriginMargins.Vertical : 0; - c.Height = h; - } - - foreach (Control cx in c.Controls) - { - SetMaxSize(cx, w, h); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Initializes the controls manager. - /// - //////////////////////////////////////////////////////////////////////////// - public override void Initialize() - { - base.Initialize(); - - if (autoCreateRenderTarget) - { - if (renderTarget != null) - { - renderTarget.Dispose(); - } - renderTarget = CreateRenderTarget(); - } - - GraphicsDevice.DeviceReset += new System.EventHandler(GraphicsDevice_DeviceReset); - - input.Initialize(); - renderer = new Renderer(this); - SetSkin(skinName); - } - //////////////////////////////////////////////////////////////////////////// - - private void InvalidateRenderTarget() - { - renderTargetValid = false; - } - - //////////////////////////////////////////////////////////////////////////// - public virtual RenderTarget2D CreateRenderTarget() - { - return CreateRenderTarget(ScreenWidth, ScreenHeight); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual RenderTarget2D CreateRenderTarget(int width, int height) - { - Input.InputOffset = new InputOffset(0, 0, ScreenWidth / (float)width, ScreenHeight / (float)height); - return new RenderTarget2D(GraphicsDevice, width, height, false, SurfaceFormat.Color, DepthFormat.None, GraphicsDevice.PresentationParameters.MultiSampleCount, _RenderTargetUsage); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Sets and loads the new skin. - /// - /// - /// The name of the skin being loaded. - /// - public virtual void SetSkin(string name) - { - Skin skin = new Skin(this, name); - SetSkin(skin); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Sets the new skin. - /// - /// - /// The skin being set. - /// - public virtual void SetSkin(Skin skin) - { - if (SkinChanging != null) SkinChanging.Invoke(new EventArgs()); - - if (this.skin != null) - { - Remove(this.skin); - this.skin.Dispose(); - this.skin = null; - GC.Collect(); - } - this.skin = skin; - this.skin.Init(); - Add(this.skin); - skinName = this.skin.Name; - -#if (!XBOX && !XBOX_FAKE) - if (this.skin.Cursors["Default"] != null) - { - SetCursor(this.skin.Cursors["Default"].Resource); - } -#endif - - InitSkins(); - if (SkinChanged != null) SkinChanged.Invoke(new EventArgs()); - - InitControls(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Brings the control to the front of the z-order. - /// - /// - /// The control being brought to the front. - /// - public virtual void BringToFront(Control control) - { - if (control != null && !control.StayOnBack) - { - ControlsList cs = (control.Parent == null) ? controls as ControlsList : control.Parent.Controls as ControlsList; - if (cs.Contains(control)) - { - cs.Remove(control); - if (!control.StayOnTop) - { - int pos = cs.Count; - for (int i = cs.Count - 1; i >= 0; i--) - { - if (!cs[i].StayOnTop) - { - break; - } - pos = i; - } - cs.Insert(pos, control); - } - else - { - cs.Add(control); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Sends the control to the back of the z-order. - /// - /// - /// The control being sent back. - /// - public virtual void SendToBack(Control control) - { - if (control != null && !control.StayOnTop) - { - ControlsList cs = (control.Parent == null) ? controls as ControlsList : control.Parent.Controls as ControlsList; - if (cs.Contains(control)) - { - cs.Remove(control); - if (!control.StayOnBack) - { - int pos = 0; - for (int i = 0; i < cs.Count; i++) - { - if (!cs[i].StayOnBack) - { - break; - } - pos = i; - } - cs.Insert(pos, control); - } - else - { - cs.Insert(0, control); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Called when the manager needs to be updated. - /// - /// - /// Time elapsed since the last call to Update. - /// - public override void Update(GameTime gameTime) - { - updateTime += gameTime.ElapsedGameTime.Ticks; - double ms = TimeSpan.FromTicks(updateTime).TotalMilliseconds; - - if (targetFrames == 0 || ms == 0 || ms >= (1000f / targetFrames)) - { - TimeSpan span = TimeSpan.FromTicks(updateTime); - gameTime = new GameTime(gameTime.TotalGameTime, span); - updateTime = 0; - - if (inputEnabled) - { - input.Update(gameTime); - } - - if (components != null) - { - foreach (Component c in components) - { - c.Update(gameTime); - } - } - - ControlsList list = new ControlsList(controls); - - if (list != null) - { - foreach (Control c in list) - { - c.Update(gameTime); - } - } - - OrderList.Clear(); - SortLevel(controls); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Adds a component or a control to the manager. - /// - /// - /// The component or control being added. - /// - public virtual void Add(Component component) - { - if (component != null) - { - if (component is Control && !controls.Contains(component as Control)) - { - Control c = (Control)component; - - if (c.Parent != null) c.Parent.Remove(c); - - controls.Add(c); - c.Manager = this; - c.Parent = null; - if (focusedControl == null) c.Focused = true; - - DeviceSettingsChanged += new DeviceEventHandler((component as Control).OnDeviceSettingsChanged); - SkinChanging += new SkinEventHandler((component as Control).OnSkinChanging); - SkinChanged += new SkinEventHandler((component as Control).OnSkinChanged); - } - else if (!(component is Control) && !components.Contains(component)) - { - components.Add(component); - component.Manager = this; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Removes a component or a control from the manager. - /// - /// - /// The component or control being removed. - /// - public virtual void Remove(Component component) - { - if (component != null) - { - if (component is Control) - { - Control c = component as Control; - SkinChanging -= c.OnSkinChanging; - SkinChanged -= c.OnSkinChanged; - DeviceSettingsChanged -= c.OnDeviceSettingsChanged; - - if (c.Focused) c.Focused = false; - controls.Remove(c); - } - else - { - components.Remove(component); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Prepare(GameTime gameTime) - { - - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Renders all controls added to the manager. - /// - /// - /// Time passed since the last call to Draw. - /// - public virtual void BeginDraw(GameTime gameTime) - { - if (!renderTargetValid && AutoCreateRenderTarget) - { - if (renderTarget != null) RenderTarget.Dispose(); - RenderTarget = CreateRenderTarget(); - renderer = new Renderer(this); - } - Draw(gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Draw(GameTime gameTime) - { - if (renderTarget != null) - { - drawTime += gameTime.ElapsedGameTime.Ticks; - double ms = TimeSpan.FromTicks(drawTime).TotalMilliseconds; - - //if (targetFrames == 0 || (ms == 0 || ms >= (1000f / targetFrames))) - //{ - TimeSpan span = TimeSpan.FromTicks(drawTime); - gameTime = new GameTime(gameTime.TotalGameTime, span); - drawTime = 0; - - if ((controls != null)) - { - ControlsList list = new ControlsList(); - list.AddRange(controls); - - foreach (Control c in list) - { - c.PrepareTexture(renderer, gameTime); - } - - GraphicsDevice.SetRenderTarget(renderTarget); - GraphicsDevice.Clear(Color.Transparent); - - if (renderer != null) - { - foreach (Control c in list) - { - c.Render(renderer, gameTime); - } - } - } - - if (softwareCursor && Cursor != null) - { - if (this.cursor.CursorTexture == null) - { - this.cursor.CursorTexture = Texture2D.FromStream(GraphicsDevice, new FileStream( - this.cursor.cursorPath, FileMode.Open, FileAccess.ReadWrite, FileShare.None)); - } - renderer.SpriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend); - MouseState mstate = Mouse.GetState(); - Rectangle rect = new Rectangle(mstate.X, mstate.Y, Cursor.Width, Cursor.Height); - renderer.SpriteBatch.Draw(Cursor.CursorTexture, rect, null, Color.White, 0f, Cursor.HotSpot, SpriteEffects.None, 0f); - renderer.SpriteBatch.End(); - } - - GraphicsDevice.SetRenderTarget(null); - //} - } - else - { - throw new Exception("Manager.RenderTarget has to be specified. Assign a render target or set Manager.AutoCreateRenderTarget property to true."); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Draws texture resolved from RenderTarget used for rendering. - /// - //////////////////////////////////////////////////////////////////////////// - public virtual void EndDraw() - { - EndDraw(new Rectangle(0, 0, ScreenWidth, ScreenHeight)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - /// Draws texture resolved from RenderTarget to specified rectangle. - /// - //////////////////////////////////////////////////////////////////////////// - public virtual void EndDraw(Rectangle rect) - { - if (renderTarget != null && !deviceReset) - { - renderer.Begin(BlendingMode.Default); - renderer.Draw(RenderTarget, rect, Color.White); - renderer.End(); - } - else if (deviceReset) - { - deviceReset = false; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Control GetControl(string name) - { - foreach (Control c in Controls) - { - if (c.Name.ToLower() == name.ToLower()) - { - return c; - } - } - return null; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void HandleUnhadledExceptions(object sender, UnhandledExceptionEventArgs e) - { - if (LogUnhandledExceptions) - { - LogException(e.ExceptionObject as Exception); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void GraphicsDevice_DeviceReset(object sender, System.EventArgs e) - { - deviceReset = true; - InvalidateRenderTarget(); - /*if (AutoCreateRenderTarget) - { - if (renderTarget != null) RenderTarget.Dispose(); - RenderTarget = CreateRenderTarget(); - } - }*/ - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void LogException(Exception e) - { -#if (!XBOX && !XBOX_FAKE) - string an = Assembly.GetEntryAssembly().Location; - Assembly asm = Assembly.GetAssembly(typeof(Manager)); - string path = Path.GetDirectoryName(an); - string fn = path + "\\" + Path.GetFileNameWithoutExtension(asm.Location) + ".log"; - - File.AppendAllText(fn, "////////////////////////////////////////////////////////////////\n" + - " Date: " + DateTime.Now.ToString() + "\n" + - "Assembly: " + Path.GetFileName(asm.Location) + "\n" + - " Version: " + asm.GetName().Version.ToString() + "\n" + - " Message: " + e.Message + "\n" + - "////////////////////////////////////////////////////////////////\n" + - e.StackTrace + "\n" + - "////////////////////////////////////////////////////////////////\n\n", Encoding.Default); -#endif - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Input ///////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckParent(Control control, Point pos) - { - if (control.Parent != null && !CheckDetached(control)) - { - Control parent = control.Parent; - Control root = control.Root; - - Rectangle pr = new Rectangle(parent.AbsoluteLeft, - parent.AbsoluteTop, - parent.Width, - parent.Height); - - Margins margins = root.Skin.ClientMargins; - Rectangle rr = new Rectangle(root.AbsoluteLeft + margins.Left, - root.AbsoluteTop + margins.Top, - root.OriginWidth - margins.Horizontal, - root.OriginHeight - margins.Vertical); - - - return (rr.Contains(pos) && pr.Contains(pos)); - } - - return true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckState(Control control) - { - bool modal = (ModalWindow == null) ? true : (ModalWindow == control.Root); - - return (control != null && !control.Passive && control.Visible && control.Enabled && modal); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckOrder(Control control, Point pos) - { - if (!CheckPosition(control, pos)) return false; - - for (int i = OrderList.Count - 1; i > OrderList.IndexOf(control); i--) - { - Control c = OrderList[i]; - - if (!c.Passive && CheckPosition(c, pos) && CheckParent(c, pos)) - { - return false; - } - } - - return true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckDetached(Control control) - { - bool ret = control.Detached; - if (control.Parent != null) - { - if (CheckDetached(control.Parent)) ret = true; - } - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckPosition(Control control, Point pos) - { - return (control.AbsoluteLeft <= pos.X && - control.AbsoluteTop <= pos.Y && - control.AbsoluteLeft + control.Width >= pos.X && - control.AbsoluteTop + control.Height >= pos.Y && - CheckParent(control, pos)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool CheckButtons(int index) - { - for (int i = 0; i < states.Buttons.Length; i++) - { - if (i == index) continue; - if (states.Buttons[i] != null) return false; - } - - return true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void TabNextControl(Control control) - { - int start = OrderList.IndexOf(control); - int i = start; - - do - { - if (i < OrderList.Count - 1) i += 1; - else i = 0; - } - while ((OrderList[i].Root != control.Root || !OrderList[i].CanFocus || OrderList[i].IsRoot || !OrderList[i].Enabled) && i != start); - - OrderList[i].Focused = true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void TabPrevControl(Control control) - { - int start = OrderList.IndexOf(control); - int i = start; - - do - { - if (i > 0) i -= 1; - else i = OrderList.Count - 1; - } - while ((OrderList[i].Root != control.Root || !OrderList[i].CanFocus || OrderList[i].IsRoot || !OrderList[i].Enabled) && i != start); - OrderList[i].Focused = true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ProcessArrows(Control control, KeyEventArgs kbe, GamePadEventArgs gpe) - { - Control c = control; - if (c.Parent != null && c.Parent.Controls != null) - { - int index = -1; - - if ((kbe.Key == Microsoft.Xna.Framework.Input.Keys.Left && !kbe.Handled) || - (gpe.Button == c.GamePadActions.Left && !gpe.Handled)) - { - int miny = int.MaxValue; - int minx = int.MinValue; - for (int i = 0; i < (c.Parent.Controls as ControlsList).Count; i++) - { - Control cx = (c.Parent.Controls as ControlsList)[i]; - if (cx == c || !cx.Visible || !cx.Enabled || cx.Passive || !cx.CanFocus) continue; - - int cay = (int)(c.Top + (c.Height / 2)); - int cby = (int)(cx.Top + (cx.Height / 2)); - - if (Math.Abs(cay - cby) <= miny && (cx.Left + cx.Width) >= minx && (cx.Left + cx.Width) <= c.Left) - { - miny = Math.Abs(cay - cby); - minx = cx.Left + cx.Width; - index = i; - } - } - } - else if ((kbe.Key == Microsoft.Xna.Framework.Input.Keys.Right && !kbe.Handled) || - (gpe.Button == c.GamePadActions.Right && !gpe.Handled)) - { - int miny = int.MaxValue; - int minx = int.MaxValue; - for (int i = 0; i < (c.Parent.Controls as ControlsList).Count; i++) - { - Control cx = (c.Parent.Controls as ControlsList)[i]; - if (cx == c || !cx.Visible || !cx.Enabled || cx.Passive || !cx.CanFocus) continue; - - int cay = (int)(c.Top + (c.Height / 2)); - int cby = (int)(cx.Top + (cx.Height / 2)); - - if (Math.Abs(cay - cby) <= miny && cx.Left <= minx && cx.Left >= (c.Left + c.Width)) - { - miny = Math.Abs(cay - cby); - minx = cx.Left; - index = i; - } - } - } - else if ((kbe.Key == Microsoft.Xna.Framework.Input.Keys.Up && !kbe.Handled) || - (gpe.Button == c.GamePadActions.Up && !gpe.Handled)) - { - int miny = int.MinValue; - int minx = int.MaxValue; - for (int i = 0; i < (c.Parent.Controls as ControlsList).Count; i++) - { - Control cx = (c.Parent.Controls as ControlsList)[i]; - if (cx == c || !cx.Visible || !cx.Enabled || cx.Passive || !cx.CanFocus) continue; - - int cax = (int)(c.Left + (c.Width / 2)); - int cbx = (int)(cx.Left + (cx.Width / 2)); - - if (Math.Abs(cax - cbx) <= minx && (cx.Top + cx.Height) >= miny && (cx.Top + cx.Height) <= c.Top) - { - minx = Math.Abs(cax - cbx); - miny = cx.Top + cx.Height; - index = i; - } - } - } - else if ((kbe.Key == Microsoft.Xna.Framework.Input.Keys.Down && !kbe.Handled) || - (gpe.Button == c.GamePadActions.Down && !gpe.Handled)) - { - int miny = int.MaxValue; - int minx = int.MaxValue; - for (int i = 0; i < (c.Parent.Controls as ControlsList).Count; i++) - { - Control cx = (c.Parent.Controls as ControlsList)[i]; - if (cx == c || !cx.Visible || !cx.Enabled || cx.Passive || !cx.CanFocus) continue; - - int cax = (int)(c.Left + (c.Width / 2)); - int cbx = (int)(cx.Left + (cx.Width / 2)); - - if (Math.Abs(cax - cbx) <= minx && cx.Top <= miny && cx.Top >= (c.Top + c.Height)) - { - minx = Math.Abs(cax - cbx); - miny = cx.Top; - index = i; - } - } - } - - if (index != -1) - { - (c.Parent.Controls as ControlsList)[index].Focused = true; - kbe.Handled = true; - gpe.Handled = true; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseDownProcess(object sender, MouseEventArgs e) - { - ControlsList c = new ControlsList(); - c.AddRange(OrderList); - - if (autoUnfocus && focusedControl != null && focusedControl.Root != modalWindow) - { - bool hit = false; - - foreach (Control cx in Controls) - { - if (cx.AbsoluteRect.Contains(e.Position)) - { - hit = true; - break; - } - } - if (!hit) - { - for (int i = 0; i < Control.Stack.Count; i++) - { - if (Control.Stack[i].Visible && Control.Stack[i].Detached && Control.Stack[i].AbsoluteRect.Contains(e.Position)) - { - hit = true; - break; - } - } - } - if (!hit) focusedControl.Focused = false; - } - - for (int i = c.Count - 1; i >= 0; i--) - { - if (CheckState(c[i]) && CheckPosition(c[i], e.Position)) - { - states.Buttons[(int)e.Button] = c[i]; - c[i].SendMessage(Message.MouseDown, e); - - if (states.Click == -1) - { - states.Click = (int)e.Button; - - if (FocusedControl != null) - { - FocusedControl.Invalidate(); - } - c[i].Focused = true; - } - return; - } - } - - if (ModalWindow != null) - { -#if (!XBOX && !XBOX_FAKE) - SystemSounds.Beep.Play(); -#endif - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseUpProcess(object sender, MouseEventArgs e) - { - Control c = states.Buttons[(int)e.Button]; - if (c != null) - { - if (CheckPosition(c, e.Position) && CheckOrder(c, e.Position) && states.Click == (int)e.Button && CheckButtons((int)e.Button)) - { - c.SendMessage(Message.Click, e); - } - states.Click = -1; - c.SendMessage(Message.MouseUp, e); - states.Buttons[(int)e.Button] = null; - MouseMoveProcess(sender, e); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MousePressProcess(object sender, MouseEventArgs e) - { - Control c = states.Buttons[(int)e.Button]; - if (c != null) - { - if (CheckPosition(c, e.Position)) - { - c.SendMessage(Message.MousePress, e); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void MouseMoveProcess(object sender, MouseEventArgs e) - { - ControlsList c = new ControlsList(); - c.AddRange(OrderList); - - for (int i = c.Count - 1; i >= 0; i--) - { - bool chpos = CheckPosition(c[i], e.Position); - bool chsta = CheckState(c[i]); - - if (chsta && ((chpos && states.Over == c[i]) || (states.Buttons[(int)e.Button] == c[i]))) - { - c[i].SendMessage(Message.MouseMove, e); - break; - } - } - - for (int i = c.Count - 1; i >= 0; i--) - { - bool chpos = CheckPosition(c[i], e.Position); - bool chsta = CheckState(c[i]) || (c[i].ToolTip.Text != "" && c[i].ToolTip.Text != null && c[i].Visible); - - if (chsta && !chpos && states.Over == c[i] && states.Buttons[(int)e.Button] == null) - { - states.Over = null; - c[i].SendMessage(Message.MouseOut, e); - break; - } - } - - for (int i = c.Count - 1; i >= 0; i--) - { - bool chpos = CheckPosition(c[i], e.Position); - bool chsta = CheckState(c[i]) || (c[i].ToolTip.Text != "" && c[i].ToolTip.Text != null && c[i].Visible); - - if (chsta && chpos && states.Over != c[i] && states.Buttons[(int)e.Button] == null) - { - if (states.Over != null) - { - states.Over.SendMessage(Message.MouseOut, e); - } - states.Over = c[i]; - c[i].SendMessage(Message.MouseOver, e); - break; - } - else if (states.Over == c[i]) break; - } - } - //////////////////////////////////////////////////////////////////////////// - - /// - /// Processes mouse scroll events for the manager. - /// - /// - /// - private void MouseScrollProcess(object sender, MouseEventArgs e) - { - ControlsList c = new ControlsList(); - c.AddRange(OrderList); - - for (int i = c.Count - 1; i >= 0; i--) - { - bool chpos = CheckPosition(c[i], e.Position); - bool chsta = CheckState(c[i]); - - if (chsta && chpos && states.Over == c[i]) - { - c[i].SendMessage(Message.MouseScroll, e); - break; - } - } - } - - //////////////////////////////////////////////////////////////////////////// - void GamePadDownProcess(object sender, GamePadEventArgs e) - { - Control c = FocusedControl; - - if (c != null && CheckState(c)) - { - if (states.Click == -1) - { - states.Click = (int)e.Button; - } - states.Buttons[(int)e.Button] = c; - c.SendMessage(Message.GamePadDown, e); - - if (e.Button == c.GamePadActions.Click) - { - c.SendMessage(Message.Click, new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void GamePadUpProcess(object sender, GamePadEventArgs e) - { - Control c = states.Buttons[(int)e.Button]; - - if (c != null) - { - if (e.Button == c.GamePadActions.Press) - { - c.SendMessage(Message.Click, new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - states.Click = -1; - states.Buttons[(int)e.Button] = null; - c.SendMessage(Message.GamePadUp, e); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void GamePadPressProcess(object sender, GamePadEventArgs e) - { - Control c = states.Buttons[(int)e.Button]; - if (c != null) - { - c.SendMessage(Message.GamePadPress, e); - - if ((e.Button == c.GamePadActions.Right || - e.Button == c.GamePadActions.Left || - e.Button == c.GamePadActions.Up || - e.Button == c.GamePadActions.Down) && !e.Handled && CheckButtons((int)e.Button)) - { - ProcessArrows(c, new KeyEventArgs(), e); - GamePadDownProcess(sender, e); - } - else if (e.Button == c.GamePadActions.NextControl && !e.Handled && CheckButtons((int)e.Button)) - { - TabNextControl(c); - GamePadDownProcess(sender, e); - } - else if (e.Button == c.GamePadActions.PrevControl && !e.Handled && CheckButtons((int)e.Button)) - { - TabPrevControl(c); - GamePadDownProcess(sender, e); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void KeyDownProcess(object sender, KeyEventArgs e) - { - Control c = FocusedControl; - - if (c != null && CheckState(c)) - { - if (states.Click == -1) - { - states.Click = (int)MouseButton.None; - } - states.Buttons[(int)MouseButton.None] = c; - c.SendMessage(Message.KeyDown, e); - - if (e.Key == Microsoft.Xna.Framework.Input.Keys.Enter) - { - c.SendMessage(Message.Click, new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void KeyUpProcess(object sender, KeyEventArgs e) - { - Control c = states.Buttons[(int)MouseButton.None]; - - if (c != null) - { - if (e.Key == Microsoft.Xna.Framework.Input.Keys.Space) - { - c.SendMessage(Message.Click, new MouseEventArgs(new MouseState(), MouseButton.None, Point.Zero)); - } - states.Click = -1; - states.Buttons[(int)MouseButton.None] = null; - c.SendMessage(Message.KeyUp, e); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void KeyPressProcess(object sender, KeyEventArgs e) - { - Control c = states.Buttons[(int)MouseButton.None]; - if (c != null) - { - c.SendMessage(Message.KeyPress, e); - - if ((e.Key == Microsoft.Xna.Framework.Input.Keys.Right || - e.Key == Microsoft.Xna.Framework.Input.Keys.Left || - e.Key == Microsoft.Xna.Framework.Input.Keys.Up || - e.Key == Microsoft.Xna.Framework.Input.Keys.Down) && !e.Handled && CheckButtons((int)MouseButton.None)) - { - ProcessArrows(c, e, new GamePadEventArgs(PlayerIndex.One)); - KeyDownProcess(sender, e); - } - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.Tab && !e.Shift && !e.Handled && CheckButtons((int)MouseButton.None)) - { - TabNextControl(c); - KeyDownProcess(sender, e); - } - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.Tab && e.Shift && !e.Handled && CheckButtons((int)MouseButton.None)) - { - TabPrevControl(c); - KeyDownProcess(sender, e); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/Neoforce/MenuBase.cs b/Neoforce/MenuBase.cs deleted file mode 100644 index e3fd4b2..0000000 --- a/Neoforce/MenuBase.cs +++ /dev/null @@ -1,141 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: MenuBase.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class MenuItem: Unknown - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public string Text = "MenuItem"; - public List Items = new List(); - public bool Separated = false; - public Texture2D Image = null; - public bool Enabled = true; - public object Tag { get; set; } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public MenuItem() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public MenuItem(string text): this() - { - Text = text; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public MenuItem(string text, bool separated): this(text) - { - Separated = separated; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler Click; - public event EventHandler Selected; - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal void ClickInvoke(EventArgs e) - { - if (Click != null) Click.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal void SelectedInvoke(EventArgs e) - { - if (Selected != null) Selected.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - - public abstract class MenuBase: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private int itemIndex = -1; - private List items = new List(); - private MenuBase childMenu = null; - private MenuBase rootMenu = null; - private MenuBase parentMenu = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - protected internal int ItemIndex { get { return itemIndex; } set { itemIndex = value; } } - protected internal MenuBase ChildMenu { get { return childMenu; } set { childMenu = value; } } - protected internal MenuBase RootMenu { get { return rootMenu; } set { rootMenu = value; } } - protected internal MenuBase ParentMenu { get { return parentMenu; } set { parentMenu = value; } } - public List Items { get { return items; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public MenuBase(Manager manager): base(manager) - { - rootMenu = this; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ModalContainer.cs b/Neoforce/ModalContainer.cs deleted file mode 100644 index 46c7c9a..0000000 --- a/Neoforce/ModalContainer.cs +++ /dev/null @@ -1,194 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ModalContainer.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ModalContainer: Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private ModalResult modalResult = ModalResult.None; - private ModalContainer lastModal = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public override bool Visible - { - get - { - return base.Visible; - } - set - { - if (value) Focused = true; - base.Visible = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool IsModal - { - get { return Manager.ModalWindow == this; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ModalResult ModalResult - { - get - { - return modalResult; - } - set - { - modalResult = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event WindowClosingEventHandler Closing; - public event WindowClosedEventHandler Closed; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consructors /////// - - //////////////////////////////////////////////////////////////////////////// - public ModalContainer(Manager manager): base(manager) - { - Manager.Input.GamePadDown += new GamePadEventHandler(Input_GamePadDown); - GamePadActions = new WindowGamePadActions(); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void ShowModal() - { - lastModal = Manager.ModalWindow; - Manager.ModalWindow = this; - Manager.Input.KeyDown += new KeyEventHandler(Input_KeyDown); - Manager.Input.GamePadDown += new GamePadEventHandler(Input_GamePadDown); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Close() - { - WindowClosingEventArgs ex = new WindowClosingEventArgs(); - OnClosing(ex); - if (!ex.Cancel) - { - Manager.Input.KeyDown -= Input_KeyDown; - Manager.Input.GamePadDown -= Input_GamePadDown; - Manager.ModalWindow = lastModal; - if (lastModal != null) lastModal.Focused = true; - Hide(); - WindowClosedEventArgs ev = new WindowClosedEventArgs(); - OnClosed(ev); - - if (ev.Dispose) - { - this.Dispose(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Close(ModalResult modalResult) - { - ModalResult = modalResult; - Close(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnClosing(WindowClosingEventArgs e) - { - if (Closing != null) Closing.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnClosed(WindowClosedEventArgs e) - { - if (Closed != null) Closed.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void Input_KeyDown(object sender, KeyEventArgs e) - { - if (Visible && (Manager.FocusedControl != null && Manager.FocusedControl.Root == this) && - e.Key == Microsoft.Xna.Framework.Input.Keys.Escape) - { - //Close(ModalResult.Cancel); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void Input_GamePadDown(object sender, GamePadEventArgs e) - { - if (Visible && (Manager.FocusedControl != null && Manager.FocusedControl.Root == this)) - { - if (e.Button == (GamePadActions as WindowGamePadActions).Accept) - { - Close(ModalResult.Ok); - } - else if (e.Button == (GamePadActions as WindowGamePadActions).Cancel) - { - Close(ModalResult.Cancel); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/NativeMethods.cs b/Neoforce/NativeMethods.cs deleted file mode 100644 index 84bafd1..0000000 --- a/Neoforce/NativeMethods.cs +++ /dev/null @@ -1,69 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: NativeMethods.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Runtime.InteropServices; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - [Obsolete("Native methods should be avoided at all times")] - internal static class NativeMethods - { - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - [Obsolete] - [DllImport("User32.dll", CharSet = CharSet.Unicode)] - internal static extern IntPtr LoadImage(IntPtr instance, string fileName, uint type, int width, int height, uint load); - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - [Obsolete] - [DllImport("User32.dll")] - [return: MarshalAs(UnmanagedType.Bool)] - internal static extern bool DestroyCursor(IntPtr cursor); - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - [Obsolete] - internal static IntPtr LoadCursor(string fileName) - { - return LoadImage(IntPtr.Zero, fileName, 2, 0, 0, 0x0010); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - [Obsolete] - [DllImport("user32.dll")] - internal static extern short GetKeyState(int key); - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Panel.cs b/Neoforce/Panel.cs deleted file mode 100644 index cbbe504..0000000 --- a/Neoforce/Panel.cs +++ /dev/null @@ -1,280 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Panel.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class Panel: Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Bevel bevel = null; - private BevelStyle bevelStyle = BevelStyle.None; - private BevelBorder bevelBorder = BevelBorder.None; - private int bevelMargin = 0; - private Color bevelColor = Color.Transparent; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public BevelStyle BevelStyle - { - get { return bevelStyle; } - set - { - if (bevelStyle != value) - { - bevelStyle = bevel.Style = value; - AdjustMargins(); - if (!Suspended) OnBevelStyleChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public BevelBorder BevelBorder - { - get { return bevelBorder; } - set - { - if (bevelBorder != value) - { - bevelBorder = bevel.Border = value; - bevel.Visible = bevelBorder != BevelBorder.None; - AdjustMargins(); - if (!Suspended) OnBevelBorderChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public int BevelMargin - { - get { return bevelMargin; } - set - { - if (bevelMargin != value) - { - bevelMargin = value; - AdjustMargins(); - if (!Suspended) OnBevelMarginChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Color BevelColor - { - get { return bevelColor; } - set - { - bevel.Color = bevelColor = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler BevelBorderChanged; - public event EventHandler BevelStyleChanged; - public event EventHandler BevelMarginChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Panel(Manager manager): base(manager) - { - Passive = false; - CanFocus = false; - Width = 64; - Height = 64; - - bevel = new Bevel(Manager); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - bevel.Init(); - bevel.Style = bevelStyle; - bevel.Border = bevelBorder; - bevel.Left = 0; - bevel.Top = 0; - bevel.Width = Width; - bevel.Height = Height; - bevel.Color = bevelColor; - bevel.Visible = (bevelBorder != BevelBorder.None); - bevel.Anchor = Anchors.Left | Anchors.Top | Anchors.Right | Anchors.Bottom; - Add(bevel, false); - AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["Panel"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void AdjustMargins() - { - int l = 0; - int t = 0; - int r = 0; - int b = 0; - int s = bevelMargin; - - if (bevelBorder != BevelBorder.None) - { - if (bevelStyle != BevelStyle.Flat) - { - s += 2; - } - else - { - s += 1; - } - - if (bevelBorder == BevelBorder.Left || bevelBorder == BevelBorder.All) - { - l = s; - } - if (bevelBorder == BevelBorder.Top || bevelBorder == BevelBorder.All) - { - t = s; - } - if (bevelBorder == BevelBorder.Right || bevelBorder == BevelBorder.All) - { - r = s; - } - if (bevelBorder == BevelBorder.Bottom || bevelBorder == BevelBorder.All) - { - b = s; - } - } - ClientMargins = new Margins(Skin.ClientMargins.Left + l, Skin.ClientMargins.Top + t, Skin.ClientMargins.Right + r, Skin.ClientMargins.Bottom + b); - - base.AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - int x = rect.Left; - int y = rect.Top; - int w = rect.Width; - int h = rect.Height; - int s = bevelMargin; - - if (bevelBorder != BevelBorder.None) - { - if (bevelStyle != BevelStyle.Flat) - { - s += 2; - } - else - { - s += 1; - } - - if (bevelBorder == BevelBorder.Left || bevelBorder == BevelBorder.All) - { - x += s; - w -= s; - } - if (bevelBorder == BevelBorder.Top || bevelBorder == BevelBorder.All) - { - y += s; - h -= s; - } - if (bevelBorder == BevelBorder.Right || bevelBorder == BevelBorder.All) - { - w -= s; - } - if (bevelBorder == BevelBorder.Bottom || bevelBorder == BevelBorder.All) - { - h -= s; - } - } - - base.DrawControl(renderer, new Rectangle(x, y, w, h), gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnBevelBorderChanged(EventArgs e) - { - if (BevelBorderChanged != null) BevelBorderChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnBevelStyleChanged(EventArgs e) - { - if (BevelStyleChanged != null) BevelStyleChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnBevelMarginChanged(EventArgs e) - { - if (BevelMarginChanged != null) BevelMarginChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ProgressBar.cs b/Neoforce/ProgressBar.cs deleted file mode 100644 index 3e46ef8..0000000 --- a/Neoforce/ProgressBar.cs +++ /dev/null @@ -1,264 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ProgressBar.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using System; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - public enum ProgressBarMode - { - Default, - Infinite - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - public class ProgressBar : Control - { - - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private int range = 100; - private int value = 0; - private double time = 0; - private int sign = 1; - private ProgressBarMode mode = ProgressBarMode.Default; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public int Value - { - get { return this.value; } - set - { - if (mode == ProgressBarMode.Default) - { - if (this.value != value) - { - this.value = value; - if (this.value > range) this.value = range; - if (this.value < 0) this.value = 0; - Invalidate(); - - if (!Suspended) OnValueChanged(new EventArgs()); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public ProgressBarMode Mode - { - get { return mode; } - set - { - if (mode != value) - { - mode = value; - if (mode == ProgressBarMode.Infinite) - { - range = 100; - this.value = 0; - time = 0; - sign = 1; - } - else - { - this.value = 0; - range = 100; - } - Invalidate(); - - if (!Suspended) OnModeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public int Range - { - get { return range; } - set - { - if (range != value) - { - if (mode == ProgressBarMode.Default) - { - range = value; - if (range < 0) range = 0; - if (range < this.value) this.value = range; - Invalidate(); - - if (!Suspended) OnRangeChanged(new EventArgs()); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler ValueChanged; - public event EventHandler RangeChanged; - public event EventHandler ModeChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ProgressBar(Manager manager) - : base(manager) - { - Width = 128; - Height = 16; - MinimumHeight = 8; - MinimumWidth = 32; - Passive = true; - CanFocus = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - CheckLayer(Skin, "Control"); - CheckLayer(Skin, "Scale"); - - base.DrawControl(renderer, rect, gameTime); - - if (Value > 0 || mode == ProgressBarMode.Infinite) - { - SkinLayer p = Skin.Layers["Control"]; - SkinLayer l = Skin.Layers["Scale"]; - Rectangle r = new Rectangle(rect.Left + p.ContentMargins.Left, - rect.Top + p.ContentMargins.Top, - rect.Width - p.ContentMargins.Vertical, - rect.Height - p.ContentMargins.Horizontal); - - float perc = ((float)value / range) * 100; - int w = (int)((perc / 100) * r.Width); - Rectangle rx; - if (mode == ProgressBarMode.Default) - { - if (w < l.SizingMargins.Vertical) w = l.SizingMargins.Vertical; - rx = new Rectangle(r.Left, r.Top, w, r.Height); - } - else - { - int s = r.Left + w; - if (s > r.Left + p.ContentMargins.Left + r.Width - (r.Width / 4)) s = r.Left + p.ContentMargins.Left + r.Width - (r.Width / 4); - rx = new Rectangle(s, r.Top, (r.Width / 4), r.Height); - } - - renderer.DrawLayer(this, l, rx); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - - if (mode == ProgressBarMode.Infinite && Enabled && Visible) - { - time += gameTime.ElapsedGameTime.TotalMilliseconds; - if (time >= 33f) - { - value += sign * (int)Math.Ceiling(time / 20f); - if (value >= Range - (Range / 4)) - { - value = Range - (Range / 4); - sign = -1; - } - else if (value <= 0) - { - value = 0; - sign = 1; - } - time = 0; - Invalidate(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnValueChanged(EventArgs e) - { - if (ValueChanged != null) ValueChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnRangeChanged(EventArgs e) - { - if (RangeChanged != null) RangeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnModeChanged(EventArgs e) - { - if (ModeChanged != null) ModeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Properties/AssemblyInfo.cs b/Neoforce/Properties/AssemblyInfo.cs deleted file mode 100644 index 4c52ffd..0000000 --- a/Neoforce/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("MonoGame.Controls")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("MonoGame.Controls")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("581cd203-a917-4a56-87f8-79ef3cbe4f5e")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Neoforce/RadioButton.cs b/Neoforce/RadioButton.cs deleted file mode 100644 index c15d47a..0000000 --- a/Neoforce/RadioButton.cs +++ /dev/null @@ -1,159 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: RadioButton.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using System.Collections.Generic; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - public enum RadioButtonMode - { - Auto, - Manual - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - public class RadioButton: CheckBox - { - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - private const string skRadioButton = "RadioButton"; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private RadioButtonMode mode = RadioButtonMode.Auto; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public RadioButtonMode Mode - { - get { return mode; } - set { mode = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public RadioButton(Manager manager): base(manager) - { - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls[skRadioButton]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnClick(EventArgs e) - { - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs)e : new MouseEventArgs(); - - if (ex.Button == MouseButton.Left || ex.Button == MouseButton.None) - { - if (mode == RadioButtonMode.Auto) - { - if (Parent != null) - { - ControlsList lst = Parent.Controls as ControlsList; - for (int i = 0; i < lst.Count; i++) - { - if (lst[i] is RadioButton) - { - (lst[i] as RadioButton).Checked = false; - } - } - } - else if (Parent == null && Manager != null) - { - ControlsList lst = Manager.Controls as ControlsList; - - for (int i = 0; i < lst.Count; i++) - { - if (lst[i] is RadioButton) - { - (lst[i] as RadioButton).Checked = false; - } - } - } - } - } - base.OnClick(e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Renderer.cs b/Neoforce/Renderer.cs deleted file mode 100644 index 8da72bf..0000000 --- a/Neoforce/Renderer.cs +++ /dev/null @@ -1,767 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Renderer.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - public enum BlendingMode - { - Default, - None, - } - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - public class DeviceStates - { - public readonly BlendState BlendState; - public readonly RasterizerState RasterizerState; - public readonly DepthStencilState DepthStencilState; - public readonly SamplerState SamplerState; - - public DeviceStates() - { - BlendState = new BlendState(); - BlendState.AlphaBlendFunction = BlendState.AlphaBlend.AlphaBlendFunction; - BlendState.AlphaDestinationBlend = BlendState.AlphaBlend.AlphaDestinationBlend; - BlendState.AlphaSourceBlend = BlendState.AlphaBlend.AlphaSourceBlend; - BlendState.BlendFactor = BlendState.AlphaBlend.BlendFactor; - BlendState.ColorBlendFunction = BlendState.AlphaBlend.ColorBlendFunction; - BlendState.ColorDestinationBlend = BlendState.AlphaBlend.ColorDestinationBlend; - BlendState.ColorSourceBlend = BlendState.AlphaBlend.ColorSourceBlend; - BlendState.ColorWriteChannels = BlendState.AlphaBlend.ColorWriteChannels; - BlendState.ColorWriteChannels1 = BlendState.AlphaBlend.ColorWriteChannels1; - BlendState.ColorWriteChannels2 = BlendState.AlphaBlend.ColorWriteChannels2; - BlendState.ColorWriteChannels3 = BlendState.AlphaBlend.ColorWriteChannels3; - BlendState.MultiSampleMask = BlendState.AlphaBlend.MultiSampleMask; - - RasterizerState = new RasterizerState(); - RasterizerState.CullMode = RasterizerState.CullNone.CullMode; - RasterizerState.DepthBias = RasterizerState.CullNone.DepthBias; - RasterizerState.FillMode = RasterizerState.CullNone.FillMode; - RasterizerState.MultiSampleAntiAlias = RasterizerState.CullNone.MultiSampleAntiAlias; - RasterizerState.ScissorTestEnable = RasterizerState.CullNone.ScissorTestEnable; - RasterizerState.SlopeScaleDepthBias = RasterizerState.CullNone.SlopeScaleDepthBias; - - RasterizerState.ScissorTestEnable = true; - - SamplerState = new SamplerState(); - SamplerState.AddressU = SamplerState.AnisotropicClamp.AddressU; - SamplerState.AddressV = SamplerState.AnisotropicClamp.AddressV; - SamplerState.AddressW = SamplerState.AnisotropicClamp.AddressW; - SamplerState.Filter = SamplerState.AnisotropicClamp.Filter; - SamplerState.MaxAnisotropy = SamplerState.AnisotropicClamp.MaxAnisotropy; - SamplerState.MaxMipLevel = SamplerState.AnisotropicClamp.MaxMipLevel; - SamplerState.MipMapLevelOfDetailBias = SamplerState.AnisotropicClamp.MipMapLevelOfDetailBias; - - DepthStencilState = new DepthStencilState(); - DepthStencilState = DepthStencilState.None; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - public class Renderer : Component - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private SpriteBatch sb = null; - private DeviceStates states = new DeviceStates(); - private BlendingMode bmode = BlendingMode.Default; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual SpriteBatch SpriteBatch - { - get - { - return sb; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public Renderer(Manager manager) - : base(manager) - { - sb = new SpriteBatch(Manager.GraphicsDevice); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - if (sb != null) - { - sb.Dispose(); - sb = null; - } - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Begin(BlendingMode mode) - { - bmode = mode; - if (mode != BlendingMode.None) - { - sb.Begin(SpriteSortMode.Immediate, states.BlendState, states.SamplerState, states.DepthStencilState, states.RasterizerState); - } - else - { - sb.Begin(SpriteSortMode.Immediate, BlendState.Opaque, states.SamplerState, states.DepthStencilState, states.RasterizerState); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void End() - { - sb.End(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Draw(Texture2D texture, Rectangle destination, Color color) - { - if (destination.Width > 0 && destination.Height > 0) - { - sb.Draw(texture, destination, null, color, 0.0f, Vector2.Zero, SpriteEffects.None, Manager.GlobalDepth); - } - } - //////////////////////////////////////////////////////////////////////////// - - public virtual void DrawTileTexture(Texture2D texture, Rectangle destination, Color color) - { - if (destination.Width > 0 && destination.Height > 0) - { - End(); - - sb.Begin(SpriteSortMode.Texture, BlendState.AlphaBlend, SamplerState.LinearWrap, DepthStencilState.Default, RasterizerState.CullNone); - - sb.Draw(texture, new Vector2(destination.X,destination.Y), destination, color, 0, Vector2.Zero, 1, SpriteEffects.None, 0); - - End(); - Begin(bmode); - } - } - - //////////////////////////////////////////////////////////////////////////// - public virtual void Draw(Texture2D texture, Rectangle destination, Rectangle source, Color color) - { - if (source.Width > 0 && source.Height > 0 && destination.Width > 0 && destination.Height > 0) - { - sb.Draw(texture, destination, source, color, 0.0f, Vector2.Zero, SpriteEffects.None, Manager.GlobalDepth); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Draw(Texture2D texture, int left, int top, Color color) - { - sb.Draw(texture, new Vector2(left, top), null, color, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, Manager.GlobalDepth); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Draw(Texture2D texture, int left, int top, Rectangle source, Color color) - { - if (source.Width > 0 && source.Height > 0) - { - sb.Draw(texture, new Vector2(left, top), source, color, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, Manager.GlobalDepth); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(SpriteFont font, string text, int left, int top, Color color) - { - sb.DrawString(font, text, new Vector2(left, top), color, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, Manager.GlobalDepth); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(SpriteFont font, string text, Rectangle rect, Color color, Alignment alignment) - { - DrawString(font, text, rect, color, alignment, 0, 0, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(SpriteFont font, string text, Rectangle rect, Color color, Alignment alignment, bool ellipsis) - { - DrawString(font, text, rect, color, alignment, 0, 0, ellipsis); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect) - { - DrawString(control, layer, text, rect, true, 0, 0, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, ControlState state) - { - DrawString(control, layer, text, rect, state, true, 0, 0, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, bool margins) - { - DrawString(control, layer, text, rect, margins, 0, 0, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, ControlState state, bool margins) - { - DrawString(control, layer, text, rect, state, margins, 0, 0, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, bool margins, int ox, int oy) - { - DrawString(control, layer, text, rect, margins, ox, oy, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, ControlState state, bool margins, int ox, int oy) - { - DrawString(control, layer, text, rect, state, margins, ox, oy, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, bool margins, int ox, int oy, bool ellipsis) - { - DrawString(control, layer, text, rect, control.ControlState, margins, ox, oy, ellipsis); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(Control control, SkinLayer layer, string text, Rectangle rect, ControlState state, bool margins, int ox, int oy, bool ellipsis) - { - Color col = Color.White; - - if (layer.Text != null) - { - if (margins) - { - Margins m = layer.ContentMargins; - rect = new Rectangle(rect.Left + m.Left, rect.Top + m.Top, rect.Width - m.Horizontal, rect.Height - m.Vertical); - } - - if (state == ControlState.Hovered && (layer.States.Hovered.Index != -1)) - { - col = layer.Text.Colors.Hovered; - } - else if (state == ControlState.Pressed) - { - col = layer.Text.Colors.Pressed; - } - else if (state == ControlState.Focused || (control.Focused && state == ControlState.Hovered && layer.States.Hovered.Index == -1)) - { - col = layer.Text.Colors.Focused; - } - else if (state == ControlState.Disabled) - { - col = layer.Text.Colors.Disabled; - } - else - { - col = layer.Text.Colors.Enabled; - } - - if (text != null && text != "") - { - SkinText font = layer.Text; - if (control.TextColor != Control.UndefinedColor && control.ControlState != ControlState.Disabled) col = control.TextColor; - DrawString(font.Font.Resource, text, rect, col, font.Alignment, font.OffsetX + ox, font.OffsetY + oy, ellipsis); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawString(SpriteFont font, string text, Rectangle rect, Color color, Alignment alignment, int offsetX, int offsetY, bool ellipsis) - { - - if (ellipsis) - { - const string elli = "..."; - int size = (int)Math.Ceiling(font.MeasureString(text).X); - if (size > rect.Width) - { - int es = (int)Math.Ceiling(font.MeasureString(elli).X); - for (int i = text.Length - 1; i > 0; i--) - { - int c = 1; - if (char.IsWhiteSpace(text[i - 1])) - { - c = 2; - i--; - } - text = text.Remove(i, c); - size = (int)Math.Ceiling(font.MeasureString(text).X); - if (size + es <= rect.Width) - { - break; - } - } - text += elli; - } - } - - if (rect.Width > 0 && rect.Height > 0) - { - Vector2 pos = new Vector2(rect.Left, rect.Top); - Vector2 size = font.MeasureString(text); - - int x = 0; int y = 0; - - switch (alignment) - { - case Alignment.TopLeft: - break; - case Alignment.TopCenter: - x = GetTextCenter(rect.Width, size.X); - break; - case Alignment.TopRight: - x = rect.Width - (int)size.X; - break; - case Alignment.MiddleLeft: - y = GetTextCenter(rect.Height, size.Y); - break; - case Alignment.MiddleRight: - x = rect.Width - (int)size.X; - y = GetTextCenter(rect.Height, size.Y); - break; - case Alignment.BottomLeft: - y = rect.Height - (int)size.Y; - break; - case Alignment.BottomCenter: - x = GetTextCenter(rect.Width, size.X); - y = rect.Height - (int)size.Y; - break; - case Alignment.BottomRight: - x = rect.Width - (int)size.X; - y = rect.Height - (int)size.Y; - break; - - default: - x = GetTextCenter(rect.Width, size.X); - y = GetTextCenter(rect.Height, size.Y); - break; - } - - pos.X = (int)(pos.X + x); - pos.Y = (int)(pos.Y + y); - - DrawString(font, text, (int)pos.X + offsetX, (int)pos.Y + offsetY, color); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private static int GetTextCenter(float size1, float size2) - { - return (int)Math.Ceiling((size1 / 2) - (size2 / 2)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawLayer(SkinLayer layer, Rectangle rect, Color color, int index) - { - Size imageSize = new Size(layer.Image.Resource.Width, layer.Image.Resource.Height); - Size partSize = new Size(layer.Width, layer.Height); - - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.TopLeft), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.TopLeft, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.TopCenter), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.TopCenter, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.TopRight), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.TopRight, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.MiddleLeft), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.MiddleLeft, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.MiddleCenter), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.MiddleCenter, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.MiddleRight), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.MiddleRight, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.BottomLeft), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.BottomLeft, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.BottomCenter), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.BottomCenter, index), color); - Draw(layer.Image.Resource, GetDestinationArea(rect, layer.SizingMargins, Alignment.BottomRight), GetSourceArea(imageSize, partSize, layer.SizingMargins, Alignment.BottomRight, index), color); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private static Rectangle GetSourceArea(Size imageSize, Size partSize, Margins margins, Alignment alignment, int index) - { - Rectangle rect = new Rectangle(); - int xc = (int)((float)imageSize.Width / partSize.Width); - int yc = (int)((float)imageSize.Height / partSize.Height); - - int xm = (index) % xc; - int ym = (index) / xc; - - int adj = 1; - margins.Left += margins.Left > 0 ? adj : 0; - margins.Top += margins.Top > 0 ? adj : 0; - margins.Right += margins.Right > 0 ? adj : 0; - margins.Bottom += margins.Bottom > 0 ? adj : 0; - - margins = new Margins(margins.Left, margins.Top, margins.Right, margins.Bottom); - switch (alignment) - { - case Alignment.TopLeft: - { - rect = new Rectangle((0 + (xm * partSize.Width)), - (0 + (ym * partSize.Height)), - margins.Left, - margins.Top); - break; - } - case Alignment.TopCenter: - { - rect = new Rectangle((0 + (xm * partSize.Width)) + margins.Left, - (0 + (ym * partSize.Height)), - partSize.Width - margins.Left - margins.Right, - margins.Top); - break; - } - case Alignment.TopRight: - { - rect = new Rectangle((partSize.Width + (xm * partSize.Width)) - margins.Right, - (0 + (ym * partSize.Height)), - margins.Right, - margins.Top); - break; - } - case Alignment.MiddleLeft: - { - rect = new Rectangle((0 + (xm * partSize.Width)), - (0 + (ym * partSize.Height)) + margins.Top, - margins.Left, - partSize.Height - margins.Top - margins.Bottom); - break; - } - case Alignment.MiddleCenter: - { - rect = new Rectangle((0 + (xm * partSize.Width)) + margins.Left, - (0 + (ym * partSize.Height)) + margins.Top, - partSize.Width - margins.Left - margins.Right, - partSize.Height - margins.Top - margins.Bottom); - break; - } - case Alignment.MiddleRight: - { - rect = new Rectangle((partSize.Width + (xm * partSize.Width)) - margins.Right, - (0 + (ym * partSize.Height)) + margins.Top, - margins.Right, - partSize.Height - margins.Top - margins.Bottom); - break; - } - case Alignment.BottomLeft: - { - rect = new Rectangle((0 + (xm * partSize.Width)), - (partSize.Height + (ym * partSize.Height)) - margins.Bottom, - margins.Left, - margins.Bottom); - break; - } - case Alignment.BottomCenter: - { - rect = new Rectangle((0 + (xm * partSize.Width)) + margins.Left, - (partSize.Height + (ym * partSize.Height)) - margins.Bottom, - partSize.Width - margins.Left - margins.Right, - margins.Bottom); - break; - } - case Alignment.BottomRight: - { - rect = new Rectangle((partSize.Width + (xm * partSize.Width)) - margins.Right, - (partSize.Height + (ym * partSize.Height)) - margins.Bottom, - margins.Right, - margins.Bottom); - break; - } - } - - return rect; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public static Rectangle GetDestinationArea(Rectangle area, Margins margins, Alignment alignment) - { - Rectangle rect = new Rectangle(); - - int adj = 1; - margins.Left += margins.Left > 0 ? adj : 0; - margins.Top += margins.Top > 0 ? adj : 0; - margins.Right += margins.Right > 0 ? adj : 0; - margins.Bottom += margins.Bottom > 0 ? adj : 0; - - margins = new Margins(margins.Left, margins.Top, margins.Right, margins.Bottom); - - switch (alignment) - { - case Alignment.TopLeft: - { - rect = new Rectangle(area.Left + 0, - area.Top + 0, - margins.Left, - margins.Top); - break; - - } - case Alignment.TopCenter: - { - rect = new Rectangle(area.Left + margins.Left, - area.Top + 0, - area.Width - margins.Left - margins.Right, - margins.Top); - break; - - } - case Alignment.TopRight: - { - rect = new Rectangle(area.Left + area.Width - margins.Right, - area.Top + 0, - margins.Right, - margins.Top); - break; - - } - case Alignment.MiddleLeft: - { - rect = new Rectangle(area.Left + 0, - area.Top + margins.Top, - margins.Left, - area.Height - margins.Top - margins.Bottom); - break; - } - case Alignment.MiddleCenter: - { - rect = new Rectangle(area.Left + margins.Left, - area.Top + margins.Top, - area.Width - margins.Left - margins.Right, - area.Height - margins.Top - margins.Bottom); - break; - } - case Alignment.MiddleRight: - { - rect = new Rectangle(area.Left + area.Width - margins.Right, - area.Top + margins.Top, - margins.Right, - area.Height - margins.Top - margins.Bottom); - break; - } - case Alignment.BottomLeft: - { - rect = new Rectangle(area.Left + 0, - area.Top + area.Height - margins.Bottom, - margins.Left, - margins.Bottom); - break; - } - case Alignment.BottomCenter: - { - rect = new Rectangle(area.Left + margins.Left, - area.Top + area.Height - margins.Bottom, - area.Width - margins.Left - margins.Right, - margins.Bottom); - break; - } - case Alignment.BottomRight: - { - rect = new Rectangle(area.Left + area.Width - margins.Right, - area.Top + area.Height - margins.Bottom, - margins.Right, - margins.Bottom); - break; - } - } - - return rect; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public void DrawGlyph(Glyph glyph, Rectangle rect) - { - Size imageSize = new Size(glyph.Image.Width, glyph.Image.Height); - - if (!glyph.SourceRect.IsEmpty) - { - imageSize = new Size(glyph.SourceRect.Width, glyph.SourceRect.Height); - } - - if (glyph.SizeMode == SizeMode.Centered) - { - rect = new Rectangle((rect.X + (rect.Width - imageSize.Width) / 2) + glyph.Offset.X, - (rect.Y + (rect.Height - imageSize.Height) / 2) + glyph.Offset.Y, - imageSize.Width, - imageSize.Height); - } - else if (glyph.SizeMode == SizeMode.Normal) - { - rect = new Rectangle(rect.X + glyph.Offset.X, rect.Y + glyph.Offset.Y, imageSize.Width, imageSize.Height); - } - else if (glyph.SizeMode == SizeMode.Auto) - { - rect = new Rectangle(rect.X + glyph.Offset.X, rect.Y + glyph.Offset.Y, imageSize.Width, imageSize.Height); - } - - if (glyph.SourceRect.IsEmpty) - { - Draw(glyph.Image, rect, glyph.Color); - } - else - { - Draw(glyph.Image, rect, glyph.SourceRect, glyph.Color); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawLayer(Control control, SkinLayer layer, Rectangle rect) - { - DrawLayer(control, layer, rect, control.ControlState); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void DrawLayer(Control control, SkinLayer layer, Rectangle rect, ControlState state) - { - Color c = Color.White; - Color oc = Color.White; - int i = 0; - int oi = -1; - SkinLayer l = layer; - - if (state == ControlState.Hovered && (layer.States.Hovered.Index != -1)) - { - c = l.States.Hovered.Color; - i = l.States.Hovered.Index; - - if (l.States.Hovered.Overlay) - { - oc = l.Overlays.Hovered.Color; - oi = l.Overlays.Hovered.Index; - } - } - else if (state == ControlState.Focused || (control.Focused && state == ControlState.Hovered && layer.States.Hovered.Index == -1)) - { - c = l.States.Focused.Color; - i = l.States.Focused.Index; - - if (l.States.Focused.Overlay) - { - oc = l.Overlays.Focused.Color; - oi = l.Overlays.Focused.Index; - } - } - else if (state == ControlState.Pressed) - { - c = l.States.Pressed.Color; - i = l.States.Pressed.Index; - - if (l.States.Pressed.Overlay) - { - oc = l.Overlays.Pressed.Color; - oi = l.Overlays.Pressed.Index; - } - } - else if (state == ControlState.Disabled) - { - c = l.States.Disabled.Color; - i = l.States.Disabled.Index; - - if (l.States.Disabled.Overlay) - { - oc = l.Overlays.Disabled.Color; - oi = l.Overlays.Disabled.Index; - } - } - else - { - c = l.States.Enabled.Color; - i = l.States.Enabled.Index; - - if (l.States.Enabled.Overlay) - { - oc = l.Overlays.Enabled.Color; - oi = l.Overlays.Enabled.Index; - } - } - - if (control.Color != Control.UndefinedColor) c = control.Color * (control.Color.A / 255f); - DrawLayer(l, rect, c, i); - - if (oi != -1) - { - DrawLayer(l, rect, oc, oi); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } -} \ No newline at end of file diff --git a/Neoforce/ScrollBar.cs b/Neoforce/ScrollBar.cs deleted file mode 100644 index 922757a..0000000 --- a/Neoforce/ScrollBar.cs +++ /dev/null @@ -1,493 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ScrollBar.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class ScrollBar: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private int range = 100; - private int value = 0; - private int pageSize = 50; - private int stepSize = 1; - private Orientation orientation = Orientation.Vertical; - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private Button btnMinus = null; - private Button btnPlus = null; - private Button btnSlider = null; - - private string strButton = "ScrollBar.ButtonVert"; - private string strRail = "ScrollBar.RailVert"; - private string strSlider = "ScrollBar.SliderVert"; - private string strGlyph = "ScrollBar.GlyphVert"; - private string strMinus = "ScrollBar.ArrowUp"; - private string strPlus = "ScrollBar.ArrowDown"; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int Value - { - get { return this.value; } - set - { - if (this.value != value) - { - this.value = value; - if (this.value < 0) this.value = 0; - if (this.value > range - pageSize) this.value = range - pageSize; - Invalidate(); - if (!Suspended) OnValueChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int Range - { - get { return range; } - set - { - if (range != value) - { - range = value; - if (pageSize > range) pageSize = range; - RecalcParams(); - if (!Suspended) OnRangeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int PageSize - { - get { return pageSize; } - set - { - if (pageSize != value) - { - pageSize = value; - if (pageSize > range) pageSize = range; - RecalcParams(); - if (!Suspended) OnPageSizeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int StepSize - { - get { return stepSize; } - set - { - if (stepSize != value) - { - stepSize = value; - if (!Suspended) OnStepSizeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler ValueChanged; - public event EventHandler RangeChanged; - public event EventHandler StepSizeChanged; - public event EventHandler PageSizeChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ScrollBar(Manager manager, Orientation orientation): base(manager) - { - this.orientation = orientation; - CanFocus = false; - - - if (orientation == Orientation.Horizontal) - { - strButton = "ScrollBar.ButtonHorz"; - strRail = "ScrollBar.RailHorz"; - strSlider = "ScrollBar.SliderHorz"; - strGlyph = "ScrollBar.GlyphHorz"; - strMinus = "ScrollBar.ArrowLeft"; - strPlus = "ScrollBar.ArrowRight"; - - MinimumHeight = 16; - MinimumWidth = 46; - Width = 64; - Height = 16; - } - else - { - strButton = "ScrollBar.ButtonVert"; - strRail = "ScrollBar.RailVert"; - strSlider = "ScrollBar.SliderVert"; - strGlyph = "ScrollBar.GlyphVert"; - strMinus = "ScrollBar.ArrowUp"; - strPlus = "ScrollBar.ArrowDown"; - - MinimumHeight = 46; - MinimumWidth = 16; - Width = 16; - Height = 64; - } - - btnMinus = new Button(Manager); - btnMinus.Init(); - btnMinus.Text = ""; - btnMinus.MousePress += new MouseEventHandler(ArrowPress); - btnMinus.CanFocus = false; - - btnSlider = new Button(Manager); - btnSlider.Init(); - btnSlider.Text = ""; - btnSlider.CanFocus = false; - btnSlider.MinimumHeight = 16; - btnSlider.MinimumWidth = 16; - - btnPlus = new Button(Manager); - btnPlus.Init(); - btnPlus.Text = ""; - btnPlus.MousePress += new MouseEventHandler(ArrowPress); - btnPlus.CanFocus = false; - - btnSlider.Move += new MoveEventHandler(btnSlider_Move); - - Add(btnMinus); - Add(btnSlider); - Add(btnPlus); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - - public void ScrollUp() - { - Value -= stepSize; - if (Value < 0) Value = 0; - } - - public void ScrollDown() - { - Value += stepSize; - if (Value > range - pageSize) Value = range - pageSize - 1; - } - - public void ScrollUp(bool alot) - { - if (alot) - { - Value -= pageSize; - if (Value < 0) Value = 0; - } - else - ScrollUp(); - } - - public void ScrollDown(bool alot) - { - if (alot) - { - Value += pageSize; - if (Value > range - pageSize) Value = range - pageSize - 1; - } - else - ScrollDown(); - } - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - SkinControl sc = new SkinControl(btnPlus.Skin); - sc.Layers["Control"] = new SkinLayer(Skin.Layers[strButton]); - sc.Layers[strButton].Name = "Control"; - btnPlus.Skin = btnMinus.Skin = sc; - - SkinControl ss = new SkinControl(btnSlider.Skin); - ss.Layers["Control"] = new SkinLayer(Skin.Layers[strSlider]); - ss.Layers[strSlider].Name = "Control"; - btnSlider.Skin = ss; - - btnMinus.Glyph = new Glyph(Skin.Layers[strMinus].Image.Resource); - btnMinus.Glyph.SizeMode = SizeMode.Centered; - btnMinus.Glyph.Color = Manager.Skin.Controls["Button"].Layers["Control"].Text.Colors.Enabled; - - btnPlus.Glyph = new Glyph(Skin.Layers[strPlus].Image.Resource); - btnPlus.Glyph.SizeMode = SizeMode.Centered; - btnPlus.Glyph.Color = Manager.Skin.Controls["Button"].Layers["Control"].Text.Colors.Enabled; - - btnSlider.Glyph = new Glyph(Skin.Layers[strGlyph].Image.Resource); - btnSlider.Glyph.SizeMode = SizeMode.Centered; - - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["ScrollBar"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - RecalcParams(); - - SkinLayer bg = Skin.Layers[strRail]; - renderer.DrawLayer(bg, rect, Color.White, bg.States.Enabled.Index); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void ArrowPress(object sender, MouseEventArgs e) - { - if (e.Button == MouseButton.Left) - { - if (sender == btnMinus) - { - ScrollUp(); - } - else if (sender == btnPlus) - { - ScrollDown(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - RecalcParams(); - if (Value + PageSize > Range) Value = Range - PageSize; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void RecalcParams() - { - if (btnMinus != null && btnPlus != null && btnSlider != null) - { - if (orientation == Orientation.Horizontal) - { - btnMinus.Width = Height; - btnMinus.Height = Height; - - btnPlus.Width = Height; - btnPlus.Height = Height; - btnPlus.Left = Width - Height; - btnPlus.Top = 0; - - btnSlider.Movable = true; - int size = btnMinus.Width + Skin.Layers[strSlider].OffsetX; - - btnSlider.MinimumWidth = Height; - int w = (Width - 2 * size); - btnSlider.Width = (int)Math.Ceiling((pageSize * w) / (float)range); - btnSlider.Height = Height; - - - float px = (float)(Range - PageSize) / (float)(w - btnSlider.Width); - int pos = (int)(Math.Ceiling(Value / (float)px)); - btnSlider.SetPosition(size + pos, 0); - if (btnSlider.Left < size) btnSlider.SetPosition(size, 0); - if (btnSlider.Left + btnSlider.Width + size > Width) btnSlider.SetPosition(Width - size - btnSlider.Width, 0); - } - else - { - btnMinus.Width = Width; - btnMinus.Height = Width; - - btnPlus.Width = Width; - btnPlus.Height = Width; - btnPlus.Top = Height - Width; - - btnSlider.Movable = true; - int size = btnMinus.Height + Skin.Layers[strSlider].OffsetY; - - btnSlider.MinimumHeight = Width; - int h = (Height - 2 * size); - btnSlider.Height = (int)Math.Ceiling((pageSize * h) / (float)range); - btnSlider.Width = Width; - - float px = (float)(Range - PageSize) / (float)(h - btnSlider.Height); - int pos = (int)(Math.Ceiling(Value / (float)px)); - btnSlider.SetPosition(0, size + pos); - if (btnSlider.Top < size) btnSlider.SetPosition(0, size); - if (btnSlider.Top + btnSlider.Height + size > Height) btnSlider.SetPosition(0, Height - size - btnSlider.Height); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnSlider_Move(object sender, MoveEventArgs e) - { - if (orientation == Orientation.Horizontal) - { - int size = btnMinus.Width + Skin.Layers[strSlider].OffsetX; - btnSlider.SetPosition(e.Left, 0); - if (btnSlider.Left < size) btnSlider.SetPosition(size, 0); - if (btnSlider.Left + btnSlider.Width + size > Width) btnSlider.SetPosition(Width - size - btnSlider.Width, 0); - } - else - { - int size = btnMinus.Height + Skin.Layers[strSlider].OffsetY; - btnSlider.SetPosition(0, e.Top); - if (btnSlider.Top < size) btnSlider.SetPosition(0, size); - if (btnSlider.Top + btnSlider.Height + size > Height) btnSlider.SetPosition(0, Height - size - btnSlider.Height); - } - - if (orientation == Orientation.Horizontal) - { - int size = btnMinus.Width + Skin.Layers[strSlider].OffsetX; - int w = (Width - 2 * size) - btnSlider.Width; - float px = (float)(Range - PageSize) / (float)w; - Value = (int)(Math.Ceiling((btnSlider.Left - size) * px)); - } - else - { - int size = btnMinus.Height + Skin.Layers[strSlider].OffsetY; - int h = (Height - 2 * size) - btnSlider.Height; - float px = (float)(Range - PageSize) / (float)h; - Value = (int)(Math.Ceiling((btnSlider.Top - size) * px)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseUp(MouseEventArgs e) - { - btnSlider.Passive = false; - base.OnMouseUp(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseDown(MouseEventArgs e) - { - base.OnMouseDown(e); - - btnSlider.Passive = true; - - if (e.Button == MouseButton.Left) - { - if (orientation == Orientation.Horizontal) - { - int pos = e.Position.X; - - if (pos < btnSlider.Left) - { - ScrollUp(true); - } - else if (pos >= btnSlider.Left + btnSlider.Width) - { - ScrollDown(true); - } - } - else - { - int pos = e.Position.Y; - - if (pos < btnSlider.Top) - { - ScrollUp(true); - } - else if (pos >= btnSlider.Top + btnSlider.Height) - { - ScrollDown(true); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnValueChanged(EventArgs e) - { - if (ValueChanged != null) ValueChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnRangeChanged(EventArgs e) - { - if (RangeChanged != null) RangeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnPageSizeChanged(EventArgs e) - { - if (PageSizeChanged != null) PageSizeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnStepSizeChanged(EventArgs e) - { - if (StepSizeChanged != null) StepSizeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Sidebar.cs b/Neoforce/Sidebar.cs deleted file mode 100644 index c8fcae6..0000000 --- a/Neoforce/Sidebar.cs +++ /dev/null @@ -1,89 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: SideBar.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - - public class SideBar: Panel - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public SideBar(Manager manager): base(manager) - { - // CanFocus = true; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["SideBar"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/SidebarPanel.cs b/Neoforce/SidebarPanel.cs deleted file mode 100644 index 44ed8c9..0000000 --- a/Neoforce/SidebarPanel.cs +++ /dev/null @@ -1,77 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: SideBarPanel.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class SideBarPanel: Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public SideBarPanel(Manager manager): base(manager) - { - CanFocus = false; - Passive = true; - Width = 64; - Height = 64; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Skin.cs b/Neoforce/Skin.cs deleted file mode 100644 index 92ec378..0000000 --- a/Neoforce/Skin.cs +++ /dev/null @@ -1,1259 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Skin.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using System.IO; -using System.Xml; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Structs /////////// - - //////////////////////////////////////////////////////////////////////////// - public struct SkinStates - { - public T Enabled; - public T Hovered; - public T Pressed; - public T Focused; - public T Disabled; - - public SkinStates(T enabled, T hovered, T pressed, T focused, T disabled) - { - Enabled = enabled; - Hovered = hovered; - Pressed = pressed; - Focused = focused; - Disabled = disabled; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public struct LayerStates - { - public int Index; - public Color Color; - public bool Overlay; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public struct LayerOverlays - { - public int Index; - public Color Color; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public struct SkinInfo - { - public string Name; - public string Description; - public string Author; - public string Version; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinList : List - { - #region //// Indexers ////////// - - //////////////////////////////////////////////////////////////////////////// - public T this[string index] - { - get - { - for (int i = 0; i < this.Count; i++) - { - SkinBase s = (SkinBase)(object)this[i]; - if (s.Name.ToLower() == index.ToLower()) - { - return this[i]; - } - } - return default(T); - } - - set - { - for (int i = 0; i < this.Count; i++) - { - SkinBase s = (SkinBase)(object)this[i]; - if (s.Name.ToLower() == index.ToLower()) - { - this[i] = value; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - - //////////////////////////////////////////////////////////////////////////// - public SkinList() - : base() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinList(SkinList source) - : base() - { - for (int i = 0; i < source.Count; i++) - { - Type[] t = new Type[1]; - t[0] = typeof(T); - - object[] p = new object[1]; - p[0] = source[i]; - - this.Add((T)t[0].GetConstructor(t).Invoke(p)); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public string Name; - public bool Archive; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinBase() - : base() - { - Archive = false; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinBase(SkinBase source) - : base() - { - if (source != null) - { - this.Name = source.Name; - this.Archive = source.Archive; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinLayer : SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinImage Image = new SkinImage(); - public int Width; - public int Height; - public int OffsetX; - public int OffsetY; - public Alignment Alignment; - public Margins SizingMargins; - public Margins ContentMargins; - public SkinStates States; - public SkinStates Overlays; - public SkinText Text = new SkinText(); - public SkinList Attributes = new SkinList(); - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinLayer() - : base() - { - States.Enabled.Color = Color.White; - States.Pressed.Color = Color.White; - States.Focused.Color = Color.White; - States.Hovered.Color = Color.White; - States.Disabled.Color = Color.White; - - Overlays.Enabled.Color = Color.White; - Overlays.Pressed.Color = Color.White; - Overlays.Focused.Color = Color.White; - Overlays.Hovered.Color = Color.White; - Overlays.Disabled.Color = Color.White; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinLayer(SkinLayer source) - : base(source) - { - if (source != null) - { - this.Image = new SkinImage(source.Image); - this.Width = source.Width; - this.Height = source.Height; - this.OffsetX = source.OffsetX; - this.OffsetY = source.OffsetY; - this.Alignment = source.Alignment; - this.SizingMargins = source.SizingMargins; - this.ContentMargins = source.ContentMargins; - this.States = source.States; - this.Overlays = source.Overlays; - this.Text = new SkinText(source.Text); - this.Attributes = new SkinList(source.Attributes); - } - else - { - throw new Exception("Parameter for SkinLayer copy constructor cannot be null."); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinText : SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinFont Font; - public int OffsetX; - public int OffsetY; - public Alignment Alignment; - public SkinStates Colors; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinText() - : base() - { - Colors.Enabled = Color.White; - Colors.Pressed = Color.White; - Colors.Focused = Color.White; - Colors.Hovered = Color.White; - Colors.Disabled = Color.White; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinText(SkinText source) - : base(source) - { - if (source != null) - { - this.Font = new SkinFont(source.Font); - this.OffsetX = source.OffsetX; - this.OffsetY = source.OffsetY; - this.Alignment = source.Alignment; - this.Colors = source.Colors; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinFont : SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public SpriteFont Resource = null; - public string Asset = null; - public string Addon = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public int Height - { - get - { - if (Resource != null) - { - return (int)Resource.MeasureString("AaYy").Y; - } - return 0; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinFont() - : base() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinFont(SkinFont source) - : base(source) - { - if (source != null) - { - this.Resource = source.Resource; - this.Asset = source.Asset; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinImage : SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public Texture2D Resource = null; - public string Asset = null; - public string Addon = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinImage() - : base() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinImage(SkinImage source) - : base(source) - { - this.Resource = source.Resource; - this.Asset = source.Asset; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinCursor : SkinBase - { - #region //// Fields //////////// - - - public Cursor Resource = null; - - public string Asset = null; - public string Addon = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinCursor() - : base() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinCursor(SkinCursor source) - : base(source) - { - this.Resource = source.Resource; - - this.Asset = source.Asset; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinControl : SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public string Inherits = null; - public Size DefaultSize; - public int ResizerSize; - public Size MinimumSize; - public Margins OriginMargins; - public Margins ClientMargins; - public SkinList Layers = new SkinList(); - public SkinList Attributes = new SkinList(); - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinControl() - : base() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinControl(SkinControl source) - : base(source) - { - this.Inherits = source.Inherits; - this.DefaultSize = source.DefaultSize; - this.MinimumSize = source.MinimumSize; - this.OriginMargins = source.OriginMargins; - this.ClientMargins = source.ClientMargins; - this.ResizerSize = source.ResizerSize; - this.Layers = new SkinList(source.Layers); - this.Attributes = new SkinList(source.Attributes); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class SkinAttribute : SkinBase - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - public string Value; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public SkinAttribute() - : base() - { - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public SkinAttribute(SkinAttribute source) - : base(source) - { - this.Value = source.Value; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class Skin : Component - { - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - SkinXmlDocument doc = null; - private string name = null; - private Version version = null; - private SkinInfo info; - private SkinList controls = null; - private SkinList fonts = null; - private SkinList cursors = null; - private SkinList images = null; - private SkinList attributes = null; - private ArchiveManager content = null; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual string Name { get { return name; } } - public virtual Version Version { get { return version; } } - public virtual SkinInfo Info { get { return info; } } - public virtual SkinList Controls { get { return controls; } } - public virtual SkinList Fonts { get { return fonts; } } - public virtual SkinList Cursors { get { return cursors; } } - public virtual SkinList Images { get { return images; } } - public virtual SkinList Attributes { get { return attributes; } } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public Skin(Manager manager, string name) - : base(manager) - { - this.name = name; - content = new ArchiveManager(Manager.Game.Services, GetArchiveLocation(name + Manager.SkinExtension)); - content.RootDirectory = GetFolder(); - doc = new SkinXmlDocument(); - controls = new SkinList(); - fonts = new SkinList(); - images = new SkinList(); - cursors = new SkinList(); - attributes = new SkinList(); - - LoadSkin(null, content.UseArchive); - - string folder = GetAddonsFolder(); - if (folder == "") - { - content.UseArchive = true; - folder = "Addons\\"; - } - else - { - content.UseArchive = false; - } - - string[] addons = content.GetDirectories(folder); - - if (addons != null && addons.Length > 0) - { - for (int i = 0; i < addons.Length; i++) - { - DirectoryInfo d = new DirectoryInfo(GetAddonsFolder() + addons[i]); - if (!((d.Attributes & FileAttributes.Hidden) == FileAttributes.Hidden) || content.UseArchive) - { - LoadSkin(addons[i].Replace("\\", ""), content.UseArchive); - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Destructors /////// - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - if (content != null) - { - content.Unload(); - content.Dispose(); - content = null; - } - } - - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - private string GetArchiveLocation(string name) - { - string path = Path.GetFullPath(Manager.SkinDirectory) + Path.GetFileNameWithoutExtension(name) + "\\"; - if (!Directory.Exists(path) || !File.Exists(path + "Skin.xnb")) - { - path = Path.GetFullPath(Manager.SkinDirectory) + name; - return path; - } - - return null; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string GetFolder() - { - string path = Path.GetFullPath(Manager.SkinDirectory) + name + "\\"; - if (!Directory.Exists(path) || !File.Exists(path + "Skin.xnb")) - { - path = ""; - } - - return path; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string GetAddonsFolder() - { - string path = Path.GetFullPath(Manager.SkinDirectory) + name + "\\Addons\\"; - if (!Directory.Exists(path)) - { - path = Path.GetFullPath(".\\Content\\Skins\\") + name + "\\Addons\\"; - if (!Directory.Exists(path)) - { - path = Path.GetFullPath(".\\Skins\\") + name + "\\Addons\\"; - } - } - - return path; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string GetFolder(string type) - { - return GetFolder() + type + "\\"; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string GetAsset(string type, string asset, string addon) - { - string ret = GetFolder(type) + asset; - if (addon != null && addon != "") - { - ret = GetAddonsFolder() + addon + "\\" + type + "\\" + asset; - } - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - for (int i = 0; i < fonts.Count; i++) - { - content.UseArchive = fonts[i].Archive; - string asset = GetAsset("Fonts", fonts[i].Asset, fonts[i].Addon); - asset = content.UseArchive ? asset : Path.GetFullPath(asset); - (fonts[i].Resource) = content.Load(asset); - } - -#if (!XBOX && !XBOX_FAKE) - for (int i = 0; i < cursors.Count; i++) - { - content.UseArchive = cursors[i].Archive; - string asset = GetAsset("Cursors", cursors[i].Asset, cursors[i].Addon); - asset = content.UseArchive ? asset : Path.GetFullPath(asset); - cursors[i].Resource = content.Load(asset); - } -#endif - - for (int i = 0; i < images.Count; i++) - { - content.UseArchive = images[i].Archive; - string asset = GetAsset("Images", images[i].Asset, images[i].Addon); - asset = content.UseArchive ? asset : Path.GetFullPath(asset); - images[i].Resource = content.Load(asset); - } - - for (int i = 0; i < controls.Count; i++) - { - for (int j = 0; j < controls[i].Layers.Count; j++) - { - if (controls[i].Layers[j].Image.Name != null) - { - controls[i].Layers[j].Image = images[controls[i].Layers[j].Image.Name]; - } - else - { - controls[i].Layers[j].Image = images[0]; - } - - if (controls[i].Layers[j].Text.Name != null) - { - controls[i].Layers[j].Text.Font = fonts[controls[i].Layers[j].Text.Name]; - } - else - { - controls[i].Layers[j].Text.Font = fonts[0]; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string ReadAttribute(XmlElement element, string attrib, string defval, bool needed) - { - if (element != null && element.HasAttribute(attrib)) - { - return element.Attributes[attrib].Value; - } - else if (needed) - { - throw new Exception("Missing required attribute \"" + attrib + "\" in the skin file."); - } - return defval; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ReadAttribute(ref string retval, bool inherited, XmlElement element, string attrib, string defval, bool needed) - { - if (element != null && element.HasAttribute(attrib)) - { - retval = element.Attributes[attrib].Value; - } - else if (inherited) - { - } - else if (needed) - { - throw new Exception("Missing required attribute \"" + attrib + "\" in the skin file."); - } - else - { - retval = defval; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int ReadAttributeInt(XmlElement element, string attrib, int defval, bool needed) - { - return int.Parse(ReadAttribute(element, attrib, defval.ToString(), needed)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ReadAttributeInt(ref int retval, bool inherited, XmlElement element, string attrib, int defval, bool needed) - { - string tmp = retval.ToString(); - ReadAttribute(ref tmp, inherited, element, attrib, defval.ToString(), needed); - retval = int.Parse(tmp); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private bool ReadAttributeBool(XmlElement element, string attrib, bool defval, bool needed) - { - return bool.Parse(ReadAttribute(element, attrib, defval.ToString(), needed)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ReadAttributeBool(ref bool retval, bool inherited, XmlElement element, string attrib, bool defval, bool needed) - { - string tmp = retval.ToString(); - ReadAttribute(ref tmp, inherited, element, attrib, defval.ToString(), needed); - retval = bool.Parse(tmp); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private byte ReadAttributeByte(XmlElement element, string attrib, byte defval, bool needed) - { - return byte.Parse(ReadAttribute(element, attrib, defval.ToString(), needed)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ReadAttributeByte(ref byte retval, bool inherited, XmlElement element, string attrib, byte defval, bool needed) - { - string tmp = retval.ToString(); - ReadAttribute(ref tmp, inherited, element, attrib, defval.ToString(), needed); - retval = byte.Parse(tmp); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string ColorToString(Color c) - { - return string.Format("{0};{1};{2};{3}", c.R, c.G, c.B, c.A); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ReadAttributeColor(ref Color retval, bool inherited, XmlElement element, string attrib, Color defval, bool needed) - { - string tmp = ColorToString(retval); - ReadAttribute(ref tmp, inherited, element, attrib, ColorToString(defval), needed); - retval = Utilities.ParseColor(tmp); - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - private void LoadSkin(string addon, bool archive) - { - try - { - bool isaddon = addon != null && addon != ""; - string file = GetFolder(); - if (isaddon) - { - file = GetAddonsFolder() + addon + "\\"; - } - file += "Skin"; - - file = archive ? file : Path.GetFullPath(file); - doc = content.Load(file); - - XmlElement e = doc["Skin"]; - if (e != null) - { - string xname = ReadAttribute(e, "Name", null, true); - if (!isaddon) - { - if (name.ToLower() != xname.ToLower()) - { - throw new Exception("Skin name defined in the skin file doesn't match requested skin."); - } - else - { - name = xname; - } - } - else - { - if (addon.ToLower() != xname.ToLower()) - { - throw new Exception("Skin name defined in the skin file doesn't match addon name."); - } - } - - Version xversion = null; - try - { - xversion = new Version(ReadAttribute(e, "Version", "0.0.0.0", false)); - } - catch (Exception x) - { - throw new Exception("Unable to resolve skin file version. " + x.Message); - } - - if (xversion != Manager._SkinVersion) - { - throw new Exception("This version of Neoforce Controls can only read skin files in version of " + Manager._SkinVersion.ToString() + "."); - } - else if (!isaddon) - { - version = xversion; - } - - if (!isaddon) - { - XmlElement ei = e["Info"]; - if (ei != null) - { - if (ei["Name"] != null) info.Name = ei["Name"].InnerText; - if (ei["Description"] != null) info.Description = ei["Description"].InnerText; - if (ei["Author"] != null) info.Author = ei["Author"].InnerText; - if (ei["Version"] != null) info.Version = ei["Version"].InnerText; - } - } - - LoadImages(addon, archive); - LoadFonts(addon, archive); - LoadCursors(addon, archive); - LoadSkinAttributes(); - LoadControls(); - } - } - catch (Exception x) - { - throw new Exception("Unable to load skin file. " + x.Message); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadSkinAttributes() - { - if (doc["Skin"]["Attributes"] == null) return; - - XmlNodeList l = doc["Skin"]["Attributes"].GetElementsByTagName("Attribute"); - - if (l != null && l.Count > 0) - { - foreach (XmlElement e in l) - { - SkinAttribute sa = new SkinAttribute(); - sa.Name = ReadAttribute(e, "Name", null, true); - sa.Value = ReadAttribute(e, "Value", null, true); - attributes.Add(sa); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadControls() - { - if (doc["Skin"]["Controls"] == null) return; - - - XmlNodeList l = doc["Skin"]["Controls"].GetElementsByTagName("Control"); - - if (l != null && l.Count > 0) - { - foreach (XmlElement e in l) - { - SkinControl sc = null; - string parent = ReadAttribute(e, "Inherits", null, false); - bool inh = false; - - if (parent != null) - { - sc = new SkinControl(controls[parent]); - sc.Inherits = parent; - inh = true; - } - else - { - sc = new SkinControl(); - } - - ReadAttribute(ref sc.Name, inh, e, "Name", null, true); - - ReadAttributeInt(ref sc.DefaultSize.Width, inh, e["DefaultSize"], "Width", 0, false); - ReadAttributeInt(ref sc.DefaultSize.Height, inh, e["DefaultSize"], "Height", 0, false); - - ReadAttributeInt(ref sc.MinimumSize.Width, inh, e["MinimumSize"], "Width", 0, false); - ReadAttributeInt(ref sc.MinimumSize.Height, inh, e["MinimumSize"], "Height", 0, false); - - ReadAttributeInt(ref sc.OriginMargins.Left, inh, e["OriginMargins"], "Left", 0, false); - ReadAttributeInt(ref sc.OriginMargins.Top, inh, e["OriginMargins"], "Top", 0, false); - ReadAttributeInt(ref sc.OriginMargins.Right, inh, e["OriginMargins"], "Right", 0, false); - ReadAttributeInt(ref sc.OriginMargins.Bottom, inh, e["OriginMargins"], "Bottom", 0, false); - - ReadAttributeInt(ref sc.ClientMargins.Left, inh, e["ClientMargins"], "Left", 0, false); - ReadAttributeInt(ref sc.ClientMargins.Top, inh, e["ClientMargins"], "Top", 0, false); - ReadAttributeInt(ref sc.ClientMargins.Right, inh, e["ClientMargins"], "Right", 0, false); - ReadAttributeInt(ref sc.ClientMargins.Bottom, inh, e["ClientMargins"], "Bottom", 0, false); - - ReadAttributeInt(ref sc.ResizerSize, inh, e["ResizerSize"], "Value", 0, false); - - if (e["Layers"] != null) - { - XmlNodeList l2 = e["Layers"].GetElementsByTagName("Layer"); - if (l2 != null && l2.Count > 0) - { - LoadLayers(sc, l2); - } - } - if (e["Attributes"] != null) - { - XmlNodeList l3 = e["Attributes"].GetElementsByTagName("Attribute"); - if (l3 != null && l3.Count > 0) - { - LoadControlAttributes(sc, l3); - } - } - controls.Add(sc); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadFonts(string addon, bool archive) - { - if (doc["Skin"]["Fonts"] == null) return; - - XmlNodeList l = doc["Skin"]["Fonts"].GetElementsByTagName("Font"); - if (l != null && l.Count > 0) - { - foreach (XmlElement e in l) - { - SkinFont sf = new SkinFont(); - sf.Name = ReadAttribute(e, "Name", null, true); - sf.Archive = archive; - sf.Asset = ReadAttribute(e, "Asset", null, true); - sf.Addon = addon; - fonts.Add(sf); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - 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); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadImages(string addon, bool archive) - { - if (doc["Skin"]["Images"] == null) return; - XmlNodeList l = doc["Skin"]["Images"].GetElementsByTagName("Image"); - if (l != null && l.Count > 0) - { - foreach (XmlElement e in l) - { - SkinImage si = new SkinImage(); - si.Name = ReadAttribute(e, "Name", null, true); - si.Archive = archive; - si.Asset = ReadAttribute(e, "Asset", null, true); - si.Addon = addon; - images.Add(si); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadLayers(SkinControl sc, XmlNodeList l) - { - foreach (XmlElement e in l) - { - string name = ReadAttribute(e, "Name", null, true); - bool over = ReadAttributeBool(e, "Override", false, false); - SkinLayer sl = sc.Layers[name]; - bool inh = true; - - if (sl == null) - { - sl = new SkinLayer(); - inh = false; - } - - if (inh && over) - { - sl = new SkinLayer(); - sc.Layers[name] = sl; - } - - ReadAttribute(ref sl.Name, inh, e, "Name", null, true); - ReadAttribute(ref sl.Image.Name, inh, e, "Image", "Control", false); - ReadAttributeInt(ref sl.Width, inh, e, "Width", 0, false); - ReadAttributeInt(ref sl.Height, inh, e, "Height", 0, false); - - string tmp = sl.Alignment.ToString(); - ReadAttribute(ref tmp, inh, e, "Alignment", "MiddleCenter", false); - sl.Alignment = (Alignment)Enum.Parse(typeof(Alignment), tmp, true); - - ReadAttributeInt(ref sl.OffsetX, inh, e, "OffsetX", 0, false); - ReadAttributeInt(ref sl.OffsetY, inh, e, "OffsetY", 0, false); - - ReadAttributeInt(ref sl.SizingMargins.Left, inh, e["SizingMargins"], "Left", 0, false); - ReadAttributeInt(ref sl.SizingMargins.Top, inh, e["SizingMargins"], "Top", 0, false); - ReadAttributeInt(ref sl.SizingMargins.Right, inh, e["SizingMargins"], "Right", 0, false); - ReadAttributeInt(ref sl.SizingMargins.Bottom, inh, e["SizingMargins"], "Bottom", 0, false); - - ReadAttributeInt(ref sl.ContentMargins.Left, inh, e["ContentMargins"], "Left", 0, false); - ReadAttributeInt(ref sl.ContentMargins.Top, inh, e["ContentMargins"], "Top", 0, false); - ReadAttributeInt(ref sl.ContentMargins.Right, inh, e["ContentMargins"], "Right", 0, false); - ReadAttributeInt(ref sl.ContentMargins.Bottom, inh, e["ContentMargins"], "Bottom", 0, false); - - if (e["States"] != null) - { - ReadAttributeInt(ref sl.States.Enabled.Index, inh, e["States"]["Enabled"], "Index", 0, false); - int di = sl.States.Enabled.Index; - ReadAttributeInt(ref sl.States.Hovered.Index, inh, e["States"]["Hovered"], "Index", di, false); - ReadAttributeInt(ref sl.States.Pressed.Index, inh, e["States"]["Pressed"], "Index", di, false); - ReadAttributeInt(ref sl.States.Focused.Index, inh, e["States"]["Focused"], "Index", di, false); - ReadAttributeInt(ref sl.States.Disabled.Index, inh, e["States"]["Disabled"], "Index", di, false); - - ReadAttributeColor(ref sl.States.Enabled.Color, inh, e["States"]["Enabled"], "Color", Color.White, false); - Color dc = sl.States.Enabled.Color; - ReadAttributeColor(ref sl.States.Hovered.Color, inh, e["States"]["Hovered"], "Color", dc, false); - ReadAttributeColor(ref sl.States.Pressed.Color, inh, e["States"]["Pressed"], "Color", dc, false); - ReadAttributeColor(ref sl.States.Focused.Color, inh, e["States"]["Focused"], "Color", dc, false); - ReadAttributeColor(ref sl.States.Disabled.Color, inh, e["States"]["Disabled"], "Color", dc, false); - - ReadAttributeBool(ref sl.States.Enabled.Overlay, inh, e["States"]["Enabled"], "Overlay", false, false); - bool dv = sl.States.Enabled.Overlay; - ReadAttributeBool(ref sl.States.Hovered.Overlay, inh, e["States"]["Hovered"], "Overlay", dv, false); - ReadAttributeBool(ref sl.States.Pressed.Overlay, inh, e["States"]["Pressed"], "Overlay", dv, false); - ReadAttributeBool(ref sl.States.Focused.Overlay, inh, e["States"]["Focused"], "Overlay", dv, false); - ReadAttributeBool(ref sl.States.Disabled.Overlay, inh, e["States"]["Disabled"], "Overlay", dv, false); - } - - if (e["Overlays"] != null) - { - ReadAttributeInt(ref sl.Overlays.Enabled.Index, inh, e["Overlays"]["Enabled"], "Index", 0, false); - int di = sl.Overlays.Enabled.Index; - ReadAttributeInt(ref sl.Overlays.Hovered.Index, inh, e["Overlays"]["Hovered"], "Index", di, false); - ReadAttributeInt(ref sl.Overlays.Pressed.Index, inh, e["Overlays"]["Pressed"], "Index", di, false); - ReadAttributeInt(ref sl.Overlays.Focused.Index, inh, e["Overlays"]["Focused"], "Index", di, false); - ReadAttributeInt(ref sl.Overlays.Disabled.Index, inh, e["Overlays"]["Disabled"], "Index", di, false); - - ReadAttributeColor(ref sl.Overlays.Enabled.Color, inh, e["Overlays"]["Enabled"], "Color", Color.White, false); - Color dc = sl.Overlays.Enabled.Color; - ReadAttributeColor(ref sl.Overlays.Hovered.Color, inh, e["Overlays"]["Hovered"], "Color", dc, false); - ReadAttributeColor(ref sl.Overlays.Pressed.Color, inh, e["Overlays"]["Pressed"], "Color", dc, false); - ReadAttributeColor(ref sl.Overlays.Focused.Color, inh, e["Overlays"]["Focused"], "Color", dc, false); - ReadAttributeColor(ref sl.Overlays.Disabled.Color, inh, e["Overlays"]["Disabled"], "Color", dc, false); - } - - if (e["Text"] != null) - { - ReadAttribute(ref sl.Text.Name, inh, e["Text"], "Font", null, true); - ReadAttributeInt(ref sl.Text.OffsetX, inh, e["Text"], "OffsetX", 0, false); - ReadAttributeInt(ref sl.Text.OffsetY, inh, e["Text"], "OffsetY", 0, false); - - tmp = sl.Text.Alignment.ToString(); - ReadAttribute(ref tmp, inh, e["Text"], "Alignment", "MiddleCenter", false); - sl.Text.Alignment = (Alignment)Enum.Parse(typeof(Alignment), tmp, true); - - LoadColors(inh, e["Text"], ref sl.Text.Colors); - } - if (e["Attributes"] != null) - { - XmlNodeList l2 = e["Attributes"].GetElementsByTagName("Attribute"); - if (l2 != null && l2.Count > 0) - { - LoadLayerAttributes(sl, l2); - } - } - if (!inh) sc.Layers.Add(sl); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadColors(bool inherited, XmlElement e, ref SkinStates colors) - { - if (e != null) - { - ReadAttributeColor(ref colors.Enabled, inherited, e["Colors"]["Enabled"], "Color", Color.White, false); - ReadAttributeColor(ref colors.Hovered, inherited, e["Colors"]["Hovered"], "Color", colors.Enabled, false); - ReadAttributeColor(ref colors.Pressed, inherited, e["Colors"]["Pressed"], "Color", colors.Enabled, false); - ReadAttributeColor(ref colors.Focused, inherited, e["Colors"]["Focused"], "Color", colors.Enabled, false); - ReadAttributeColor(ref colors.Disabled, inherited, e["Colors"]["Disabled"], "Color", colors.Enabled, false); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadControlAttributes(SkinControl sc, XmlNodeList l) - { - foreach (XmlElement e in l) - { - string name = ReadAttribute(e, "Name", null, true); - SkinAttribute sa = sc.Attributes[name]; - bool inh = true; - - if (sa == null) - { - sa = new SkinAttribute(); - inh = false; - } - - sa.Name = name; - ReadAttribute(ref sa.Value, inh, e, "Value", null, true); - - if (!inh) sc.Attributes.Add(sa); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void LoadLayerAttributes(SkinLayer sl, XmlNodeList l) - { - foreach (XmlElement e in l) - { - string name = ReadAttribute(e, "Name", null, true); - SkinAttribute sa = sl.Attributes[name]; - bool inh = true; - - if (sa == null) - { - sa = new SkinAttribute(); - inh = false; - } - - sa.Name = name; - ReadAttribute(ref sa.Value, inh, e, "Value", null, true); - - if (!inh) sl.Attributes.Add(sa); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/Neoforce/SpinBox.cs b/Neoforce/SpinBox.cs deleted file mode 100644 index fc358c4..0000000 --- a/Neoforce/SpinBox.cs +++ /dev/null @@ -1,391 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: SpinBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using System.Collections.Generic; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Input; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - public enum SpinBoxMode - { - Range, - List - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - public class SpinBox: TextBox - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Button btnUp = null; - private Button btnDown = null; - private SpinBoxMode mode = SpinBoxMode.List; - private List items = new List(); - private float value = 0; - private float minimum = 0; - private float maximum = 100; - private float step = 0.25f; - private int rounding = 2; - private int itemIndex = -1; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public new virtual SpinBoxMode Mode - { - get { return mode; } - set { mode = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override bool ReadOnly - { - get { return base.ReadOnly; } - set - { - base.ReadOnly = value; - CaretVisible = !value; - if (value) - { - #if (!XBOX && !XBOX_FAKE) - Cursor = Manager.Skin.Cursors["Default"].Resource; - #endif - } - else - { - #if (!XBOX && !XBOX_FAKE) - Cursor = Manager.Skin.Cursors["Text"].Resource; - #endif - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual List Items - { - get { return items; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public float Value - { - get { return this.value; } - set - { - if (this.value != value) - { - this.value = value; - Invalidate(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public float Minimum - { - get { return minimum; } - set - { - if (minimum != value) - { - minimum = value; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public float Maximum - { - get { return maximum; } - set - { - if (maximum != value) - { - maximum = value; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public float Step - { - get { return step; } - set - { - if (step != value) - { - step = value; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public int ItemIndex - { - get { return itemIndex; } - set - { - if (mode == SpinBoxMode.List) - { - itemIndex = value; - Text = items[itemIndex].ToString(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public int Rounding - { - get { return rounding; } - set - { - if (rounding != value) - { - rounding = value; - Invalidate(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public SpinBox(Manager manager, SpinBoxMode mode): base(manager) - { - this.mode = mode; - ReadOnly = true; - - Height = 20; - Width = 64; - - btnUp = new Button(Manager); - btnUp.Init(); - btnUp.CanFocus = false; - btnUp.MousePress += new MouseEventHandler(btn_MousePress); - Add(btnUp, false); - - btnDown = new Button(Manager); - btnDown.Init(); - btnDown.CanFocus = false; - btnDown.MousePress += new MouseEventHandler(btn_MousePress); - Add(btnDown, false); - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - SkinControl sc = new SkinControl(btnUp.Skin); - sc.Layers["Control"] = new SkinLayer(Skin.Layers["Button"]); - sc.Layers["Button"].Name = "Control"; - btnUp.Skin = btnDown.Skin = sc; - - btnUp.Glyph = new Glyph(Manager.Skin.Images["Shared.ArrowUp"].Resource); - btnUp.Glyph.SizeMode = SizeMode.Centered; - btnUp.Glyph.Color = Manager.Skin.Controls["Button"].Layers["Control"].Text.Colors.Enabled; - - btnDown.Glyph = new Glyph(Manager.Skin.Images["Shared.ArrowDown"].Resource); - btnDown.Glyph.SizeMode = SizeMode.Centered; - btnDown.Glyph.Color = Manager.Skin.Controls["Button"].Layers["Control"].Text.Colors.Enabled; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["SpinBox"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - - if (ReadOnly && Focused) - { - SkinLayer lr = Skin.Layers[0]; - Rectangle rc = new Rectangle(rect.Left + lr.ContentMargins.Left, - rect.Top + lr.ContentMargins.Top, - Width - lr.ContentMargins.Horizontal - btnDown.Width - btnUp.Width, - Height - lr.ContentMargins.Vertical); - renderer.Draw(Manager.Skin.Images["ListBox.Selection"].Resource, rc, Color.FromNonPremultiplied(255, 255, 255, 128)); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - - if (btnUp != null) - { - btnUp.Width = 16; - btnUp.Height = Height - Skin.Layers["Control"].ContentMargins.Vertical; - btnUp.Top = Skin.Layers["Control"].ContentMargins.Top; - btnUp.Left = Width - 16 - 2 - 16 - 1; - } - if (btnDown != null) - { - btnDown.Width = 16; - btnDown.Height = Height - Skin.Layers["Control"].ContentMargins.Vertical; - btnDown.Top = Skin.Layers["Control"].ContentMargins.Top; ; - btnDown.Left = Width - 16 - 2; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ShiftIndex(bool direction) - { - if (mode == SpinBoxMode.List) - { - if (items.Count > 0) - { - if (direction) - { - itemIndex += 1; - } - else - { - itemIndex -= 1; - } - - if (itemIndex < 0) itemIndex = 0; - if (itemIndex > items.Count - 1) itemIndex = itemIndex = items.Count - 1; - - Text = items[itemIndex].ToString(); - } - } - else - { - if (direction) - { - value += step; - } - else - { - value -= step; - } - - if (value < minimum) value = minimum; - if (value > maximum) value = maximum; - - Text = value.ToString("n" + rounding.ToString()); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void btn_MousePress(object sender, MouseEventArgs e) - { - Focused = true; - if (sender == btnUp) ShiftIndex(true); - else if (sender == btnDown) ShiftIndex(false); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnKeyPress(KeyEventArgs e) - { - if (e.Key == Keys.Up) - { - e.Handled = true; - ShiftIndex(true); - } - else if (e.Key == Keys.Down) - { - e.Handled = true; - ShiftIndex(false); - } - - base.OnKeyPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadPress(GamePadEventArgs e) - { - if (e.Button == GamePadActions.Up) - { - e.Handled = true; - ShiftIndex(true); - } - else if (e.Button == GamePadActions.Down) - { - e.Handled = true; - ShiftIndex(false); - } - - base.OnGamePadPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadDown(GamePadEventArgs e) - { - base.OnGamePadDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/StackPanel.cs b/Neoforce/StackPanel.cs deleted file mode 100644 index 1a7e4b6..0000000 --- a/Neoforce/StackPanel.cs +++ /dev/null @@ -1,160 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: StackPanel.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using System.Collections.Generic; -using Microsoft.Xna.Framework.Graphics; -using System; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class StackPanel: Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Orientation orientation; - public Orientation Orientation - { - get { return this.orientation; } - set - { - this.orientation = value; - this.CalcLayout(); - } - } - private bool autoRefresh; - - /// - /// Should the stack panel refresh itself, when a control is added - /// - public bool AutoRefresh - { - get { return autoRefresh; } - set { autoRefresh = value; } - } - //////////////////////////////////////////////////////////////////////////// - - private TimeSpan refreshTimer; - private const int refreshTime = 300; //ms - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public StackPanel(Manager manager, Orientation orientation): base(manager) - { - this.orientation = orientation; - this.Color = Color.Transparent; - this.autoRefresh = true; - refreshTimer = new TimeSpan(0, 0, 0, 0, refreshTime); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - private void CalcLayout() - { - int top = Top; - int left = Left; - - foreach (Control c in ClientArea.Controls) - { - Margins m = c.Margins; - - if (orientation == Orientation.Vertical) - { - top += m.Top; - c.Top = top; - top += c.Height; - top += m.Bottom; - c.Left = left; - } - - if (orientation == Orientation.Horizontal) - { - left += m.Left; - c.Left = left; - left += c.Width; - left += m.Right; - c.Top = top; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - CalcLayout(); - base.OnResize(e); - } - //////////////////////////////////////////////////////////////////////////// - - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - - if (autoRefresh) - { - refreshTimer = refreshTimer.Subtract(TimeSpan.FromMilliseconds(gameTime.ElapsedGameTime.TotalMilliseconds)); - if (refreshTimer.TotalMilliseconds <= 0.00) - { - Refresh(); - refreshTimer = new TimeSpan(0, 0, 0, 0, refreshTime); - } - } - } - - public override void Add(Control control) - { - base.Add(control); - if (autoRefresh) Refresh(); - } - - public override void Add(Control control, bool client) - { - base.Add(control, client); - if (autoRefresh) Refresh(); - } - - #endregion - - } - -} diff --git a/Neoforce/StatusBar.cs b/Neoforce/StatusBar.cs deleted file mode 100644 index 9373c36..0000000 --- a/Neoforce/StatusBar.cs +++ /dev/null @@ -1,93 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: StatusBar.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - - public class StatusBar: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public StatusBar(Manager manager): base(manager) - { - Left = 0; - Top = 0; - Width = 64; - Height = 24; - CanFocus = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["StatusBar"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/TabControl.cs b/Neoforce/TabControl.cs deleted file mode 100644 index d72b98d..0000000 --- a/Neoforce/TabControl.cs +++ /dev/null @@ -1,390 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: TabControl.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - //////////////////////////////////////////////////////////////////////////// - public class TabControlGamePadActions: GamePadActions - { - public GamePadButton NextTab = GamePadButton.RightTrigger; - public GamePadButton PrevTab = GamePadButton.LeftTrigger; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class TabPage: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Rectangle headerRect = Rectangle.Empty; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - protected internal Rectangle HeaderRect - { - get { return headerRect; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public TabPage(Manager manager): base(manager) - { - Color = Color.Transparent; - Passive = true; - CanFocus = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal void CalcRect(Rectangle prev, SpriteFont font, Margins margins, Point offset, bool first) - { - int size = (int)Math.Ceiling(font.MeasureString(Text).X) + margins.Horizontal; - - if (first) offset.X = 0; - - headerRect = new Rectangle(prev.Right + offset.X, prev.Top, size, prev.Height); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public class TabControl: Container - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private List tabPages = new List(); - private int selectedIndex = 0; - private int hoveredIndex = -1; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public TabPage[] TabPages - { - get { return tabPages.ToArray(); } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int SelectedIndex - { - get { return selectedIndex; } - set - { - if (selectedIndex >= 0 && selectedIndex < tabPages.Count && value >= 0 && value < tabPages.Count) - { - TabPages[selectedIndex].Visible = false; - } - if (value >= 0 && value < tabPages.Count) - { - TabPages[value].Visible = true; - ControlsList c = TabPages[value].Controls as ControlsList; - if (c.Count > 0) c[0].Focused = true; - selectedIndex = value; - if (!Suspended) OnPageChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual TabPage SelectedPage - { - get { return tabPages[SelectedIndex]; } - set - { - for (int i = 0; i < tabPages.Count; i++) - { - if (tabPages[i] == value) - { - SelectedIndex = i; - break; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler PageChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public TabControl(Manager manager): base(manager) - { - GamePadActions = new TabControlGamePadActions(); - Manager.Input.GamePadDown += new GamePadEventHandler(Input_GamePadDown); - this.CanFocus = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - SkinLayer l1 = Skin.Layers["Control"]; - SkinLayer l2 = Skin.Layers["Header"]; - Color col = this.Color != UndefinedColor ? this.Color : Color.White; - - Rectangle r1 = new Rectangle(rect.Left, rect.Top + l1.OffsetY, rect.Width, rect.Height - l1.OffsetY); - if (tabPages.Count <= 0) - { - r1 = rect; - } - - base.DrawControl(renderer, r1, gameTime); - - if (tabPages.Count > 0) - { - - Rectangle prev = new Rectangle(rect.Left, rect.Top + l2.OffsetY, 0, l2.Height); - for (int i = 0; i < tabPages.Count; i++) - { - SpriteFont font = l2.Text.Font.Resource; - Margins margins = l2.ContentMargins; - Point offset = new Point(l2.OffsetX, l2.OffsetY); - if (i > 0) prev = tabPages[i - 1].HeaderRect; - - tabPages[i].CalcRect(prev, font, margins, offset, i==0); - } - - for (int i = tabPages.Count - 1; i >= 0; i--) - { - int li = tabPages[i].Enabled ? l2.States.Enabled.Index : l2.States.Disabled.Index; - Color lc = tabPages[i].Enabled ? l2.Text.Colors.Enabled : l2.Text.Colors.Disabled; - if (i == hoveredIndex) - { - li = l2.States.Hovered.Index; - lc = l2.Text.Colors.Hovered; - } - - - Margins m = l2.ContentMargins; - Rectangle rx = tabPages[i].HeaderRect; - Rectangle sx = new Rectangle(rx.Left + m.Left, rx.Top + m.Top, rx.Width - m.Horizontal, rx.Height - m.Vertical); - if (i != selectedIndex) - { - renderer.DrawLayer(l2, rx, col, li); - renderer.DrawString(l2.Text.Font.Resource, tabPages[i].Text, sx, lc, l2.Text.Alignment); - } - } - - Margins mi = l2.ContentMargins; - Rectangle ri = tabPages[selectedIndex].HeaderRect; - Rectangle si = new Rectangle(ri.Left + mi.Left, ri.Top + mi.Top, ri.Width - mi.Horizontal, ri.Height - mi.Vertical); - renderer.DrawLayer(l2, ri, col, l2.States.Focused.Index); - renderer.DrawString(l2.Text.Font.Resource, tabPages[selectedIndex].Text, si, l2.Text.Colors.Focused, l2.Text.Alignment, l2.Text.OffsetX, l2.Text.OffsetY, false); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual TabPage AddPage(string text) - { - TabPage p = AddPage(); - p.Text = text; - - return p; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual TabPage AddPage() - { - TabPage page = new TabPage(Manager); - page.Init(); - page.Left = 0; - page.Top = 0; - page.Width = ClientWidth; - page.Height = ClientHeight; - page.Anchor = Anchors.All; - page.Text = "Tab " + (tabPages.Count + 1).ToString(); - page.Visible = false; - Add(page, true); - tabPages.Add(page); - tabPages[0].Visible = true; - - return page; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void RemovePage(TabPage page, bool dispose) - { - tabPages.Remove(page); - if (dispose) - { - page.Dispose(); - page = null; - } - SelectedIndex = 0; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void RemovePage(TabPage page) - { - RemovePage(page, true); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseDown(MouseEventArgs e) - { - base.OnMouseDown(e); - - if (tabPages.Count > 1) - { - Point p = new Point(e.State.X - Root.AbsoluteLeft, e.State.Y - Root.AbsoluteTop); - for (int i = 0; i < tabPages.Count; i++) - { - Rectangle r = tabPages[i].HeaderRect; - if (p.X >= r.Left && p.X <= r.Right && p.Y >= r.Top && p.Y <= r.Bottom) - { - SelectedIndex = i; - break; - } - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseMove(MouseEventArgs e) - { - base.OnMouseMove(e); - if (tabPages.Count > 1) - { - int index = hoveredIndex; - Point p = new Point(e.State.X - Root.AbsoluteLeft, e.State.Y - Root.AbsoluteTop); - for (int i = 0; i < tabPages.Count; i++) - { - Rectangle r = tabPages[i].HeaderRect; - if (p.X >= r.Left && p.X <= r.Right && p.Y >= r.Top && p.Y <= r.Bottom && tabPages[i].Enabled) - { - index = i; - break; - } - else - { - index = -1; - } - } - if (index != hoveredIndex) - { - hoveredIndex = index; - Invalidate(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void Input_GamePadDown(object sender, GamePadEventArgs e) - { - if (this.Contains(Manager.FocusedControl, true)) - { - if (e.Button == (GamePadActions as TabControlGamePadActions).NextTab) - { - e.Handled = true; - SelectedIndex += 1; - } - else if (e.Button == (GamePadActions as TabControlGamePadActions).PrevTab) - { - e.Handled = true; - SelectedIndex -= 1; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnPageChanged(EventArgs e) - { - if (PageChanged != null) PageChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - - } - -} diff --git a/Neoforce/TextBox.cs b/Neoforce/TextBox.cs deleted file mode 100644 index e668256..0000000 --- a/Neoforce/TextBox.cs +++ /dev/null @@ -1,1427 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: TextBox.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -using System; -using System.Text; -using System.Collections; -using System.Collections.Generic; -using System.Diagnostics; - -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - public enum TextBoxMode - { - Normal, - Password, - Multiline - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - public class TextBox : ClipControl - { - - #region //// Structs /////////// - - //////////////////////////////////////////////////////////////////////////// - private struct Selection - { - private int start; - private int end; - - public int Start - { - get - { - if (start > end && start != -1 && end != -1) return end; - else return start; - } - set - { - start = value; - } - } - - public int End - { - get - { - if (end < start && start != -1 && end != -1) return start; - else return end; - } - set - { - end = value; - } - } - - public bool IsEmpty - { - get { return Start == -1 && End == -1; } - } - - public int Length - { - get { return IsEmpty ? 0 : (End - Start); } - } - - public Selection(int start, int end) - { - this.start = start; - this.end = end; - } - - public void Clear() - { - Start = -1; - End = -1; - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - private const string skTextBox = "TextBox"; - private const string lrTextBox = "Control"; - private const string lrCursor = "Cursor"; - - private const string crDefault = "Default"; - private const string crText = "Text"; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private bool showCursor = false; - private double flashTime = 0; - private int posx = 0; - private int posy = 0; - private char passwordChar = ''; - private TextBoxMode mode = TextBoxMode.Normal; - private string shownText = ""; - private bool readOnly = false; - private bool drawBorders = true; - private Selection selection = new Selection(-1, -1); - private bool caretVisible = true; - private ScrollBar horz = null; - private ScrollBar vert = null; - private List lines = new List(); - private int linesDrawn = 0; - private int charsDrawn = 0; - private SpriteFont font = null; - private bool wordWrap = false; - private ScrollBars scrollBars = ScrollBars.Both; - private string Separator = "\n"; - private string text = ""; - private string buffer = ""; - private bool autoSelection = true; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - private int PosX - { - get - { - return posx; - } - set - { - posx = value; - - if (posx < 0) posx = 0; - if (posx > Lines[PosY].Length) posx = Lines[PosY].Length; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int PosY - { - get - { - return posy; - } - set - { - posy = value; - - if (posy < 0) posy = 0; - if (posy > Lines.Count - 1) posy = Lines.Count - 1; - - PosX = PosX; - } - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - private int Pos - { - get - { - return GetPos(PosX, PosY); - } - set - { - PosY = GetPosY(value); - PosX = GetPosX(value); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - //>>>> - - public virtual bool WordWrap - { - get { return wordWrap; } - set - { - wordWrap = value; - if (ClientArea != null) ClientArea.Invalidate(); - SetupBars(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual ScrollBars ScrollBars - { - get { return scrollBars; } - set - { - scrollBars = value; - SetupBars(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual char PasswordChar - { - get { return passwordChar; } - set { passwordChar = value; if (ClientArea != null) ClientArea.Invalidate(); } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool CaretVisible - { - get { return caretVisible; } - set { caretVisible = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual TextBoxMode Mode - { - get { return mode; } - set - { - if (value != TextBoxMode.Multiline) - { - Text = Text.Replace(Separator, ""); - } - mode = value; - selection.Clear(); - - if (ClientArea != null) ClientArea.Invalidate(); - SetupBars(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool ReadOnly - { - get { return readOnly; } - set { readOnly = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool DrawBorders - { - get { return drawBorders; } - set { drawBorders = value; if (ClientArea != null) ClientArea.Invalidate(); } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int CursorPosition - { - get { return Pos; } - set - { - Pos = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual string SelectedText - { - get - { - if (selection.IsEmpty) - { - return ""; - } - else - { - return Text.Substring(selection.Start, selection.Length); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int SelectionStart - { - get - { - if (selection.IsEmpty) - { - return Pos; - } - else - { - return selection.Start; - } - } - set - { - Pos = value; - if (Pos < 0) Pos = 0; - if (Pos > Text.Length) Pos = Text.Length; - selection.Start = Pos; - if (selection.End == -1) selection.End = Pos; - ClientArea.Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool AutoSelection - { - get { return autoSelection; } - set { autoSelection = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int SelectionLength - { - get - { - return selection.Length; - } - set - { - if (value == 0) - { - selection.End = selection.Start; - } - else if (selection.IsEmpty) - { - selection.Start = 0; - selection.End = value; - } - else if (!selection.IsEmpty) - { - selection.End = selection.Start + value; - } - - if (!selection.IsEmpty) - { - if (selection.Start < 0) selection.Start = 0; - if (selection.Start > Text.Length) selection.Start = Text.Length; - if (selection.End < 0) selection.End = 0; - if (selection.End > Text.Length) selection.End = Text.Length; - } - ClientArea.Invalidate(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private List Lines - { - get - { - return lines; - } - set - { - lines = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public override string Text - { - get - { - return text; - } - set - { - if (wordWrap) - value = WrapWords(value, ClientWidth); - - if (mode != TextBoxMode.Multiline && value != null) - { - value = value.Replace(Separator, ""); - } - - text = value; - - if (!Suspended) OnTextChanged(new EventArgs()); - - lines = SplitLines(text); - if (ClientArea != null) ClientArea.Invalidate(); - - SetupBars(); - ProcessScrolling(); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public TextBox(Manager manager) - : base(manager) - { - CheckLayer(Skin, lrCursor); - - SetDefaultSize(128, 20); - Lines.Add(""); - - ClientArea.Draw += new DrawEventHandler(ClientArea_Draw); - - vert = new ScrollBar(manager, Orientation.Vertical); - horz = new ScrollBar(manager, Orientation.Horizontal); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - vert.Init(); - vert.Range = 1; - vert.PageSize = 1; - vert.Value = 0; - vert.Anchor = Anchors.Top | Anchors.Right | Anchors.Bottom; - vert.ValueChanged += new EventHandler(sb_ValueChanged); - - horz.Init(); - horz.Range = ClientArea.Width; - horz.PageSize = ClientArea.Width; - horz.Value = 0; - horz.Anchor = Anchors.Right | Anchors.Left | Anchors.Bottom; - horz.ValueChanged += new EventHandler(sb_ValueChanged); - - horz.Visible = false; - vert.Visible = false; - - Add(vert, false); - Add(horz, false); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls[skTextBox]); - - #if (!XBOX && !XBOX_FAKE) - Cursor = Manager.Skin.Cursors[crText].Resource; - #endif - - font = (Skin.Layers[lrTextBox].Text != null) ? Skin.Layers[lrTextBox].Text.Font.Resource : null; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - if (drawBorders) - { - base.DrawControl(renderer, rect, gameTime); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetFitChars(string text, int width) - { - int ret = text.Length; - int size = 0; - - for (int i = 0; i < text.Length; i++) - { - size = (int)font.MeasureString(text.Substring(0, i)).X; - if (size > width) - { - ret = i; - break; - } - } - - return ret; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DeterminePages() - { - if (ClientArea != null) - { - int sizey = (int)font.LineSpacing; - linesDrawn = (int)(ClientArea.Height / sizey); - if (linesDrawn > Lines.Count) linesDrawn = Lines.Count; - - charsDrawn = ClientArea.Width - 1; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string GetMaxLine() - { - int max = 0; - int x = 0; - - for (int i = 0; i < Lines.Count; i++) - { - if (Lines[i].Length > max) - { - max = Lines[i].Length; - x = i; - } - } - return Lines.Count > 0 ? Lines[x] : ""; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void ClientArea_Draw(object sender, DrawEventArgs e) - { - SkinLayer layer = Skin.Layers[lrTextBox]; - Color col = Skin.Layers[lrTextBox].Text.Colors.Enabled; - SkinLayer cursor = Skin.Layers[lrCursor]; - Alignment al = mode == TextBoxMode.Multiline ? Alignment.TopLeft : Alignment.MiddleLeft; - Renderer renderer = e.Renderer; - Rectangle r = e.Rectangle; - bool drawsel = !selection.IsEmpty; - string tmpText = ""; - - font = (Skin.Layers[lrTextBox].Text != null) ? Skin.Layers[lrTextBox].Text.Font.Resource : null; - - if (Text != null && font != null) - { - DeterminePages(); - - if (mode == TextBoxMode.Multiline) - { - shownText = Text; - tmpText = Lines[PosY]; - } - else if (mode == TextBoxMode.Password) - { - shownText = ""; - for (int i = 0; i < Text.Length; i++) - { - shownText = shownText + passwordChar; - } - tmpText = shownText; - } - else - { - shownText = Text; - tmpText = Lines[PosY]; - } - - if (TextColor != UndefinedColor && ControlState != ControlState.Disabled) - { - col = TextColor; - } - - if (mode != TextBoxMode.Multiline) - { - linesDrawn = 0; - vert.Value = 0; - } - - if (drawsel) - { - DrawSelection(e.Renderer, r); -/* - renderer.End(); - renderer.SpriteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Immediate, SaveStateMode.None); - renderer.SpriteBatch.GraphicsDevice.RenderState.SeparateAlphaBlendEnabled = true; - renderer.SpriteBatch.GraphicsDevice.RenderState.SourceBlend = Blend.DestinationColor; - renderer.SpriteBatch.GraphicsDevice.RenderState.DestinationBlend = Blend.SourceColor; - renderer.SpriteBatch.GraphicsDevice.RenderState.BlendFunction = BlendFunction.Subtract; - //renderer.SpriteBatch.GraphicsDevice.RenderState.AlphaFunction = CompareFunction.Equal; - //renderer.SpriteBatch.GraphicsDevice.RenderState.AlphaSourceBlend = Blend.One; - //renderer.SpriteBatch.GraphicsDevice.RenderState.AlphaDestinationBlend = Blend.DestinationAlpha; - */ - } - - int sizey = (int)font.LineSpacing; - - if (showCursor && caretVisible) - { - Vector2 size = Vector2.Zero; - if (PosX > 0 && PosX <= tmpText.Length) - { - size = font.MeasureString(tmpText.Substring(0, PosX)); - } - if (size.Y == 0) - { - size = font.MeasureString(" "); - size.X = 0; - } - - int m = r.Height - font.LineSpacing; - - Rectangle rc = new Rectangle(r.Left - horz.Value + (int)size.X, r.Top + m / 2, cursor.Width, font.LineSpacing); - - if (mode == TextBoxMode.Multiline) - { - rc = new Rectangle(r.Left + (int)size.X - horz.Value, r.Top + (int)((PosY - vert.Value) * font.LineSpacing), cursor.Width, font.LineSpacing); - } - cursor.Alignment = al; - renderer.DrawLayer(cursor, rc, col, 0); - } - - for (int i = 0; i < linesDrawn + 1; i++) - { - int ii = i + vert.Value; - if (ii >= Lines.Count || ii < 0) break; - - if (Lines[ii] != "") - { - if (mode == TextBoxMode.Multiline) - { - renderer.DrawString(font, Lines[ii], r.Left - horz.Value, r.Top + (i * sizey), col); - } - else - { - Rectangle rx = new Rectangle(r.Left - horz.Value, r.Top, r.Width, r.Height); - renderer.DrawString(font, shownText, rx, col, al, false); - } - } - } - /* if (drawsel) - { - renderer.End(); - renderer.Begin(BlendingMode.Premultiplied); - }*/ - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetStringWidth(string text, int count) - { - if (count > text.Length) count = text.Length; - return (int)font.MeasureString(text.Substring(0, count)).X; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void ProcessScrolling() - { - if (vert != null && horz != null) - { - vert.PageSize = linesDrawn; - horz.PageSize = charsDrawn; - - if (horz.PageSize > horz.Range) horz.PageSize = horz.Range; - - if (PosY >= vert.Value + vert.PageSize) - { - vert.Value = (PosY + 1) - vert.PageSize; - } - else if (PosY < vert.Value) - { - vert.Value = PosY; - } - - if (GetStringWidth(Lines[PosY], PosX) >= horz.Value + horz.PageSize) - { - horz.Value = (GetStringWidth(Lines[PosY], PosX) + 1) - horz.PageSize; - } - else if (GetStringWidth(Lines[PosY], PosX) < horz.Value) - { - horz.Value = GetStringWidth(Lines[PosY], PosX) - horz.PageSize; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void DrawSelection(Renderer renderer, Rectangle rect) - { - if (!selection.IsEmpty) - { - int s = selection.Start; - int e = selection.End; - - int sl = GetPosY(s); - int el = GetPosY(e); - int sc = GetPosX(s); - int ec = GetPosX(e); - - int hgt = font.LineSpacing; - - int start = sl; - int end = el; - - if (start < vert.Value) start = vert.Value; - if (end > vert.Value + linesDrawn) end = vert.Value + linesDrawn; - - for (int i = start; i <= end; i++) - { - Rectangle r = Rectangle.Empty; - - if (mode == TextBoxMode.Normal) - { - int m = ClientArea.Height - font.LineSpacing; - r = new Rectangle(rect.Left - horz.Value + (int)font.MeasureString(Lines[i].Substring(0, sc)).X, rect.Top + m / 2, - (int)font.MeasureString(Lines[i].Substring(0, ec + 0)).X - (int)font.MeasureString(Lines[i].Substring(0, sc)).X, hgt); - } - else if (sl == el) - { - r = new Rectangle(rect.Left - horz.Value + (int)font.MeasureString(Lines[i].Substring(0, sc)).X, rect.Top + (i - vert.Value) * hgt, - (int)font.MeasureString(Lines[i].Substring(0, ec + 0)).X - (int)font.MeasureString(Lines[i].Substring(0, sc)).X, hgt); - } - else - { - if (i == sl) r = new Rectangle(rect.Left - horz.Value + (int)font.MeasureString(Lines[i].Substring(0, sc)).X, rect.Top + (i - vert.Value) * hgt, (int)font.MeasureString(Lines[i]).X - (int)font.MeasureString(Lines[i].Substring(0, sc)).X, hgt); - else if (i == el) r = new Rectangle(rect.Left - horz.Value, rect.Top + (i - vert.Value) * hgt, (int)font.MeasureString(Lines[i].Substring(0, ec + 0)).X, hgt); - else r = new Rectangle(rect.Left - horz.Value, rect.Top + (i - vert.Value) * hgt, (int)font.MeasureString(Lines[i]).X, hgt); - } - - renderer.Draw(Manager.Skin.Images["Control"].Resource, r, Color.FromNonPremultiplied(160, 160, 160, 128)); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - - bool sc = showCursor; - - showCursor = Focused; - - if (Focused) - { - flashTime += gameTime.ElapsedGameTime.TotalSeconds; - showCursor = flashTime < 0.5; - if (flashTime > 1) flashTime = 0; - } - if (sc != showCursor) ClientArea.Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int FindPrevWord(string text) - { - bool letter = false; - - int p = Pos - 1; - if (p < 0) p = 0; - if (p >= text.Length) p = text.Length - 1; - - - for (int i = p; i >= 0; i--) - { - if (char.IsLetterOrDigit(text[i])) - { - letter = true; - continue; - } - if (letter && !char.IsLetterOrDigit(text[i])) - { - return i + 1; - } - } - - return 0; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int FindNextWord(string text) - { - bool space = false; - - for (int i = Pos; i < text.Length - 1; i++) - { - if (!char.IsLetterOrDigit(text[i])) - { - space = true; - continue; - } - if (space && char.IsLetterOrDigit(text[i])) - { - return i; - } - } - - return text.Length; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetPosY(int pos) - { - if (pos >= Text.Length) return Lines.Count - 1; - - int p = pos; - for (int i = 0; i < Lines.Count; i++) - { - p -= Lines[i].Length + Separator.Length; - if (p < 0) - { - p = p + Lines[i].Length + Separator.Length; - return i; - } - } - return 0; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetPosX(int pos) - { - if (pos >= Text.Length) return Lines[Lines.Count - 1].Length; - - int p = pos; - for (int i = 0; i < Lines.Count; i++) - { - p -= Lines[i].Length + Separator.Length; - if (p < 0) - { - p = p + Lines[i].Length + Separator.Length; - return p; - } - } - return 0; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int GetPos(int x, int y) - { - int p = 0; - - for (int i = 0; i < y; i++) - { - p += Lines[i].Length + Separator.Length; - } - p += x; - - return p; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private int CharAtPos(Point pos) - { - int x = pos.X; - int y = pos.Y; - int px = 0; - int py = 0; - - if (mode == TextBoxMode.Multiline) - { - py = vert.Value + (int)((y - ClientTop) / font.LineSpacing); - if (py < 0) py = 0; - if (py >= Lines.Count) py = Lines.Count - 1; - } - else - { - py = 0; - } - - string str = mode == TextBoxMode.Multiline ? Lines[py] : shownText; - - if (str != null && str != "") - { - for (int i = 1; i <= Lines[py].Length; i++) - { - Vector2 v = font.MeasureString(str.Substring(0, i)) - (font.MeasureString(str[i - 1].ToString()) / 3); - if (x <= (ClientLeft + (int)v.X) - horz.Value) - { - px = i - 1; - break; - } - } - if (x > ClientLeft + ((int)font.MeasureString(str).X) - horz.Value - (font.MeasureString(str[str.Length - 1].ToString()).X / 3)) px = str.Length; - } - - return GetPos(px, py); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseDown(MouseEventArgs e) - { - base.OnMouseDown(e); - - flashTime = 0; - - Pos = CharAtPos(e.Position); - selection.Clear(); - - if (e.Button == MouseButton.Left && caretVisible && mode != TextBoxMode.Password) - { - selection.Start = Pos; - selection.End = Pos; - } - ClientArea.Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseMove(MouseEventArgs e) - { - base.OnMouseMove(e); - - if (e.Button == MouseButton.Left && !selection.IsEmpty && mode != TextBoxMode.Password && selection.Length < Text.Length) - { - int pos = CharAtPos(e.Position); - selection.End = CharAtPos(e.Position); - Pos = pos; - - ClientArea.Invalidate(); - - ProcessScrolling(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMouseUp(MouseEventArgs e) - { - base.OnMouseUp(e); - - if (e.Button == MouseButton.Left && !selection.IsEmpty && mode != TextBoxMode.Password) - { - if (selection.Length == 0) selection.Clear(); - } - } - //////////////////////////////////////////////////////////////////////////// - - protected override void OnMouseScroll(MouseEventArgs e) - { - if (Mode != TextBoxMode.Multiline) - { - base.OnMouseScroll(e); - return; - } - - if (e.ScrollDirection == MouseScrollDirection.Down) - vert.ScrollDown(); - else - vert.ScrollUp(); - - base.OnMouseScroll(e); - } - - //////////////////////////////////////////////////////////////////////////// - protected override void OnKeyPress(KeyEventArgs e) - { - flashTime = 0; - - if (!e.Handled) - { - if (e.Key == Keys.A && e.Control && mode != TextBoxMode.Password) - { - SelectAll(); - } - if (e.Key == Keys.Up) - { - e.Handled = true; - - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - PosY -= 1; - } - } - else if (e.Key == Keys.Down) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - PosY += 1; - } - } - else if (e.Key == Keys.Back && !readOnly) - { - e.Handled = true; - if (!selection.IsEmpty) - { - Text = Text.Remove(selection.Start, selection.Length); - Pos = selection.Start; - } - else if (Text.Length > 0 && Pos > 0) - { - Pos -= 1; - Text = Text.Remove(Pos, 1); - } - selection.Clear(); - } - else if (e.Key == Keys.Delete && !readOnly) - { - e.Handled = true; - if (!selection.IsEmpty) - { - Text = Text.Remove(selection.Start, selection.Length); - Pos = selection.Start; - } - else if (Pos < Text.Length) - { - Text = Text.Remove(Pos, 1); - } - selection.Clear(); - } - else if (e.Key == Keys.Left) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - Pos -= 1; - } - if (e.Control) - { - Pos = FindPrevWord(shownText); - } - } - else if (e.Key == Keys.Right) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - Pos += 1; - } - if (e.Control) - { - Pos = FindNextWord(shownText); - } - } - else if (e.Key == Keys.Home) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - PosX = 0; - } - if (e.Control) - { - Pos = 0; - } - } - else if (e.Key == Keys.End) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - PosX = Lines[PosY].Length; - } - if (e.Control) - { - Pos = Text.Length; - } - } - else if (e.Key == Keys.PageUp) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - PosY -= linesDrawn; - } - } - else if (e.Key == Keys.PageDown) - { - e.Handled = true; - if (e.Shift && selection.IsEmpty && mode != TextBoxMode.Password) - { - selection.Start = Pos; - } - if (!e.Control) - { - PosY += linesDrawn; - } - } - else if (e.Key == Keys.Enter && mode == TextBoxMode.Multiline && !readOnly) - { - e.Handled = true; - Text = Text.Insert(Pos, Separator); - PosX = 0; - PosY += 1; - } - else if (e.Key == Keys.Tab) - { - } - else if (!readOnly && !e.Control) - { - string c = Manager.KeyboardLayout.GetKey(e); - if (selection.IsEmpty) - { - Text = Text.Insert(Pos, c); - if (c != "") PosX += 1; - } - else - { - if (Text.Length > 0) - { - Text = Text.Remove(selection.Start, selection.Length); - Text = Text.Insert(selection.Start, c); - Pos = selection.Start + 1; - } - selection.Clear(); - } - } - - if (e.Shift && !selection.IsEmpty) - { - selection.End = Pos; - } - - /* - * TODO: Fix - * MONOTODO: Fix - if (e.Control && e.Key == Keys.C && mode != TextBoxMode.Password) - { -#if (!XBOX && !XBOX_FAKE) - System.Windows.Forms.Clipboard.Clear(); - if (mode != TextBoxMode.Password && !selection.IsEmpty) - { - System.Windows.Forms.Clipboard.SetText((Text.Substring(selection.Start, selection.Length)).Replace("\n", Environment.NewLine)); - } -#endif - } - else if (e.Control && e.Key == Keys.V && !readOnly && mode != TextBoxMode.Password) - { -#if (!XBOX && !XBOX_FAKE) - string t = System.Windows.Forms.Clipboard.GetText().Replace(Environment.NewLine, "\n"); - if (selection.IsEmpty) - { - Text = Text.Insert(Pos, t); - Pos = Pos + t.Length; - } - else - { - Text = Text.Remove(selection.Start, selection.Length); - Text = Text.Insert(selection.Start, t); - PosX = selection.Start + t.Length; - selection.Clear(); - } -#endif - } - */ - if ((!e.Shift && !e.Control) || Text.Length <= 0) - { - selection.Clear(); - } - - if (e.Control && e.Key == Keys.Down) - { - e.Handled = true; - HandleGuide(PlayerIndex.One); - } - flashTime = 0; - if (ClientArea != null) ClientArea.Invalidate(); - - DeterminePages(); - ProcessScrolling(); - } - base.OnKeyPress(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnGamePadDown(GamePadEventArgs e) - { - if (!e.Handled) - { - if (e.Button == GamePadActions.Click) - { - e.Handled = true; - HandleGuide(e.PlayerIndex); - } - } - base.OnGamePadDown(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void HandleGuide(PlayerIndex pi) - { - } - - //////////////////////////////////////////////////////////////////////////// - private void SetupBars() - { - DeterminePages(); - - if (vert != null) vert.Range = Lines.Count; - if (horz != null) - { - horz.Range = (int)font.MeasureString(GetMaxLine()).X; - if (horz.Range == 0) horz.Range = ClientArea.Width; - } - - if (vert != null) - { - vert.Left = Width - 16 - 2; - vert.Top = 2; - vert.Height = Height - 4 - 16; - - if (Height < 50 || (scrollBars != ScrollBars.Both && scrollBars != ScrollBars.Vertical)) vert.Visible = false; - else if ((scrollBars == ScrollBars.Vertical || scrollBars == ScrollBars.Both) && mode == TextBoxMode.Multiline) vert.Visible = true; - } - if (horz != null) - { - horz.Left = 2; - horz.Top = Height - 16 - 2; - horz.Width = Width - 4 - 16; - - if (Width < 50 || wordWrap || (scrollBars != ScrollBars.Both && scrollBars != ScrollBars.Horizontal)) horz.Visible = false; - else if ((scrollBars == ScrollBars.Horizontal || scrollBars == ScrollBars.Both) && mode == TextBoxMode.Multiline && !wordWrap) horz.Visible = true; - } - - AdjustMargins(); - - if (vert != null) vert.PageSize = linesDrawn; - if (horz != null) horz.PageSize = charsDrawn; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void AdjustMargins() - { - if (horz != null && !horz.Visible) - { - vert.Height = Height - 4; - ClientMargins = new Margins(ClientMargins.Left, ClientMargins.Top, ClientMargins.Right, Skin.ClientMargins.Bottom); - } - else - { - ClientMargins = new Margins(ClientMargins.Left, ClientMargins.Top, ClientMargins.Right, 18 + Skin.ClientMargins.Bottom); - } - - if (vert != null && !vert.Visible) - { - horz.Width = Width - 4; - ClientMargins = new Margins(ClientMargins.Left, ClientMargins.Top, Skin.ClientMargins.Right, ClientMargins.Bottom); - } - else - { - ClientMargins = new Margins(ClientMargins.Left, ClientMargins.Top, 18 + Skin.ClientMargins.Right, ClientMargins.Bottom); - } - base.AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - selection.Clear(); - SetupBars(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private string WrapWords(string text, int size) - { - string ret = ""; - string line = ""; - - string[] words = text.Replace("\v", "").Split(" ".ToCharArray()); - - for (int i = 0; i < words.Length; i++) - { - if (font.MeasureString(line + words[i]).X > size) - { - ret += line + "\n"; - line = words[i] + " "; - } - else - { - line += words[i] + " "; - } - } - - ret += line; - - return ret.Remove(ret.Length - 1, 1); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void SelectAll() - { - if (text.Length > 0) - { - selection.Start = 0; - selection.End = Text.Length; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private List SplitLines(string text) - { - if (buffer != text) - { - buffer = text; - List list = new List(); - string[] s = text.Split(new char[] { Separator[0] }); - list.Clear(); - - //Before adding the lines back in, we will want to first, measure the lines, and split words if needed... - - list.AddRange(s); - - if (posy < 0) posy = 0; - if (posy > list.Count - 1) posy = list.Count - 1; - - if (posx < 0) posx = 0; - if (posx > list[PosY].Length) posx = list[PosY].Length; - - return list; - } - else return lines; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void sb_ValueChanged(object sender, EventArgs e) - { - ClientArea.Invalidate(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnFocusLost(EventArgs e) - { - selection.Clear(); - ClientArea.Invalidate(); - base.OnFocusLost(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnFocusGained(EventArgs e) - { - if (!readOnly && autoSelection) - { - SelectAll(); - ClientArea.Invalidate(); - } - - base.OnFocusGained(e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} \ No newline at end of file diff --git a/Neoforce/TomShane.Neoforce.Controls.csproj b/Neoforce/TomShane.Neoforce.Controls.csproj deleted file mode 100644 index 1cc4e2a..0000000 --- a/Neoforce/TomShane.Neoforce.Controls.csproj +++ /dev/null @@ -1,119 +0,0 @@ - - - - - Debug - AnyCPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841} - Library - Properties - TomShane.Neoforce.Controls - TomShane.Neoforce.Controls - v4.0 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - False - C:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - False - C:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.Net.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Neoforce/ToolBar.cs b/Neoforce/ToolBar.cs deleted file mode 100644 index 4833d75..0000000 --- a/Neoforce/ToolBar.cs +++ /dev/null @@ -1,113 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ToolBar.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - - public class ToolBar: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private int row = 0; - private bool fullRow = false; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int Row - { - get { return row; } - set - { - row = value; - if (row < 0) row = 0; - if (row > 7) row = 7; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool FullRow - { - get { return fullRow; } - set { fullRow = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ToolBar(Manager manager): base(manager) - { - Left = 0; - Top = 0; - Width = 64; - Height = 24; - CanFocus = false; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["ToolBar"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ToolBarButton.cs b/Neoforce/ToolBarButton.cs deleted file mode 100644 index 1134156..0000000 --- a/Neoforce/ToolBarButton.cs +++ /dev/null @@ -1,90 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ToolBarButton.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - - public class ToolBarButton: Button - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ToolBarButton(Manager manager): base(manager) - { - CanFocus = false; - Text = ""; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["ToolBarButton"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/ToolBarPanel.cs b/Neoforce/ToolBarPanel.cs deleted file mode 100644 index 62a2b7f..0000000 --- a/Neoforce/ToolBarPanel.cs +++ /dev/null @@ -1,135 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ToolBarPanel.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - - public class ToolBarPanel: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ToolBarPanel(Manager manager): base(manager) - { - Width = 64; - Height = 25; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["ToolBarPanel"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - base.DrawControl(renderer, rect, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void Update(GameTime gameTime) - { - base.Update(gameTime); - AlignBars(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void AlignBars() - { - int[] rx = new int[8]; - int h = 0; - int rm = -1; - - foreach (Control c in Controls) - { - if (c is ToolBar) - { - ToolBar t = c as ToolBar; - if (t.FullRow) t.Width = Width; - t.Left = rx[t.Row]; - t.Top = (t.Row * t.Height) + (t.Row > 0 ? 1 : 0); - rx[t.Row] += t.Width + 1; - - if (t.Row > rm) - { - rm = t.Row; - h = t.Top + t.Height + 1; - } - } - } - - Height = h; - } - //////////////////////////////////////////////////////////////////////////// - - - #endregion - - } - -} diff --git a/Neoforce/ToolTip.cs b/Neoforce/ToolTip.cs deleted file mode 100644 index cec409b..0000000 --- a/Neoforce/ToolTip.cs +++ /dev/null @@ -1,110 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: ToolTip.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - public class ToolTip: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public override bool Visible - { - set - { - if (value && Text != null && Text != "" && Skin != null && Skin.Layers[0] != null) - { - Vector2 size = Skin.Layers[0].Text.Font.Resource.MeasureString(Text); - Width = (int)size.X + Skin.Layers[0].ContentMargins.Horizontal; - Height = (int)size.Y + Skin.Layers[0].ContentMargins.Vertical; - Left = Mouse.GetState().X; - Top = Mouse.GetState().Y + 24; - base.Visible = value; - } - else - { - base.Visible = false; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public ToolTip(Manager manager): base(manager) - { - Text = ""; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - CanFocus = false; - Passive = true; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = Manager.Skin.Controls["ToolTip"]; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - renderer.DrawLayer(this, Skin.Layers[0], rect); - renderer.DrawString(this, Skin.Layers[0], Text, rect, true); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/TrackBar.cs b/Neoforce/TrackBar.cs deleted file mode 100644 index 46c7c8a..0000000 --- a/Neoforce/TrackBar.cs +++ /dev/null @@ -1,341 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: TrackBar.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework.Graphics; -using System; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public class TrackBar: Control - { - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private int range = 100; - private int value = 0; - private int stepSize = 1; - private int pageSize = 5; - private bool scale = true; - private Button btnSlider; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int Value - { - get { return this.value; } - set - { - if (this.value != value) - { - this.value = value; - if (this.value < 0) this.value = 0; - if (this.value > range) this.value = range; - Invalidate(); - if (!Suspended) OnValueChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int Range - { - get { return range; } - set - { - if (range != value) - { - range = value; - range = value; - if (pageSize > range) pageSize = range; - RecalcParams(); - if (!Suspended) OnRangeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int PageSize - { - get { return pageSize; } - set - { - if (pageSize != value) - { - pageSize = value; - if (pageSize > range) pageSize = range; - RecalcParams(); - if (!Suspended) OnPageSizeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual int StepSize - { - get { return stepSize; } - set - { - if (stepSize != value) - { - stepSize = value; - if (stepSize > range) stepSize = range; - if (!Suspended) OnStepSizeChanged(new EventArgs()); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool Scale - { - get { return scale; } - set { scale = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - public event EventHandler ValueChanged; - public event EventHandler RangeChanged; - public event EventHandler StepSizeChanged; - public event EventHandler PageSizeChanged; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Construstors ////// - - //////////////////////////////////////////////////////////////////////////// - public TrackBar(Manager manager): base(manager) - { - Width = 64; - Height = 20; - CanFocus = false; - - btnSlider = new Button(Manager); - btnSlider.Init(); - btnSlider.Text = ""; - btnSlider.CanFocus = true; - btnSlider.Parent = this; - btnSlider.Anchor = Anchors.Left | Anchors.Top | Anchors.Bottom; - btnSlider.Detached = true; - btnSlider.Movable = true; - btnSlider.Move += new MoveEventHandler(btnSlider_Move); - btnSlider.KeyPress += new KeyEventHandler(btnSlider_KeyPress); - btnSlider.GamePadPress += new GamePadEventHandler(btnSlider_GamePadPress); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - btnSlider.Skin = new SkinControl(Manager.Skin.Controls["TrackBar.Button"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls["TrackBar"]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - RecalcParams(); - - SkinLayer p = Skin.Layers["Control"]; - SkinLayer l = Skin.Layers["Scale"]; - - float ratio = 0.66f; - int h = (int)(ratio * rect.Height); - int t = rect.Top + (Height - h) / 2; - - float px = ((float)value / (float)range); - int w = (int)Math.Ceiling(px * (rect.Width - p.ContentMargins.Horizontal - btnSlider.Width)) + 2; - - if (w < l.SizingMargins.Vertical) w = l.SizingMargins.Vertical; - if (w > rect.Width - p.ContentMargins.Horizontal) w = rect.Width - p.ContentMargins.Horizontal; - - Rectangle r1 = new Rectangle(rect.Left + p.ContentMargins.Left, t + p.ContentMargins.Top, w, h - p.ContentMargins.Vertical); - - base.DrawControl(renderer, new Rectangle(rect.Left, t, rect.Width, h), gameTime); - if (scale) renderer.DrawLayer(this, l, r1); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnSlider_Move(object sender, MoveEventArgs e) - { - SkinLayer p = Skin.Layers["Control"]; - int size = btnSlider.Width; - int w = Width - p.ContentMargins.Horizontal - size; - int pos = e.Left; - - if (pos < p.ContentMargins.Left) pos = p.ContentMargins.Left; - if (pos > w + p.ContentMargins.Left) pos = w + p.ContentMargins.Left; - - btnSlider.SetPosition(pos, 0); - - float px = (float)range / (float)w; - Value = (int)(Math.Ceiling((pos - p.ContentMargins.Left) * px)); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void RecalcParams() - { - if (btnSlider != null) - { - if (btnSlider.Width > 12) - { - btnSlider.Glyph = new Glyph(Manager.Skin.Images["Shared.Glyph"].Resource); - btnSlider.Glyph.SizeMode = SizeMode.Centered; - } - else - { - btnSlider.Glyph = null; - } - - SkinLayer p = Skin.Layers["Control"]; - btnSlider.Width = (int)(Height * 0.8); - btnSlider.Height = Height; - int size = btnSlider.Width; - int w = Width - p.ContentMargins.Horizontal - size; - - float px = (float)range / (float)w; - int pos = p.ContentMargins.Left + (int)(Math.Ceiling(Value / (float)px)); - - if (pos < p.ContentMargins.Left) pos = p.ContentMargins.Left; - if (pos > w + p.ContentMargins.Left) pos = w + p.ContentMargins.Left; - - btnSlider.SetPosition(pos, 0); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMousePress(MouseEventArgs e) - { - base.OnMouseDown(e); - - if (e.Button == MouseButton.Left) - { - int pos = e.Position.X; - - if (pos < btnSlider.Left) - { - Value -= pageSize; - } - else if (pos >= btnSlider.Left + btnSlider.Width) - { - Value += pageSize; - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnSlider_GamePadPress(object sender, GamePadEventArgs e) - { - if (e.Button == GamePadActions.Left || e.Button == GamePadActions.Down) Value -= stepSize; - if (e.Button == GamePadActions.Right || e.Button == GamePadActions.Up) Value += stepSize; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnSlider_KeyPress(object sender, KeyEventArgs e) - { - if (e.Key == Microsoft.Xna.Framework.Input.Keys.Left || e.Key == Microsoft.Xna.Framework.Input.Keys.Down) Value -= stepSize; - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.Right || e.Key == Microsoft.Xna.Framework.Input.Keys.Up) Value += stepSize; - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.PageDown) Value -= pageSize; - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.PageUp) Value += pageSize; - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.Home) Value = 0; - else if (e.Key == Microsoft.Xna.Framework.Input.Keys.End) Value = Range; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - base.OnResize(e); - RecalcParams(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnValueChanged(EventArgs e) - { - if (ValueChanged != null) ValueChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnRangeChanged(EventArgs e) - { - if (RangeChanged != null) RangeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnPageSizeChanged(EventArgs e) - { - if (PageSizeChanged != null) PageSizeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected virtual void OnStepSizeChanged(EventArgs e) - { - if (StepSizeChanged != null) StepSizeChanged.Invoke(this, e); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} diff --git a/Neoforce/Types.cs b/Neoforce/Types.cs deleted file mode 100644 index 2f961ec..0000000 --- a/Neoforce/Types.cs +++ /dev/null @@ -1,178 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Types.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Enums ///////////// - - //////////////////////////////////////////////////////////////////////////// - public enum Message - { - Click, - MouseDown, - MouseUp, - MousePress, - MouseMove, - MouseOver, - MouseOut, - MouseScroll, - KeyDown, - KeyUp, - KeyPress, - GamePadDown, - GamePadUp, - GamePadPress - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum ControlState - { - Enabled, - Hovered, - Pressed, - Focused, - Disabled - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum Alignment - { - None, - TopLeft, - TopCenter, - TopRight, - MiddleLeft, - MiddleCenter, - MiddleRight, - BottomLeft, - BottomCenter, - BottomRight - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum ModalResult - { - None, - Ok, - Cancel, - Yes, - No, - Abort, - Retry, - Ignore - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum Orientation - { - Horizontal, - Vertical - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public enum ScrollBars - { - None, - Vertical, - Horizontal, - Both - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - [Flags] - public enum Anchors - { - None = 0x00, - Left = 0x01, - Top = 0x02, - Right = 0x04, - Bottom = 0x08, - Horizontal = Left | Right, - Vertical = Top | Bottom, - All = Left | Top | Right | Bottom - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Structs /////////// - - //////////////////////////////////////////////////////////////////////////// - public struct Margins - { - public int Left; - public int Top; - public int Right; - public int Bottom; - - public int Vertical { get { return (Top + Bottom); } } - public int Horizontal { get { return (Left + Right); } } - - public Margins(int left, int top, int right, int bottom) - { - Left = left; - Top = top; - Right = right; - Bottom = bottom; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public struct Size - { - public int Width; - public int Height; - - public Size(int width, int height) - { - Width = width; - Height = height; - } - - public static Size Zero - { - get - { - return new Size(0, 0); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} - \ No newline at end of file diff --git a/Neoforce/Unknown.cs b/Neoforce/Unknown.cs deleted file mode 100644 index a6da660..0000000 --- a/Neoforce/Unknown.cs +++ /dev/null @@ -1,61 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Unknown.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -////////////////////////////////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - public abstract class Unknown - { - - #region //// Fields //////////// - - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - ////////////////////////////////////////////////////////////////////////// - protected Unknown() - { - } - ////////////////////////////////////////////////////////////////////////// - - #endregion - - } - -} - diff --git a/Neoforce/Utilities.cs b/Neoforce/Utilities.cs deleted file mode 100644 index a71cf47..0000000 --- a/Neoforce/Utilities.cs +++ /dev/null @@ -1,85 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Utilities.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using System; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -using Microsoft.Xna.Framework; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - static class Utilities - { - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public static string DeriveControlName(Control control) - { - if (control != null) - { - try - { - string str = control.ToString(); - int i = str.LastIndexOf("."); - return str.Remove(0, i + 1); - } - catch - { - return control.ToString(); - } - } - return control.ToString(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public static Color ParseColor(string str) - { - - string[] val = str.Split(';'); - byte r = 255, g = 255, b = 255, a = 255; - - if (val.Length >= 1) r = byte.Parse(val[0]); - if (val.Length >= 2) g = byte.Parse(val[1]); - if (val.Length >= 3) b = byte.Parse(val[2]); - if (val.Length >= 4) a = byte.Parse(val[3]); - - return Color.FromNonPremultiplied(r, g, b, a); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public static BevelStyle ParseBevelStyle(string str) - { - return (BevelStyle)Enum.Parse(typeof(BevelStyle), str, true); - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - } -} diff --git a/Neoforce/Window.cs b/Neoforce/Window.cs deleted file mode 100644 index 5e69c6d..0000000 --- a/Neoforce/Window.cs +++ /dev/null @@ -1,491 +0,0 @@ -//////////////////////////////////////////////////////////////// -// // -// Neoforce Controls // -// // -//////////////////////////////////////////////////////////////// -// // -// File: Window.cs // -// // -// Version: 0.7 // -// // -// Date: 11/09/2010 // -// // -// Author: Tom Shane // -// // -//////////////////////////////////////////////////////////////// -// // -// Copyright (c) by Tom Shane // -// // -//////////////////////////////////////////////////////////////// - -#region //// Using ///////////// - -//////////////////////////////////////////////////////////////////////////// -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -//////////////////////////////////////////////////////////////////////////// - -#endregion - -namespace TomShane.Neoforce.Controls -{ - - #region //// Classes /////////// - - //////////////////////////////////////////////////////////////////////////// - public class WindowGamePadActions: GamePadActions - { - public GamePadButton Accept = GamePadButton.Start; - public GamePadButton Cancel = GamePadButton.Back; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - /// - public class Window: ModalContainer - { - - #region //// Consts //////////// - - //////////////////////////////////////////////////////////////////////////// - private const string skWindow = "Window"; - private const string lrWindow = "Control"; - private const string lrCaption = "Caption"; - private const string lrFrameTop = "FrameTop"; - private const string lrFrameLeft = "FrameLeft"; - private const string lrFrameRight = "FrameRight"; - private const string lrFrameBottom = "FrameBottom"; - private const string lrIcon = "Icon"; - - private const string skButton = "Window.CloseButton"; - private const string lrButton = "Control"; - - private const string skShadow = "Window.Shadow"; - private const string lrShadow = "Control"; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Fields //////////// - - //////////////////////////////////////////////////////////////////////////// - private Button btnClose; - private bool closeButtonVisible = true; - private bool iconVisible = true; - private Texture2D icon = null; - private bool shadow = true; - private bool captionVisible = true; - private bool borderVisible = true; - private byte oldAlpha = 255; - private byte dragAlpha = 200; - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Events //////////// - - //////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Properties //////// - - //////////////////////////////////////////////////////////////////////////// - public virtual Texture2D Icon - { - get { return icon; } - set { icon = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool Shadow - { - get { return shadow; } - set { shadow = value; } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool CloseButtonVisible - { - get - { - return closeButtonVisible; - } - set - { - closeButtonVisible = value; - if (btnClose != null) btnClose.Visible = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool IconVisible - { - get - { - return iconVisible; - } - set - { - iconVisible = value; - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool CaptionVisible - { - get { return captionVisible; } - set - { - captionVisible = value; - AdjustMargins(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual bool BorderVisible - { - get { return borderVisible; } - set - { - borderVisible = value; - AdjustMargins(); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual byte DragAlpha - { - get { return dragAlpha; } - set { dragAlpha = value; } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - #region //// Constructors ////// - - //////////////////////////////////////////////////////////////////////////// - public Window(Manager manager): base(manager) - { - CheckLayer(Skin, lrWindow); - CheckLayer(Skin, lrCaption); - CheckLayer(Skin, lrFrameTop); - CheckLayer(Skin, lrFrameLeft); - CheckLayer(Skin, lrFrameRight); - CheckLayer(Skin, lrFrameBottom); - CheckLayer(Manager.Skin.Controls[skButton], lrButton); - CheckLayer(Manager.Skin.Controls[skShadow], lrShadow); - - SetDefaultSize(640, 480); - SetMinimumSize(100, 75); - - btnClose = new Button(manager); - btnClose.Skin = new SkinControl(Manager.Skin.Controls[skButton]); - btnClose.Init(); - btnClose.Detached = true; - btnClose.CanFocus = false; - btnClose.Text = null; - btnClose.Click += new EventHandler(btnClose_Click); - btnClose.SkinChanged += new EventHandler(btnClose_SkinChanged); - - AdjustMargins(); - - AutoScroll = true; - Movable = true; - Resizable = true; - Center(); - - Add(btnClose, false); - - oldAlpha = Alpha; - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - - //////////////////////////////////////////////////////////////////////////// - protected override void Dispose(bool disposing) - { - if (disposing) - { - } - base.Dispose(disposing); - } - //////////////////////////////////////////////////////////////////////////// - - #region //// Methods /////////// - - //////////////////////////////////////////////////////////////////////////// - public override void Init() - { - base.Init(); - - SkinLayer l = btnClose.Skin.Layers[lrButton]; - btnClose.Width = l.Width - btnClose.Skin.OriginMargins.Horizontal; - btnClose.Height = l.Height - btnClose.Skin.OriginMargins.Vertical; - btnClose.Left = OriginWidth - Skin.OriginMargins.Right - btnClose.Width + l.OffsetX; - btnClose.Top = Skin.OriginMargins.Top + l.OffsetY; - btnClose.Anchor = Anchors.Top | Anchors.Right; - - //SkinControl sc = new SkinControl(ClientArea.Skin); - //sc.Layers[0] = Skin.Layers[lrWindow]; - //ClientArea.Color = Color.Transparent; - //ClientArea.BackColor = Color.Transparent; - //ClientArea.Skin = sc; - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected internal override void InitSkin() - { - base.InitSkin(); - Skin = new SkinControl(Manager.Skin.Controls[skWindow]); - AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnClose_SkinChanged(object sender, EventArgs e) - { - btnClose.Skin = new SkinControl(Manager.Skin.Controls[skButton]); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - internal override void Render(Renderer renderer, GameTime gameTime) - { - if (Visible && Shadow) - { - SkinControl c = Manager.Skin.Controls[skShadow]; - SkinLayer l = c.Layers[lrShadow]; - - Color cl = Color.FromNonPremultiplied(l.States.Enabled.Color.R, l.States.Enabled.Color.G, l.States.Enabled.Color.B, Alpha); - - renderer.Begin(BlendingMode.Default); - renderer.DrawLayer(l, new Rectangle(Left - c.OriginMargins.Left, Top - c.OriginMargins.Top, Width + c.OriginMargins.Horizontal, Height + c.OriginMargins.Vertical), cl, 0); - renderer.End(); - } - base.Render(renderer, gameTime); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private Rectangle GetIconRect() - { - SkinLayer l1 = Skin.Layers[lrCaption]; - SkinLayer l5 = Skin.Layers[lrIcon]; - - int s = l1.Height - l1.ContentMargins.Vertical; - return new Rectangle(DrawingRect.Left + l1.ContentMargins.Left + l5.OffsetX, - DrawingRect.Top + l1.ContentMargins.Top + l5.OffsetY, - s, s); - - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void DrawControl(Renderer renderer, Rectangle rect, GameTime gameTime) - { - SkinLayer l1 = captionVisible ? Skin.Layers[lrCaption] : Skin.Layers[lrFrameTop]; - SkinLayer l2 = Skin.Layers[lrFrameLeft]; - SkinLayer l3 = Skin.Layers[lrFrameRight]; - SkinLayer l4 = Skin.Layers[lrFrameBottom]; - SkinLayer l5 = Skin.Layers[lrIcon]; - LayerStates s1, s2, s3, s4; - SpriteFont f1 = l1.Text.Font.Resource; - Color c1 = l1.Text.Colors.Enabled; - - if ((Focused || (Manager.FocusedControl != null && Manager.FocusedControl.Root == this.Root)) && ControlState != ControlState.Disabled) - { - s1 = l1.States.Focused; - s2 = l2.States.Focused; - s3 = l3.States.Focused; - s4 = l4.States.Focused; - c1 = l1.Text.Colors.Focused; - } - else if (ControlState == ControlState.Disabled) - { - s1 = l1.States.Disabled; - s2 = l2.States.Disabled; - s3 = l3.States.Disabled; - s4 = l4.States.Disabled; - c1 = l1.Text.Colors.Disabled; - } - else - { - s1 = l1.States.Enabled; - s2 = l2.States.Enabled; - s3 = l3.States.Enabled; - s4 = l4.States.Enabled; - c1 = l1.Text.Colors.Enabled; - } - - renderer.DrawLayer(Skin.Layers[lrWindow], rect, Skin.Layers[lrWindow].States.Enabled.Color, Skin.Layers[lrWindow].States.Enabled.Index); - - if (borderVisible) - { - renderer.DrawLayer(l1, new Rectangle(rect.Left, rect.Top, rect.Width, l1.Height), s1.Color, s1.Index); - renderer.DrawLayer(l2, new Rectangle(rect.Left, rect.Top + l1.Height, l2.Width, rect.Height - l1.Height - l4.Height), s2.Color, s2.Index); - renderer.DrawLayer(l3, new Rectangle(rect.Right - l3.Width, rect.Top + l1.Height, l3.Width, rect.Height - l1.Height - l4.Height), s3.Color, s3.Index); - renderer.DrawLayer(l4, new Rectangle(rect.Left, rect.Bottom - l4.Height, rect.Width, l4.Height), s4.Color, s4.Index); - - if (iconVisible && (icon != null || l5 != null) && captionVisible) - { - Texture2D i = (icon != null) ? icon : l5.Image.Resource; - renderer.Draw(i, GetIconRect(), Color.White); - } - - int icosize = 0; - if (l5 != null && iconVisible && captionVisible) - { - icosize = l1.Height - l1.ContentMargins.Vertical + 4 + l5.OffsetX; - } - int closesize = 0; - if (btnClose.Visible) - { - closesize = btnClose.Width - (btnClose.Skin.Layers[lrButton].OffsetX); - } - - Rectangle r = new Rectangle(rect.Left + l1.ContentMargins.Left + icosize, - rect.Top + l1.ContentMargins.Top, - rect.Width - l1.ContentMargins.Horizontal - closesize - icosize, - l1.Height - l1.ContentMargins.Top - l1.ContentMargins.Bottom); - int ox = l1.Text.OffsetX; - int oy = l1.Text.OffsetY; - renderer.DrawString(f1, Text, r, c1, l1.Text.Alignment, ox, oy, true); - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - void btnClose_Click(object sender, EventArgs e) - { - Close(ModalResult = ModalResult.Cancel); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - public virtual void Center() - { - Left = (Manager.ScreenWidth / 2) - (Width / 2); - Top = (Manager.ScreenHeight - Height) / 2; - } - //////////////////////////////////////////////////////////////////////////// - - - //////////////////////////////////////////////////////////////////////////// - protected override void OnResize(ResizeEventArgs e) - { - SetMovableArea(); - base.OnResize(e); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMoveBegin(EventArgs e) - { - base.OnMoveBegin(e); - - try - { - oldAlpha = Alpha; - Alpha = dragAlpha; - } - catch - { - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnMoveEnd(EventArgs e) - { - base.OnMoveEnd(e); - try - { - Alpha = oldAlpha; - } - catch - { - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void OnDoubleClick(EventArgs e) - { - base.OnDoubleClick(e); - - MouseEventArgs ex = (e is MouseEventArgs) ? (MouseEventArgs) e : new MouseEventArgs(); - - if (IconVisible && ex.Button == MouseButton.Left) - { - Rectangle r = GetIconRect(); - r.Offset(AbsoluteLeft, AbsoluteTop); - if (r.Contains(ex.Position)) - { - Close(); - } - } - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - protected override void AdjustMargins() - { - - if (captionVisible && borderVisible) - { - ClientMargins = new Margins(Skin.ClientMargins.Left, Skin.Layers[lrCaption].Height, Skin.ClientMargins.Right, Skin.ClientMargins.Bottom); - } - else if (!captionVisible && borderVisible) - { - ClientMargins = new Margins(Skin.ClientMargins.Left, Skin.ClientMargins.Top, Skin.ClientMargins.Right, Skin.ClientMargins.Bottom); - } - else if (!borderVisible) - { - ClientMargins = new Margins(0, 0, 0, 0); - } - - if (btnClose != null) - { - btnClose.Visible = closeButtonVisible && captionVisible && borderVisible; - } - - SetMovableArea(); - - base.AdjustMargins(); - } - //////////////////////////////////////////////////////////////////////////// - - //////////////////////////////////////////////////////////////////////////// - private void SetMovableArea() - { - if (captionVisible && borderVisible) - { - MovableArea = new Rectangle(Skin.OriginMargins.Left, Skin.OriginMargins.Top, Width, Skin.Layers[lrCaption].Height - Skin.OriginMargins.Top); - } - else if (!captionVisible) - { - MovableArea = new Rectangle(0, 0, Width, Height); - } - } - //////////////////////////////////////////////////////////////////////////// - - #endregion - } - - //////////////////////////////////////////////////////////////////////////// - - #endregion - -} diff --git a/SpacePew.sln b/SpacePew.sln index ad6e669..0fea34a 100644 --- a/SpacePew.sln +++ b/SpacePew.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.24720.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpacePew", "SpacePew\SpacePew.csproj", "{8B1B6A0B-2F48-4FB4-936A-2086505B2914}" EndProject @@ -9,8 +9,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpacePew.Common", "SpacePew EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lidgren.Network", "Lidgren.Network\Lidgren.Network.csproj", "{49BA1C69-6104-41AC-A5D8-B54FA9F696E8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TomShane.Neoforce.Controls", "Neoforce\TomShane.Neoforce.Controls.csproj", "{AC5F1CD8-AA8E-4DB5-814F-86C214175841}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "References", "References", "{AC34EB05-CB95-4A1E-8C75-FE74BA4A1DD9}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpacePew.MasterServer", "SpacePew.MasterServer\SpacePew.MasterServer.csproj", "{9BFE240A-AEE0-4FD6-80B8-5846DCFAE95C}" @@ -46,14 +44,6 @@ Global {49BA1C69-6104-41AC-A5D8-B54FA9F696E8}.Release|Any CPU.Build.0 = Release|Any CPU {49BA1C69-6104-41AC-A5D8-B54FA9F696E8}.Release|x86.ActiveCfg = Release|Any CPU {49BA1C69-6104-41AC-A5D8-B54FA9F696E8}.Release|x86.Build.0 = Release|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Debug|x86.ActiveCfg = Debug|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Debug|x86.Build.0 = Debug|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Release|Any CPU.Build.0 = Release|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Release|x86.ActiveCfg = Release|Any CPU - {AC5F1CD8-AA8E-4DB5-814F-86C214175841}.Release|x86.Build.0 = Release|Any CPU {9BFE240A-AEE0-4FD6-80B8-5846DCFAE95C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9BFE240A-AEE0-4FD6-80B8-5846DCFAE95C}.Debug|Any CPU.Build.0 = Debug|Any CPU {9BFE240A-AEE0-4FD6-80B8-5846DCFAE95C}.Debug|x86.ActiveCfg = Debug|Any CPU @@ -68,6 +58,5 @@ Global EndGlobalSection GlobalSection(NestedProjects) = preSolution {49BA1C69-6104-41AC-A5D8-B54FA9F696E8} = {AC34EB05-CB95-4A1E-8C75-FE74BA4A1DD9} - {AC5F1CD8-AA8E-4DB5-814F-86C214175841} = {AC34EB05-CB95-4A1E-8C75-FE74BA4A1DD9} EndGlobalSection EndGlobal diff --git a/SpacePew/Content/Content.mgcb b/SpacePew/Content/Content.mgcb index 629aea2..0b6fe84 100644 --- a/SpacePew/Content/Content.mgcb +++ b/SpacePew/Content/Content.mgcb @@ -10,24 +10,28 @@ #-------------------------------- References --------------------------------# +/reference:..\..\packages\GeonBit.UI.3.1.0.4\lib\geonbitui\DataTypes.dll #---------------------------------- Content ---------------------------------# #begin Fonts/ConsoleFont.spritefont /importer:FontDescriptionImporter /processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True /processorParam:TextureFormat=Color /build:Fonts/ConsoleFont.spritefont #begin Fonts/NetFont.spritefont /importer:FontDescriptionImporter /processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True /processorParam:TextureFormat=Color /build:Fonts/NetFont.spritefont #begin Fonts/ScoreBoardFont.spritefont /importer:FontDescriptionImporter /processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True /processorParam:TextureFormat=Color /build:Fonts/ScoreBoardFont.spritefont @@ -81,6 +85,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:bullet.png @@ -92,6 +97,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:explosion.png @@ -103,6 +109,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:explosion_small.png @@ -114,6 +121,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:longshot.png @@ -125,6 +133,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:ParticleTextures/explosion.png @@ -136,6 +145,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:ParticleTextures/smoke.bmp @@ -147,6 +157,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:player.png @@ -158,6 +169,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:player_thrusting.png @@ -169,6 +181,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:scoreboard.png @@ -180,6 +193,7 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:stars.png @@ -191,12 +205,14 @@ /processorParam:GenerateMipmaps=False /processorParam:PremultiplyAlpha=True /processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False /processorParam:TextureFormat=Color /build:transparent_pixel.png #begin Fonts/Default.spritefont /importer:FontDescriptionImporter /processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True /processorParam:TextureFormat=Color /build:Fonts/Default.spritefont @@ -212,3 +228,4770 @@ /processorParam:Quality=Best /build:Audio/Waves/message.wav +#begin GeonBit.UI/themes/editor/effects/disabled.fx +/importer:EffectImporter +/processor:EffectProcessor +/processorParam:DebugMode=Auto +/build:GeonBit.UI/themes/editor/effects/disabled.fx + +#begin GeonBit.UI/themes/editor/effects/silhouette.fx +/importer:EffectImporter +/processor:EffectProcessor +/processorParam:DebugMode=Auto +/build:GeonBit.UI/themes/editor/effects/silhouette.fx + +#begin GeonBit.UI/themes/editor/fonts/Bold.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/editor/fonts/Bold.spritefont + +#begin GeonBit.UI/themes/editor/fonts/Italic.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/editor/fonts/Italic.spritefont + +#begin GeonBit.UI/themes/editor/fonts/Regular.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/editor/fonts/Regular.spritefont + +#begin GeonBit.UI/themes/editor/styles/Button-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Button-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Button-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Button-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Button-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Button-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/CheckBox-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/CheckBox-Default.xml + +#begin GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml + +#begin GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/DropDown-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDown-Default.xml + +#begin GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Entity-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Entity-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/example.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/example.xml + +#begin GeonBit.UI/themes/editor/styles/Header-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Header-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Header-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Header-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Header-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Header-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml + +#begin GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Icon-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Icon-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Image-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Image-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Image-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Image-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Image-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Image-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Label-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Label-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Label-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Label-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Label-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Label-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Panel-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Panel-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml + +#begin GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Paragraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Paragraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml + +#begin GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml + +#begin GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/RadioButton-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/RadioButton-Default.xml + +#begin GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/SelectList-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/SelectList-Default.xml + +#begin GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/Slider-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Slider-Default.xml + +#begin GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/TextInput-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInput-Default.xml + +#begin GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml + +#begin GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml + +#begin GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml + +#begin GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml + +#begin GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml + +#begin GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml + +#begin GeonBit.UI/themes/editor/textures/icons/Apple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Apple.png + +#begin GeonBit.UI/themes/editor/textures/icons/Armor.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Armor.png + +#begin GeonBit.UI/themes/editor/textures/icons/Axe.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Axe.png + +#begin GeonBit.UI/themes/editor/textures/icons/background.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/background.png + +#begin GeonBit.UI/themes/editor/textures/icons/BloodySword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/BloodySword.png + +#begin GeonBit.UI/themes/editor/textures/icons/Bone.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Bone.png + +#begin GeonBit.UI/themes/editor/textures/icons/Book.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Book.png + +#begin GeonBit.UI/themes/editor/textures/icons/Cubes.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Cubes.png + +#begin GeonBit.UI/themes/editor/textures/icons/Diamond.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Diamond.png + +#begin GeonBit.UI/themes/editor/textures/icons/Explanation.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Explanation.png + +#begin GeonBit.UI/themes/editor/textures/icons/Feather.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Feather.png + +#begin GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png + +#begin GeonBit.UI/themes/editor/textures/icons/GoldCoins.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/GoldCoins.png + +#begin GeonBit.UI/themes/editor/textures/icons/GoldShard.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/GoldShard.png + +#begin GeonBit.UI/themes/editor/textures/icons/Heart.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Heart.png + +#begin GeonBit.UI/themes/editor/textures/icons/Helmet.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Helmet.png + +#begin GeonBit.UI/themes/editor/textures/icons/Key.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Key.png + +#begin GeonBit.UI/themes/editor/textures/icons/MagicBook.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/MagicBook.png + +#begin GeonBit.UI/themes/editor/textures/icons/MagicWand.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/MagicWand.png + +#begin GeonBit.UI/themes/editor/textures/icons/Map.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Map.png + +#begin GeonBit.UI/themes/editor/textures/icons/None.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/None.png + +#begin GeonBit.UI/themes/editor/textures/icons/OrbBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/OrbBlue.png + +#begin GeonBit.UI/themes/editor/textures/icons/OrbGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/OrbGreen.png + +#begin GeonBit.UI/themes/editor/textures/icons/OrbRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/OrbRed.png + +#begin GeonBit.UI/themes/editor/textures/icons/Pistol.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Pistol.png + +#begin GeonBit.UI/themes/editor/textures/icons/PotionBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/PotionBlue.png + +#begin GeonBit.UI/themes/editor/textures/icons/PotionCyan.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/PotionCyan.png + +#begin GeonBit.UI/themes/editor/textures/icons/PotionGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/PotionGreen.png + +#begin GeonBit.UI/themes/editor/textures/icons/PotionPurple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/PotionPurple.png + +#begin GeonBit.UI/themes/editor/textures/icons/PotionRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/PotionRed.png + +#begin GeonBit.UI/themes/editor/textures/icons/PotionYellow.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/PotionYellow.png + +#begin GeonBit.UI/themes/editor/textures/icons/Ring.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Ring.png + +#begin GeonBit.UI/themes/editor/textures/icons/RingGold.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RingGold.png + +#begin GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png + +#begin GeonBit.UI/themes/editor/textures/icons/RingRuby.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RingRuby.png + +#begin GeonBit.UI/themes/editor/textures/icons/RubyBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RubyBlue.png + +#begin GeonBit.UI/themes/editor/textures/icons/RubyGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RubyGreen.png + +#begin GeonBit.UI/themes/editor/textures/icons/RubyPink.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RubyPink.png + +#begin GeonBit.UI/themes/editor/textures/icons/RubyPurple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RubyPurple.png + +#begin GeonBit.UI/themes/editor/textures/icons/RubyRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/RubyRed.png + +#begin GeonBit.UI/themes/editor/textures/icons/Sack.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Sack.png + +#begin GeonBit.UI/themes/editor/textures/icons/Scroll.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Scroll.png + +#begin GeonBit.UI/themes/editor/textures/icons/Shield.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Shield.png + +#begin GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png + +#begin GeonBit.UI/themes/editor/textures/icons/Shovel.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Shovel.png + +#begin GeonBit.UI/themes/editor/textures/icons/SilverShard.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/SilverShard.png + +#begin GeonBit.UI/themes/editor/textures/icons/Skull.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Skull.png + +#begin GeonBit.UI/themes/editor/textures/icons/Sword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Sword.png + +#begin GeonBit.UI/themes/editor/textures/icons/Trap.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/Trap.png + +#begin GeonBit.UI/themes/editor/textures/icons/ZoomIn.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/ZoomIn.png + +#begin GeonBit.UI/themes/editor/textures/icons/ZoomOut.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/icons/ZoomOut.png + +#begin GeonBit.UI/themes/editor/textures/arrow_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/arrow_down.png + +#begin GeonBit.UI/themes/editor/textures/arrow_up.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/arrow_up.png + +#begin GeonBit.UI/themes/editor/textures/button_alternative.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_alternative.png + +#begin GeonBit.UI/themes/editor/textures/button_alternative_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_alternative_down.png + +#begin GeonBit.UI/themes/editor/textures/button_alternative_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_alternative_hover.png + +#begin GeonBit.UI/themes/editor/textures/button_alternative_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/button_alternative_md.xml + +#begin GeonBit.UI/themes/editor/textures/button_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_default.png + +#begin GeonBit.UI/themes/editor/textures/button_default_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_default_down.png + +#begin GeonBit.UI/themes/editor/textures/button_default_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_default_hover.png + +#begin GeonBit.UI/themes/editor/textures/button_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/button_default_md.xml + +#begin GeonBit.UI/themes/editor/textures/button_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_fancy.png + +#begin GeonBit.UI/themes/editor/textures/button_fancy_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_fancy_down.png + +#begin GeonBit.UI/themes/editor/textures/button_fancy_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/button_fancy_hover.png + +#begin GeonBit.UI/themes/editor/textures/button_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/button_fancy_md.xml + +#begin GeonBit.UI/themes/editor/textures/checkbox.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/checkbox.png + +#begin GeonBit.UI/themes/editor/textures/checkbox_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/checkbox_down.png + +#begin GeonBit.UI/themes/editor/textures/checkbox_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/checkbox_hover.png + +#begin GeonBit.UI/themes/editor/textures/cursor_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/cursor_default.png + +#begin GeonBit.UI/themes/editor/textures/cursor_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/cursor_default_md.xml + +#begin GeonBit.UI/themes/editor/textures/cursor_ibeam.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/cursor_ibeam.png + +#begin GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml + +#begin GeonBit.UI/themes/editor/textures/cursor_pointer.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/cursor_pointer.png + +#begin GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml + +#begin GeonBit.UI/themes/editor/textures/horizontal_line.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/horizontal_line.png + +#begin GeonBit.UI/themes/editor/textures/panel_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/panel_default.png + +#begin GeonBit.UI/themes/editor/textures/panel_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/panel_default_md.xml + +#begin GeonBit.UI/themes/editor/textures/panel_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/panel_fancy.png + +#begin GeonBit.UI/themes/editor/textures/panel_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/panel_fancy_md.xml + +#begin GeonBit.UI/themes/editor/textures/panel_golden.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/panel_golden.png + +#begin GeonBit.UI/themes/editor/textures/panel_golden_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/panel_golden_md.xml + +#begin GeonBit.UI/themes/editor/textures/panel_listbackground.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/panel_listbackground.png + +#begin GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml + +#begin GeonBit.UI/themes/editor/textures/panel_simple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/panel_simple.png + +#begin GeonBit.UI/themes/editor/textures/panel_simple_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/panel_simple_md.xml + +#begin GeonBit.UI/themes/editor/textures/progressbar.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/progressbar.png + +#begin GeonBit.UI/themes/editor/textures/progressbar_fill.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/progressbar_fill.png + +#begin GeonBit.UI/themes/editor/textures/progressbar_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/progressbar_md.xml + +#begin GeonBit.UI/themes/editor/textures/radio.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/radio.png + +#begin GeonBit.UI/themes/editor/textures/radio_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/radio_down.png + +#begin GeonBit.UI/themes/editor/textures/radio_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/radio_hover.png + +#begin GeonBit.UI/themes/editor/textures/scrollbar.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/scrollbar.png + +#begin GeonBit.UI/themes/editor/textures/scrollbar_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/scrollbar_mark.png + +#begin GeonBit.UI/themes/editor/textures/scrollbar_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/scrollbar_md.xml + +#begin GeonBit.UI/themes/editor/textures/slider_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/slider_default.png + +#begin GeonBit.UI/themes/editor/textures/slider_default_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/slider_default_mark.png + +#begin GeonBit.UI/themes/editor/textures/slider_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/slider_default_md.xml + +#begin GeonBit.UI/themes/editor/textures/slider_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/slider_fancy.png + +#begin GeonBit.UI/themes/editor/textures/slider_fancy_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/slider_fancy_mark.png + +#begin GeonBit.UI/themes/editor/textures/slider_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/textures/slider_fancy_md.xml + +#begin GeonBit.UI/themes/editor/textures/white_texture.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/editor/textures/white_texture.png + +#begin GeonBit.UI/themes/editor/ThemeData.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/editor/ThemeData.xml + +#begin GeonBit.UI/themes/hd/effects/disabled.fx +/importer:EffectImporter +/processor:EffectProcessor +/processorParam:DebugMode=Auto +/build:GeonBit.UI/themes/hd/effects/disabled.fx + +#begin GeonBit.UI/themes/hd/effects/silhouette.fx +/importer:EffectImporter +/processor:EffectProcessor +/processorParam:DebugMode=Auto +/build:GeonBit.UI/themes/hd/effects/silhouette.fx + +#begin GeonBit.UI/themes/hd/fonts/Bold.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/hd/fonts/Bold.spritefont + +#begin GeonBit.UI/themes/hd/fonts/Italic.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/hd/fonts/Italic.spritefont + +#begin GeonBit.UI/themes/hd/fonts/Regular.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/hd/fonts/Regular.spritefont + +#begin GeonBit.UI/themes/hd/styles/Button-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Button-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Button-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Button-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Button-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Button-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/CheckBox-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/CheckBox-Default.xml + +#begin GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml + +#begin GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/DropDown-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDown-Default.xml + +#begin GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Entity-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Entity-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/example.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/example.xml + +#begin GeonBit.UI/themes/hd/styles/Header-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Header-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Header-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Header-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Header-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Header-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml + +#begin GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Icon-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Icon-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Image-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Image-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Image-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Image-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Image-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Image-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Label-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Label-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Label-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Label-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Label-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Label-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Panel-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Panel-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml + +#begin GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Paragraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Paragraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml + +#begin GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml + +#begin GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/RadioButton-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/RadioButton-Default.xml + +#begin GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/SelectList-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/SelectList-Default.xml + +#begin GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/Slider-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Slider-Default.xml + +#begin GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/TextInput-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInput-Default.xml + +#begin GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml + +#begin GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml + +#begin GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml + +#begin GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml + +#begin GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml + +#begin GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml + +#begin GeonBit.UI/themes/hd/textures/icons/Apple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Apple.png + +#begin GeonBit.UI/themes/hd/textures/icons/Armor.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Armor.png + +#begin GeonBit.UI/themes/hd/textures/icons/Axe.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Axe.png + +#begin GeonBit.UI/themes/hd/textures/icons/background.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/background.png + +#begin GeonBit.UI/themes/hd/textures/icons/BloodySword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/BloodySword.png + +#begin GeonBit.UI/themes/hd/textures/icons/Bone.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Bone.png + +#begin GeonBit.UI/themes/hd/textures/icons/Book.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Book.png + +#begin GeonBit.UI/themes/hd/textures/icons/Cubes.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Cubes.png + +#begin GeonBit.UI/themes/hd/textures/icons/Diamond.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Diamond.png + +#begin GeonBit.UI/themes/hd/textures/icons/Explanation.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Explanation.png + +#begin GeonBit.UI/themes/hd/textures/icons/Feather.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Feather.png + +#begin GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png + +#begin GeonBit.UI/themes/hd/textures/icons/GoldCoins.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/GoldCoins.png + +#begin GeonBit.UI/themes/hd/textures/icons/GoldShard.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/GoldShard.png + +#begin GeonBit.UI/themes/hd/textures/icons/Heart.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Heart.png + +#begin GeonBit.UI/themes/hd/textures/icons/Helmet.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Helmet.png + +#begin GeonBit.UI/themes/hd/textures/icons/Key.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Key.png + +#begin GeonBit.UI/themes/hd/textures/icons/MagicBook.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/MagicBook.png + +#begin GeonBit.UI/themes/hd/textures/icons/MagicWand.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/MagicWand.png + +#begin GeonBit.UI/themes/hd/textures/icons/Map.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Map.png + +#begin GeonBit.UI/themes/hd/textures/icons/None.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/None.png + +#begin GeonBit.UI/themes/hd/textures/icons/OrbBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/OrbBlue.png + +#begin GeonBit.UI/themes/hd/textures/icons/OrbGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/OrbGreen.png + +#begin GeonBit.UI/themes/hd/textures/icons/OrbRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/OrbRed.png + +#begin GeonBit.UI/themes/hd/textures/icons/Pistol.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Pistol.png + +#begin GeonBit.UI/themes/hd/textures/icons/PotionBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/PotionBlue.png + +#begin GeonBit.UI/themes/hd/textures/icons/PotionCyan.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/PotionCyan.png + +#begin GeonBit.UI/themes/hd/textures/icons/PotionGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/PotionGreen.png + +#begin GeonBit.UI/themes/hd/textures/icons/PotionPurple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/PotionPurple.png + +#begin GeonBit.UI/themes/hd/textures/icons/PotionRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/PotionRed.png + +#begin GeonBit.UI/themes/hd/textures/icons/PotionYellow.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/PotionYellow.png + +#begin GeonBit.UI/themes/hd/textures/icons/Ring.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Ring.png + +#begin GeonBit.UI/themes/hd/textures/icons/RingGold.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RingGold.png + +#begin GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png + +#begin GeonBit.UI/themes/hd/textures/icons/RingRuby.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RingRuby.png + +#begin GeonBit.UI/themes/hd/textures/icons/RubyBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RubyBlue.png + +#begin GeonBit.UI/themes/hd/textures/icons/RubyGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RubyGreen.png + +#begin GeonBit.UI/themes/hd/textures/icons/RubyPink.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RubyPink.png + +#begin GeonBit.UI/themes/hd/textures/icons/RubyPurple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RubyPurple.png + +#begin GeonBit.UI/themes/hd/textures/icons/RubyRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/RubyRed.png + +#begin GeonBit.UI/themes/hd/textures/icons/Sack.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Sack.png + +#begin GeonBit.UI/themes/hd/textures/icons/Scroll.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Scroll.png + +#begin GeonBit.UI/themes/hd/textures/icons/Shield.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Shield.png + +#begin GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png + +#begin GeonBit.UI/themes/hd/textures/icons/Shovel.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Shovel.png + +#begin GeonBit.UI/themes/hd/textures/icons/SilverShard.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/SilverShard.png + +#begin GeonBit.UI/themes/hd/textures/icons/Skull.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Skull.png + +#begin GeonBit.UI/themes/hd/textures/icons/Sword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Sword.png + +#begin GeonBit.UI/themes/hd/textures/icons/Trap.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/Trap.png + +#begin GeonBit.UI/themes/hd/textures/icons/ZoomIn.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/ZoomIn.png + +#begin GeonBit.UI/themes/hd/textures/icons/ZoomOut.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/icons/ZoomOut.png + +#begin GeonBit.UI/themes/hd/textures/arrow_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/arrow_down.png + +#begin GeonBit.UI/themes/hd/textures/arrow_up.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/arrow_up.png + +#begin GeonBit.UI/themes/hd/textures/button_alternative.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_alternative.png + +#begin GeonBit.UI/themes/hd/textures/button_alternative_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_alternative_down.png + +#begin GeonBit.UI/themes/hd/textures/button_alternative_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_alternative_hover.png + +#begin GeonBit.UI/themes/hd/textures/button_alternative_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/button_alternative_md.xml + +#begin GeonBit.UI/themes/hd/textures/button_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_default.png + +#begin GeonBit.UI/themes/hd/textures/button_default_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_default_down.png + +#begin GeonBit.UI/themes/hd/textures/button_default_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_default_hover.png + +#begin GeonBit.UI/themes/hd/textures/button_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/button_default_md.xml + +#begin GeonBit.UI/themes/hd/textures/button_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_fancy.png + +#begin GeonBit.UI/themes/hd/textures/button_fancy_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_fancy_down.png + +#begin GeonBit.UI/themes/hd/textures/button_fancy_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/button_fancy_hover.png + +#begin GeonBit.UI/themes/hd/textures/button_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/button_fancy_md.xml + +#begin GeonBit.UI/themes/hd/textures/checkbox.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/checkbox.png + +#begin GeonBit.UI/themes/hd/textures/checkbox_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/checkbox_down.png + +#begin GeonBit.UI/themes/hd/textures/checkbox_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/checkbox_hover.png + +#begin GeonBit.UI/themes/hd/textures/cursor_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/cursor_default.png + +#begin GeonBit.UI/themes/hd/textures/cursor_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/cursor_default_md.xml + +#begin GeonBit.UI/themes/hd/textures/cursor_ibeam.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/cursor_ibeam.png + +#begin GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml + +#begin GeonBit.UI/themes/hd/textures/cursor_pointer.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/cursor_pointer.png + +#begin GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml + +#begin GeonBit.UI/themes/hd/textures/horizontal_line.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/horizontal_line.png + +#begin GeonBit.UI/themes/hd/textures/panel_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/panel_default.png + +#begin GeonBit.UI/themes/hd/textures/panel_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/panel_default_md.xml + +#begin GeonBit.UI/themes/hd/textures/panel_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/panel_fancy.png + +#begin GeonBit.UI/themes/hd/textures/panel_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/panel_fancy_md.xml + +#begin GeonBit.UI/themes/hd/textures/panel_golden.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/panel_golden.png + +#begin GeonBit.UI/themes/hd/textures/panel_golden_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/panel_golden_md.xml + +#begin GeonBit.UI/themes/hd/textures/panel_listbackground.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/panel_listbackground.png + +#begin GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml + +#begin GeonBit.UI/themes/hd/textures/panel_simple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/panel_simple.png + +#begin GeonBit.UI/themes/hd/textures/panel_simple_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/panel_simple_md.xml + +#begin GeonBit.UI/themes/hd/textures/progressbar.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/progressbar.png + +#begin GeonBit.UI/themes/hd/textures/progressbar_fill.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/progressbar_fill.png + +#begin GeonBit.UI/themes/hd/textures/progressbar_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/progressbar_md.xml + +#begin GeonBit.UI/themes/hd/textures/radio.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/radio.png + +#begin GeonBit.UI/themes/hd/textures/radio_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/radio_down.png + +#begin GeonBit.UI/themes/hd/textures/radio_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/radio_hover.png + +#begin GeonBit.UI/themes/hd/textures/scrollbar.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/scrollbar.png + +#begin GeonBit.UI/themes/hd/textures/scrollbar_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/scrollbar_mark.png + +#begin GeonBit.UI/themes/hd/textures/scrollbar_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/scrollbar_md.xml + +#begin GeonBit.UI/themes/hd/textures/slider_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/slider_default.png + +#begin GeonBit.UI/themes/hd/textures/slider_default_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/slider_default_mark.png + +#begin GeonBit.UI/themes/hd/textures/slider_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/slider_default_md.xml + +#begin GeonBit.UI/themes/hd/textures/slider_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/slider_fancy.png + +#begin GeonBit.UI/themes/hd/textures/slider_fancy_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/slider_fancy_mark.png + +#begin GeonBit.UI/themes/hd/textures/slider_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/textures/slider_fancy_md.xml + +#begin GeonBit.UI/themes/hd/textures/white_texture.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/hd/textures/white_texture.png + +#begin GeonBit.UI/themes/hd/ThemeData.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/hd/ThemeData.xml + +#begin GeonBit.UI/themes/lowres/effects/disabled.fx +/importer:EffectImporter +/processor:EffectProcessor +/processorParam:DebugMode=Auto +/build:GeonBit.UI/themes/lowres/effects/disabled.fx + +#begin GeonBit.UI/themes/lowres/effects/silhouette.fx +/importer:EffectImporter +/processor:EffectProcessor +/processorParam:DebugMode=Auto +/build:GeonBit.UI/themes/lowres/effects/silhouette.fx + +#begin GeonBit.UI/themes/lowres/fonts/Bold.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/lowres/fonts/Bold.spritefont + +#begin GeonBit.UI/themes/lowres/fonts/Italic.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/lowres/fonts/Italic.spritefont + +#begin GeonBit.UI/themes/lowres/fonts/Regular.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:PremultiplyAlpha=True +/processorParam:TextureFormat=Compressed +/build:GeonBit.UI/themes/lowres/fonts/Regular.spritefont + +#begin GeonBit.UI/themes/lowres/styles/Button-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Button-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDown-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDown-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Entity-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Entity-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/example.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/example.xml + +#begin GeonBit.UI/themes/lowres/styles/Header-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Header-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Icon-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Icon-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Image-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Image-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Label-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Label-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Panel-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Panel-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/SelectList-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/SelectList-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/Slider-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Slider-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInput-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInput-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml + +#begin GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml + +#begin GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml + +#begin GeonBit.UI/themes/lowres/textures/icons/Apple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Apple.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Armor.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Armor.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Axe.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Axe.png + +#begin GeonBit.UI/themes/lowres/textures/icons/background.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/background.png + +#begin GeonBit.UI/themes/lowres/textures/icons/BloodySword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/BloodySword.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Bone.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Bone.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Book.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Book.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Cubes.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Cubes.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Diamond.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Diamond.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Explanation.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Explanation.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Feather.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Feather.png + +#begin GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png + +#begin GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png + +#begin GeonBit.UI/themes/lowres/textures/icons/GoldShard.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/GoldShard.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Heart.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Heart.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Helmet.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Helmet.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Key.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Key.png + +#begin GeonBit.UI/themes/lowres/textures/icons/MagicBook.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/MagicBook.png + +#begin GeonBit.UI/themes/lowres/textures/icons/MagicWand.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/MagicWand.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Map.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Map.png + +#begin GeonBit.UI/themes/lowres/textures/icons/None.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/None.png + +#begin GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png + +#begin GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png + +#begin GeonBit.UI/themes/lowres/textures/icons/OrbRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/OrbRed.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Pistol.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Pistol.png + +#begin GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png + +#begin GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png + +#begin GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png + +#begin GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png + +#begin GeonBit.UI/themes/lowres/textures/icons/PotionRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/PotionRed.png + +#begin GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Ring.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Ring.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RingGold.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RingGold.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RingRuby.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RingRuby.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RubyPink.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RubyPink.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png + +#begin GeonBit.UI/themes/lowres/textures/icons/RubyRed.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/RubyRed.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Sack.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Sack.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Scroll.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Scroll.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Shield.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Shield.png + +#begin GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Shovel.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Shovel.png + +#begin GeonBit.UI/themes/lowres/textures/icons/SilverShard.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/SilverShard.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Skull.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Skull.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Sword.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Sword.png + +#begin GeonBit.UI/themes/lowres/textures/icons/Trap.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/Trap.png + +#begin GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png + +#begin GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png + +#begin GeonBit.UI/themes/lowres/textures/arrow_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/arrow_down.png + +#begin GeonBit.UI/themes/lowres/textures/arrow_up.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/arrow_up.png + +#begin GeonBit.UI/themes/lowres/textures/button_alternative.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_alternative.png + +#begin GeonBit.UI/themes/lowres/textures/button_alternative_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_alternative_down.png + +#begin GeonBit.UI/themes/lowres/textures/button_alternative_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_alternative_hover.png + +#begin GeonBit.UI/themes/lowres/textures/button_alternative_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/button_alternative_md.xml + +#begin GeonBit.UI/themes/lowres/textures/button_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_default.png + +#begin GeonBit.UI/themes/lowres/textures/button_default_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_default_down.png + +#begin GeonBit.UI/themes/lowres/textures/button_default_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_default_hover.png + +#begin GeonBit.UI/themes/lowres/textures/button_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/button_default_md.xml + +#begin GeonBit.UI/themes/lowres/textures/button_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_fancy.png + +#begin GeonBit.UI/themes/lowres/textures/button_fancy_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_fancy_down.png + +#begin GeonBit.UI/themes/lowres/textures/button_fancy_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/button_fancy_hover.png + +#begin GeonBit.UI/themes/lowres/textures/button_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/button_fancy_md.xml + +#begin GeonBit.UI/themes/lowres/textures/checkbox.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/checkbox.png + +#begin GeonBit.UI/themes/lowres/textures/checkbox_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/checkbox_down.png + +#begin GeonBit.UI/themes/lowres/textures/checkbox_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/checkbox_hover.png + +#begin GeonBit.UI/themes/lowres/textures/cursor_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/cursor_default.png + +#begin GeonBit.UI/themes/lowres/textures/cursor_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/cursor_default_md.xml + +#begin GeonBit.UI/themes/lowres/textures/cursor_ibeam.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/cursor_ibeam.png + +#begin GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml + +#begin GeonBit.UI/themes/lowres/textures/cursor_pointer.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/cursor_pointer.png + +#begin GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml + +#begin GeonBit.UI/themes/lowres/textures/dot.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/dot.png + +#begin GeonBit.UI/themes/lowres/textures/horizontal_line.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/horizontal_line.png + +#begin GeonBit.UI/themes/lowres/textures/panel_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/panel_default.png + +#begin GeonBit.UI/themes/lowres/textures/panel_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/panel_default_md.xml + +#begin GeonBit.UI/themes/lowres/textures/panel_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/panel_fancy.png + +#begin GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml + +#begin GeonBit.UI/themes/lowres/textures/panel_golden.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/panel_golden.png + +#begin GeonBit.UI/themes/lowres/textures/panel_golden_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/panel_golden_md.xml + +#begin GeonBit.UI/themes/lowres/textures/panel_listbackground.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/panel_listbackground.png + +#begin GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml + +#begin GeonBit.UI/themes/lowres/textures/panel_simple.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/panel_simple.png + +#begin GeonBit.UI/themes/lowres/textures/panel_simple_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/panel_simple_md.xml + +#begin GeonBit.UI/themes/lowres/textures/progressbar.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/progressbar.png + +#begin GeonBit.UI/themes/lowres/textures/progressbar_fill.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/progressbar_fill.png + +#begin GeonBit.UI/themes/lowres/textures/progressbar_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/progressbar_md.xml + +#begin GeonBit.UI/themes/lowres/textures/radio.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/radio.png + +#begin GeonBit.UI/themes/lowres/textures/radio_down.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/radio_down.png + +#begin GeonBit.UI/themes/lowres/textures/radio_hover.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/radio_hover.png + +#begin GeonBit.UI/themes/lowres/textures/scrollbar.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/scrollbar.png + +#begin GeonBit.UI/themes/lowres/textures/scrollbar_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/scrollbar_mark.png + +#begin GeonBit.UI/themes/lowres/textures/scrollbar_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/scrollbar_md.xml + +#begin GeonBit.UI/themes/lowres/textures/slider_default.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/slider_default.png + +#begin GeonBit.UI/themes/lowres/textures/slider_default_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/slider_default_mark.png + +#begin GeonBit.UI/themes/lowres/textures/slider_default_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/slider_default_md.xml + +#begin GeonBit.UI/themes/lowres/textures/slider_fancy.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/slider_fancy.png + +#begin GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png + +#begin GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml + +#begin GeonBit.UI/themes/lowres/textures/white_texture.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:GeonBit.UI/themes/lowres/textures/white_texture.png + +#begin GeonBit.UI/themes/lowres/ThemeData.xml +/importer:XmlImporter +/processor:PassThroughProcessor +/build:GeonBit.UI/themes/lowres/ThemeData.xml + diff --git a/SpacePew/Content/Fonts/ConsoleFont.spritefont b/SpacePew/Content/Fonts/ConsoleFont.spritefont index 4e06676..0cabb3c 100644 --- a/SpacePew/Content/Fonts/ConsoleFont.spritefont +++ b/SpacePew/Content/Fonts/ConsoleFont.spritefont @@ -11,7 +11,7 @@ with. - Kootenay + Tahoma - Kootenay + Tahoma - Kootenay + Tahoma + + + + + Bitstream Vera Sans Mono Bold + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/fonts/Italic.spritefont b/SpacePew/Content/GeonBit.UI/themes/editor/fonts/Italic.spritefont new file mode 100644 index 0000000..a3ae047 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/fonts/Italic.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Oblique + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/fonts/Regular.spritefont b/SpacePew/Content/GeonBit.UI/themes/editor/fonts/Regular.spritefont new file mode 100644 index 0000000..c23a0b1 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/fonts/Regular.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Roman + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Button-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml new file mode 100644 index 0000000..ef0bb15 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml @@ -0,0 +1,19 @@ + + + + + FFFFFFFF + FF000000 + 2 + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-Default.xml new file mode 100644 index 0000000..01a95be --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + 00000000 + 0 + false + Regular + 00000000 + 00000000 + 0 0 + 30 30 + 0 0 + 0 8 + 1 + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-Default.xml new file mode 100644 index 0000000..66964d4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + FF00FFFF + + + true + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Header-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-Default.xml new file mode 100644 index 0000000..8e7cda6 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml new file mode 100644 index 0000000..1b7450a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml @@ -0,0 +1,19 @@ + + + + 1.1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-Default.xml new file mode 100644 index 0000000..4f91be3 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Image-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-Default.xml new file mode 100644 index 0000000..4743520 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-Default.xml @@ -0,0 +1,19 @@ + + + + 0.8 + FFCCCCCC + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Label-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-Default.xml new file mode 100644 index 0000000..b7a0a3f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-Default.xml new file mode 100644 index 0000000..b1e6116 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-Default.xml new file mode 100644 index 0000000..3936669 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + 64000000 + + + 30 22 + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml new file mode 100644 index 0000000..8f99889 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml new file mode 100644 index 0000000..10d1266 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + FF969696 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/styles/example.xml b/SpacePew/Content/GeonBit.UI/themes/editor/styles/example.xml new file mode 100644 index 0000000..30f294b --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/styles/example.xml @@ -0,0 +1,45 @@ + + + + + + 1 + + FFFFFFFF + + FF000000 + + 2 + + false + + Regular + + 00000000 + + 00000000 + + 0 0 + + 10 10 + + 0 0 + + 0 0 + + 1 + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/arrow_down.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/arrow_down.png new file mode 100644 index 0000000..894a698 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/arrow_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/arrow_up.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/arrow_up.png new file mode 100644 index 0000000..e07cec3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/arrow_up.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative.png new file mode 100644 index 0000000..b180090 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_down.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_down.png new file mode 100644 index 0000000..a5fb68b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_hover.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_hover.png new file mode 100644 index 0000000..a7758eb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_alternative_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default.png new file mode 100644 index 0000000..727c12b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_down.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_down.png new file mode 100644 index 0000000..8ccf801 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_hover.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_hover.png new file mode 100644 index 0000000..2816a0e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy.png new file mode 100644 index 0000000..90e7cc3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_down.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_down.png new file mode 100644 index 0000000..55b7dd0 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_hover.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_hover.png new file mode 100644 index 0000000..fa797ca Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/button_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox.png new file mode 100644 index 0000000..7935f22 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox_down.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox_down.png new file mode 100644 index 0000000..47e70d7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox_hover.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox_hover.png new file mode 100644 index 0000000..70fe327 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/checkbox_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_default.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_default.png new file mode 100644 index 0000000..24a73fb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_default_md.xml new file mode 100644 index 0000000..e779d69 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_default_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + 0 + 40 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam.png new file mode 100644 index 0000000..b38247a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml new file mode 100644 index 0000000..10d5e52 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + -8 + 40 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_pointer.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_pointer.png new file mode 100644 index 0000000..0fb1008 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_pointer.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml new file mode 100644 index 0000000..82abccb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml @@ -0,0 +1,11 @@ + + + + + + -4 + 0 + 50 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/horizontal_line.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/horizontal_line.png new file mode 100644 index 0000000..833e087 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/horizontal_line.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Apple.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Apple.png new file mode 100644 index 0000000..9069cc5 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Apple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Armor.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Armor.png new file mode 100644 index 0000000..e8cff60 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Armor.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Axe.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Axe.png new file mode 100644 index 0000000..05748e2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Axe.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/BloodySword.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/BloodySword.png new file mode 100644 index 0000000..abf9eed Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/BloodySword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Bone.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Bone.png new file mode 100644 index 0000000..869d817 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Bone.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Book.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Book.png new file mode 100644 index 0000000..3da1b01 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Book.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Cubes.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Cubes.png new file mode 100644 index 0000000..1e10123 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Cubes.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Diamond.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Diamond.png new file mode 100644 index 0000000..20d46ab Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Diamond.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Explanation.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Explanation.png new file mode 100644 index 0000000..0927841 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Explanation.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Feather.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Feather.png new file mode 100644 index 0000000..1ec35ae Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Feather.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png new file mode 100644 index 0000000..60f8520 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/GoldCoins.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/GoldCoins.png new file mode 100644 index 0000000..596e556 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/GoldCoins.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/GoldShard.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/GoldShard.png new file mode 100644 index 0000000..9d77a5c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/GoldShard.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Heart.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Heart.png new file mode 100644 index 0000000..fa0bb39 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Heart.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Helmet.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Helmet.png new file mode 100644 index 0000000..965cb60 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Helmet.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Key.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Key.png new file mode 100644 index 0000000..887a299 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Key.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/MagicBook.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/MagicBook.png new file mode 100644 index 0000000..48ca3d4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/MagicBook.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/MagicWand.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/MagicWand.png new file mode 100644 index 0000000..dbc92f4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/MagicWand.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Map.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Map.png new file mode 100644 index 0000000..b79bf46 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Map.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/None.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/None.png new file mode 100644 index 0000000..82fa43a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/None.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbBlue.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbBlue.png new file mode 100644 index 0000000..6262527 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbGreen.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbGreen.png new file mode 100644 index 0000000..0cd0fc2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbRed.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbRed.png new file mode 100644 index 0000000..0efaaea Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/OrbRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Pistol.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Pistol.png new file mode 100644 index 0000000..117de9b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Pistol.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionBlue.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionBlue.png new file mode 100644 index 0000000..ed177e9 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionCyan.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionCyan.png new file mode 100644 index 0000000..1e7597a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionCyan.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionGreen.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionGreen.png new file mode 100644 index 0000000..d4233d0 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionPurple.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionPurple.png new file mode 100644 index 0000000..fa36c2b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionPurple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionRed.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionRed.png new file mode 100644 index 0000000..776d63e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionYellow.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionYellow.png new file mode 100644 index 0000000..da55f89 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/PotionYellow.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Ring.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Ring.png new file mode 100644 index 0000000..abe924c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Ring.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingGold.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingGold.png new file mode 100644 index 0000000..1e64111 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingGold.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png new file mode 100644 index 0000000..e303fd1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingRuby.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingRuby.png new file mode 100644 index 0000000..03cd193 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RingRuby.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyBlue.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyBlue.png new file mode 100644 index 0000000..69646a3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyGreen.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyGreen.png new file mode 100644 index 0000000..b14be2e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyPink.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyPink.png new file mode 100644 index 0000000..2d6abc5 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyPink.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyPurple.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyPurple.png new file mode 100644 index 0000000..066b638 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyPurple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyRed.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyRed.png new file mode 100644 index 0000000..c3336c6 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/RubyRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Sack.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Sack.png new file mode 100644 index 0000000..6dbe355 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Sack.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Scroll.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Scroll.png new file mode 100644 index 0000000..1047714 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Scroll.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Shield.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Shield.png new file mode 100644 index 0000000..5cd2772 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Shield.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png new file mode 100644 index 0000000..181b7a1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Shovel.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Shovel.png new file mode 100644 index 0000000..2443a72 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Shovel.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/SilverShard.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/SilverShard.png new file mode 100644 index 0000000..3e534e3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/SilverShard.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Skull.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Skull.png new file mode 100644 index 0000000..2d83478 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Skull.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Sword.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Sword.png new file mode 100644 index 0000000..140c9c1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Sword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Trap.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Trap.png new file mode 100644 index 0000000..2033a1c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/Trap.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ZoomIn.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ZoomIn.png new file mode 100644 index 0000000..817178b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ZoomIn.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ZoomOut.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ZoomOut.png new file mode 100644 index 0000000..c6faffb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/ZoomOut.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/background.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/background.png new file mode 100644 index 0000000..a1ad1b4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/icons/background.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_default.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_default.png new file mode 100644 index 0000000..45c7f7b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_default_md.xml new file mode 100644 index 0000000..7fa94b7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_fancy.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_fancy.png new file mode 100644 index 0000000..87a925d Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_fancy_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_golden.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_golden.png new file mode 100644 index 0000000..b62a40e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_golden.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_golden_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_golden_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_golden_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_listbackground.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_listbackground.png new file mode 100644 index 0000000..7985ca9 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_listbackground.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_simple.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_simple.png new file mode 100644 index 0000000..db20ae2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_simple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_simple_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_simple_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/panel_simple_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar.png new file mode 100644 index 0000000..c1ce76f Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar_fill.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar_fill.png new file mode 100644 index 0000000..afa0cd7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar_fill.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar_md.xml new file mode 100644 index 0000000..257a0a2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/progressbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.05 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio.png new file mode 100644 index 0000000..b2d08da Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio_down.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio_down.png new file mode 100644 index 0000000..e3e70a4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio_hover.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio_hover.png new file mode 100644 index 0000000..9e24d8c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/radio_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar.png new file mode 100644 index 0000000..06835aa Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar_mark.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar_mark.png new file mode 100644 index 0000000..08bf871 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar_md.xml new file mode 100644 index 0000000..80c3e3d --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/scrollbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.0 + 0.14 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default.png new file mode 100644 index 0000000..dffd366 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default_mark.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default_mark.png new file mode 100644 index 0000000..4c8c273 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default_md.xml new file mode 100644 index 0000000..d27d99d --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.03 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy.png new file mode 100644 index 0000000..0aca549 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy_mark.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy_mark.png new file mode 100644 index 0000000..51e4707 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy_md.xml new file mode 100644 index 0000000..d3485b6 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/editor/textures/slider_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.14 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/editor/textures/white_texture.png b/SpacePew/Content/GeonBit.UI/themes/editor/textures/white_texture.png new file mode 100644 index 0000000..a782975 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/editor/textures/white_texture.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/ThemeData.xml b/SpacePew/Content/GeonBit.UI/themes/hd/ThemeData.xml new file mode 100644 index 0000000..0a9e5bd --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/ThemeData.xml @@ -0,0 +1,22 @@ + + + + Hd + Ronen Ness + A higher-res, old-school style UI theme GeonBit.UI comes with by default. + This theme is mostly based on Michele Bucelli ("Buch") works. +Sources can be found here: + +- http://opengameart.org/content/golden-ui +- http://opengameart.org/content/roguelikerpg-icons +- http://opengameart.org/content/roguelikerpg-items +- http://opengameart.org/content/arabian-icons +- http://opengameart.org/content/2d-static-spritesicons +- http://opengameart.org/content/30-ability-icons +- http://opengameart.org/content/whispers-of-avalon-item-icons + + 1.0.0 + + MIT + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/effects/disabled.fx b/SpacePew/Content/GeonBit.UI/themes/hd/effects/disabled.fx new file mode 100644 index 0000000..6774d71 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/effects/disabled.fx @@ -0,0 +1,38 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + float value = (color.r + color.g + color.b) / 3; + color.r = color.g = color.b = value; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/effects/silhouette.fx b/SpacePew/Content/GeonBit.UI/themes/hd/effects/silhouette.fx new file mode 100644 index 0000000..0bd81f3 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/effects/silhouette.fx @@ -0,0 +1,39 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + color.r = 1 * color.a * input.Color.r; + color.g = 1 * color.a * input.Color.g; + color.b = 1 * color.a * input.Color.b; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Bold.spritefont b/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Bold.spritefont new file mode 100644 index 0000000..1d7e133 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Bold.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Bold + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Italic.spritefont b/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Italic.spritefont new file mode 100644 index 0000000..a3ae047 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Italic.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Oblique + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Regular.spritefont b/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Regular.spritefont new file mode 100644 index 0000000..c23a0b1 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/fonts/Regular.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Roman + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Button-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml new file mode 100644 index 0000000..ef0bb15 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml @@ -0,0 +1,19 @@ + + + + + FFFFFFFF + FF000000 + 2 + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-Default.xml new file mode 100644 index 0000000..01a95be --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + 00000000 + 0 + false + Regular + 00000000 + 00000000 + 0 0 + 30 30 + 0 0 + 0 8 + 1 + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-Default.xml new file mode 100644 index 0000000..2756cfc --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + FFFFFF00 + + + true + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Header-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-Default.xml new file mode 100644 index 0000000..8e7cda6 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml new file mode 100644 index 0000000..1b7450a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml @@ -0,0 +1,19 @@ + + + + 1.1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-Default.xml new file mode 100644 index 0000000..4f91be3 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Image-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-Default.xml new file mode 100644 index 0000000..4743520 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-Default.xml @@ -0,0 +1,19 @@ + + + + 0.8 + FFCCCCCC + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Label-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-Default.xml new file mode 100644 index 0000000..b7a0a3f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-Default.xml new file mode 100644 index 0000000..b1e6116 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml new file mode 100644 index 0000000..9f2354a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml @@ -0,0 +1,19 @@ + + + + + FF84CC40 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-Default.xml new file mode 100644 index 0000000..3936669 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + 64000000 + + + 30 22 + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml new file mode 100644 index 0000000..8f99889 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml new file mode 100644 index 0000000..10d1266 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + FF969696 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/styles/example.xml b/SpacePew/Content/GeonBit.UI/themes/hd/styles/example.xml new file mode 100644 index 0000000..30f294b --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/styles/example.xml @@ -0,0 +1,45 @@ + + + + + + 1 + + FFFFFFFF + + FF000000 + + 2 + + false + + Regular + + 00000000 + + 00000000 + + 0 0 + + 10 10 + + 0 0 + + 0 0 + + 1 + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/arrow_down.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/arrow_down.png new file mode 100644 index 0000000..4dd07bb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/arrow_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/arrow_up.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/arrow_up.png new file mode 100644 index 0000000..65a3b01 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/arrow_up.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative.png new file mode 100644 index 0000000..b2f6aa1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_down.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_down.png new file mode 100644 index 0000000..48e47dd Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_hover.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_hover.png new file mode 100644 index 0000000..74e018d Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_md.xml new file mode 100644 index 0000000..be50e84 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_alternative_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default.png new file mode 100644 index 0000000..37dc988 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_down.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_down.png new file mode 100644 index 0000000..268dd99 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_hover.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_hover.png new file mode 100644 index 0000000..18d81c2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy.png new file mode 100644 index 0000000..7fa0dd8 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_down.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_down.png new file mode 100644 index 0000000..8c3f37a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_hover.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_hover.png new file mode 100644 index 0000000..a0f439a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_md.xml new file mode 100644 index 0000000..46b65bc --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/button_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.35 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox.png new file mode 100644 index 0000000..8bafc50 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox_down.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox_down.png new file mode 100644 index 0000000..1a77817 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox_hover.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox_hover.png new file mode 100644 index 0000000..be740d6 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/checkbox_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_default.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_default.png new file mode 100644 index 0000000..0bc4377 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_default_md.xml new file mode 100644 index 0000000..e779d69 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_default_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + 0 + 40 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam.png new file mode 100644 index 0000000..2027785 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml new file mode 100644 index 0000000..10d5e52 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + -8 + 40 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_pointer.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_pointer.png new file mode 100644 index 0000000..e62b106 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_pointer.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml new file mode 100644 index 0000000..82abccb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml @@ -0,0 +1,11 @@ + + + + + + -4 + 0 + 50 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/horizontal_line.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/horizontal_line.png new file mode 100644 index 0000000..5ae5bd1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/horizontal_line.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Apple.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Apple.png new file mode 100644 index 0000000..9069cc5 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Apple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Armor.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Armor.png new file mode 100644 index 0000000..e8cff60 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Armor.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Axe.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Axe.png new file mode 100644 index 0000000..05748e2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Axe.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/BloodySword.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/BloodySword.png new file mode 100644 index 0000000..abf9eed Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/BloodySword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Bone.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Bone.png new file mode 100644 index 0000000..869d817 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Bone.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Book.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Book.png new file mode 100644 index 0000000..3da1b01 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Book.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Cubes.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Cubes.png new file mode 100644 index 0000000..1e10123 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Cubes.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Diamond.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Diamond.png new file mode 100644 index 0000000..20d46ab Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Diamond.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Explanation.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Explanation.png new file mode 100644 index 0000000..0927841 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Explanation.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Feather.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Feather.png new file mode 100644 index 0000000..1ec35ae Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Feather.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png new file mode 100644 index 0000000..60f8520 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/GoldCoins.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/GoldCoins.png new file mode 100644 index 0000000..596e556 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/GoldCoins.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/GoldShard.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/GoldShard.png new file mode 100644 index 0000000..9d77a5c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/GoldShard.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Heart.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Heart.png new file mode 100644 index 0000000..fa0bb39 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Heart.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Helmet.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Helmet.png new file mode 100644 index 0000000..965cb60 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Helmet.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Key.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Key.png new file mode 100644 index 0000000..887a299 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Key.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/MagicBook.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/MagicBook.png new file mode 100644 index 0000000..48ca3d4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/MagicBook.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/MagicWand.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/MagicWand.png new file mode 100644 index 0000000..dbc92f4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/MagicWand.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Map.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Map.png new file mode 100644 index 0000000..b79bf46 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Map.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/None.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/None.png new file mode 100644 index 0000000..82fa43a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/None.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbBlue.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbBlue.png new file mode 100644 index 0000000..6262527 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbGreen.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbGreen.png new file mode 100644 index 0000000..0cd0fc2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbRed.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbRed.png new file mode 100644 index 0000000..0efaaea Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/OrbRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Pistol.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Pistol.png new file mode 100644 index 0000000..117de9b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Pistol.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionBlue.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionBlue.png new file mode 100644 index 0000000..ed177e9 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionCyan.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionCyan.png new file mode 100644 index 0000000..1e7597a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionCyan.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionGreen.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionGreen.png new file mode 100644 index 0000000..d4233d0 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionPurple.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionPurple.png new file mode 100644 index 0000000..fa36c2b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionPurple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionRed.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionRed.png new file mode 100644 index 0000000..776d63e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionYellow.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionYellow.png new file mode 100644 index 0000000..da55f89 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/PotionYellow.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Ring.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Ring.png new file mode 100644 index 0000000..abe924c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Ring.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingGold.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingGold.png new file mode 100644 index 0000000..1e64111 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingGold.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png new file mode 100644 index 0000000..e303fd1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingRuby.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingRuby.png new file mode 100644 index 0000000..03cd193 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RingRuby.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyBlue.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyBlue.png new file mode 100644 index 0000000..69646a3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyGreen.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyGreen.png new file mode 100644 index 0000000..b14be2e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyPink.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyPink.png new file mode 100644 index 0000000..2d6abc5 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyPink.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyPurple.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyPurple.png new file mode 100644 index 0000000..066b638 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyPurple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyRed.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyRed.png new file mode 100644 index 0000000..c3336c6 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/RubyRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Sack.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Sack.png new file mode 100644 index 0000000..6dbe355 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Sack.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Scroll.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Scroll.png new file mode 100644 index 0000000..1047714 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Scroll.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Shield.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Shield.png new file mode 100644 index 0000000..5cd2772 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Shield.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png new file mode 100644 index 0000000..181b7a1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Shovel.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Shovel.png new file mode 100644 index 0000000..2443a72 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Shovel.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/SilverShard.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/SilverShard.png new file mode 100644 index 0000000..3e534e3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/SilverShard.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Skull.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Skull.png new file mode 100644 index 0000000..2d83478 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Skull.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Sword.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Sword.png new file mode 100644 index 0000000..140c9c1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Sword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Trap.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Trap.png new file mode 100644 index 0000000..2033a1c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/Trap.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ZoomIn.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ZoomIn.png new file mode 100644 index 0000000..817178b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ZoomIn.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ZoomOut.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ZoomOut.png new file mode 100644 index 0000000..c6faffb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/ZoomOut.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/background.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/background.png new file mode 100644 index 0000000..82b18be Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/icons/background.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_default.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_default.png new file mode 100644 index 0000000..8bc26d9 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_default_md.xml new file mode 100644 index 0000000..7fa94b7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_fancy.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_fancy.png new file mode 100644 index 0000000..d9eedd6 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_fancy_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_golden.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_golden.png new file mode 100644 index 0000000..3057704 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_golden.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_golden_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_golden_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_golden_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_listbackground.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_listbackground.png new file mode 100644 index 0000000..02ac7de Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_listbackground.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_simple.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_simple.png new file mode 100644 index 0000000..1430cc7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_simple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_simple_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_simple_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/panel_simple_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar.png new file mode 100644 index 0000000..5750692 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar_fill.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar_fill.png new file mode 100644 index 0000000..79b0d81 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar_fill.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar_md.xml new file mode 100644 index 0000000..cea6983 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/progressbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.1375 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio.png new file mode 100644 index 0000000..5fe5420 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio_down.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio_down.png new file mode 100644 index 0000000..85b9a83 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio_hover.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio_hover.png new file mode 100644 index 0000000..2e0f36f Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/radio_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar.png new file mode 100644 index 0000000..3a98a60 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar_mark.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar_mark.png new file mode 100644 index 0000000..fef0a10 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar_md.xml new file mode 100644 index 0000000..44688b9 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/scrollbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.0 + 0.3 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default.png new file mode 100644 index 0000000..84846e3 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default_mark.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default_mark.png new file mode 100644 index 0000000..23c0e81 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default_md.xml new file mode 100644 index 0000000..d27d99d --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.03 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy.png new file mode 100644 index 0000000..11a06e5 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy_mark.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy_mark.png new file mode 100644 index 0000000..9be39ae Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy_md.xml new file mode 100644 index 0000000..cd4cc37 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/hd/textures/slider_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.28 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/hd/textures/white_texture.png b/SpacePew/Content/GeonBit.UI/themes/hd/textures/white_texture.png new file mode 100644 index 0000000..a782975 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/hd/textures/white_texture.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/ThemeData.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/ThemeData.xml new file mode 100644 index 0000000..111310d --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/ThemeData.xml @@ -0,0 +1,22 @@ + + + + LowRes + Ronen Ness + A lower-res, old-school style UI theme GeonBit.UI comes with by default. + This theme is mostly based on Michele Bucelli ("Buch") works. +Sources can be found here: + +- http://opengameart.org/content/golden-ui +- http://opengameart.org/content/roguelikerpg-icons +- http://opengameart.org/content/roguelikerpg-items +- http://opengameart.org/content/arabian-icons +- http://opengameart.org/content/2d-static-spritesicons +- http://opengameart.org/content/30-ability-icons +- http://opengameart.org/content/whispers-of-avalon-item-icons + + 1.0.0 + + MIT + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/effects/disabled.fx b/SpacePew/Content/GeonBit.UI/themes/lowres/effects/disabled.fx new file mode 100644 index 0000000..6774d71 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/effects/disabled.fx @@ -0,0 +1,38 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + float value = (color.r + color.g + color.b) / 3; + color.r = color.g = color.b = value; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/effects/silhouette.fx b/SpacePew/Content/GeonBit.UI/themes/lowres/effects/silhouette.fx new file mode 100644 index 0000000..0bd81f3 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/effects/silhouette.fx @@ -0,0 +1,39 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + color.r = 1 * color.a * input.Color.r; + color.g = 1 * color.a * input.Color.g; + color.b = 1 * color.a * input.Color.b; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Bold.spritefont b/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Bold.spritefont new file mode 100644 index 0000000..8a3e9d0 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Bold.spritefont @@ -0,0 +1,60 @@ + + + + + + + AnonymousPro-Bold + + + 18 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Italic.spritefont b/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Italic.spritefont new file mode 100644 index 0000000..9f83be2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Italic.spritefont @@ -0,0 +1,60 @@ + + + + + + + AnonymousPro-Italic + + + 18 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Regular.spritefont b/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Regular.spritefont new file mode 100644 index 0000000..280145e --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/fonts/Regular.spritefont @@ -0,0 +1,60 @@ + + + + + + + AnonymousPro-Regular + + + 18 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-Default.xml new file mode 100644 index 0000000..7b72025 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-Default.xml @@ -0,0 +1,18 @@ + + + + 3 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml new file mode 100644 index 0000000..8436c00 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.2 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..89772b2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml new file mode 100644 index 0000000..fd1f840 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.15 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml new file mode 100644 index 0000000..642517e --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml @@ -0,0 +1,18 @@ + + + + + FFFFFFFF + FF000000 + 2 + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-Default.xml new file mode 100644 index 0000000..01a95be --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + 00000000 + 0 + false + Regular + 00000000 + 00000000 + 0 0 + 30 30 + 0 0 + 0 8 + 1 + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-Default.xml new file mode 100644 index 0000000..963c57c --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-Default.xml @@ -0,0 +1,18 @@ + + + + 1.2 + FFFFFF00 + + + true + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-Default.xml new file mode 100644 index 0000000..f335fcb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml new file mode 100644 index 0000000..3133d29 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml @@ -0,0 +1,18 @@ + + + + 1.1 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-Default.xml new file mode 100644 index 0000000..b3d60ef --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-Default.xml new file mode 100644 index 0000000..85583e1 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-Default.xml @@ -0,0 +1,18 @@ + + + + 0.8 + FFCCCCCC + FF000000 + 2 + false + Regular + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-Default.xml new file mode 100644 index 0000000..17f9149 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-Default.xml @@ -0,0 +1,18 @@ + + + + 3 + FFFFFFFF + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml new file mode 100644 index 0000000..f02e8a9 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml new file mode 100644 index 0000000..e5e4c97 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml @@ -0,0 +1,18 @@ + + + + + FF84CC40 + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-Default.xml new file mode 100644 index 0000000..3936669 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + 64000000 + + + 30 22 + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml new file mode 100644 index 0000000..825049c --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml new file mode 100644 index 0000000..fd1f840 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.15 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml new file mode 100644 index 0000000..9a6c33b --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml @@ -0,0 +1,18 @@ + + + + 1.15 + FF969696 + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/styles/example.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/example.xml new file mode 100644 index 0000000..de39a93 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/styles/example.xml @@ -0,0 +1,45 @@ + + + + + + 1 + + FFFFFFFF + + FF000000 + + 2 + + false + + Regular + + 00000000 + + 00000000 + + 0 0 + + 10 10 + + 0 0 + + 0 0 + + 1 + + \ No newline at end of file diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/arrow_down.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/arrow_down.png new file mode 100644 index 0000000..18eb1d2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/arrow_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/arrow_up.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/arrow_up.png new file mode 100644 index 0000000..65a3b01 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/arrow_up.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative.png new file mode 100644 index 0000000..ac3852f Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_down.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_down.png new file mode 100644 index 0000000..ffb38dc Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_hover.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_hover.png new file mode 100644 index 0000000..b6b1599 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_alternative_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default.png new file mode 100644 index 0000000..6be27e2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_down.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_down.png new file mode 100644 index 0000000..e19d19c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_hover.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_hover.png new file mode 100644 index 0000000..8e74bb9 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy.png new file mode 100644 index 0000000..43efaaa Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_down.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_down.png new file mode 100644 index 0000000..4dd6a77 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_hover.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_hover.png new file mode 100644 index 0000000..190e682 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_md.xml new file mode 100644 index 0000000..46b65bc --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/button_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.35 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox.png new file mode 100644 index 0000000..b336b92 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox_down.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox_down.png new file mode 100644 index 0000000..8a6d45c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox_hover.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox_hover.png new file mode 100644 index 0000000..999937a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/checkbox_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_default.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_default.png new file mode 100644 index 0000000..0967c0d Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_default_md.xml new file mode 100644 index 0000000..88b034c --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_default_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + 0 + 80 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam.png new file mode 100644 index 0000000..b6c3033 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml new file mode 100644 index 0000000..725450d --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + -6 + 70 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer.png new file mode 100644 index 0000000..8493b97 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml new file mode 100644 index 0000000..fd0c53b --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml @@ -0,0 +1,11 @@ + + + + + + -3 + 0 + 70 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/dot.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/dot.png new file mode 100644 index 0000000..d25727b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/dot.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/horizontal_line.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/horizontal_line.png new file mode 100644 index 0000000..5ae5bd1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/horizontal_line.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Apple.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Apple.png new file mode 100644 index 0000000..9069cc5 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Apple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Armor.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Armor.png new file mode 100644 index 0000000..a68d969 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Armor.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Axe.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Axe.png new file mode 100644 index 0000000..e000b5e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Axe.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/BloodySword.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/BloodySword.png new file mode 100644 index 0000000..f424522 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/BloodySword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Bone.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Bone.png new file mode 100644 index 0000000..832ee19 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Bone.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Book.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Book.png new file mode 100644 index 0000000..7ecb384 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Book.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Cubes.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Cubes.png new file mode 100644 index 0000000..7ad8e45 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Cubes.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Diamond.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Diamond.png new file mode 100644 index 0000000..19770b7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Diamond.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Explanation.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Explanation.png new file mode 100644 index 0000000..0927841 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Explanation.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Feather.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Feather.png new file mode 100644 index 0000000..f6d7277 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Feather.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png new file mode 100644 index 0000000..f742be7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png new file mode 100644 index 0000000..aa39013 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/GoldShard.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/GoldShard.png new file mode 100644 index 0000000..33f77b2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/GoldShard.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Heart.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Heart.png new file mode 100644 index 0000000..6192000 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Heart.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Helmet.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Helmet.png new file mode 100644 index 0000000..573efeb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Helmet.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Key.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Key.png new file mode 100644 index 0000000..13cf4c4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Key.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/MagicBook.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/MagicBook.png new file mode 100644 index 0000000..0da7131 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/MagicBook.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/MagicWand.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/MagicWand.png new file mode 100644 index 0000000..a3f9b11 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/MagicWand.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Map.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Map.png new file mode 100644 index 0000000..8994325 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Map.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/None.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/None.png new file mode 100644 index 0000000..82fa43a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/None.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png new file mode 100644 index 0000000..c748d3e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png new file mode 100644 index 0000000..7237b2c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbRed.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbRed.png new file mode 100644 index 0000000..d13a47d Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/OrbRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Pistol.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Pistol.png new file mode 100644 index 0000000..5c4d86e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Pistol.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png new file mode 100644 index 0000000..8a427c2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png new file mode 100644 index 0000000..3a063a2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png new file mode 100644 index 0000000..d6b494e Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png new file mode 100644 index 0000000..4fd7c7c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionRed.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionRed.png new file mode 100644 index 0000000..87355bb Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png new file mode 100644 index 0000000..99b9526 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Ring.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Ring.png new file mode 100644 index 0000000..3efec21 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Ring.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingGold.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingGold.png new file mode 100644 index 0000000..6e1e00a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingGold.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png new file mode 100644 index 0000000..1690788 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingRuby.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingRuby.png new file mode 100644 index 0000000..a2092d7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RingRuby.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png new file mode 100644 index 0000000..bdbb52f Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png new file mode 100644 index 0000000..be78368 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPink.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPink.png new file mode 100644 index 0000000..55d9cc7 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPink.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png new file mode 100644 index 0000000..28c4356 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyRed.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyRed.png new file mode 100644 index 0000000..d4522ac Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/RubyRed.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Sack.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Sack.png new file mode 100644 index 0000000..8c969c9 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Sack.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Scroll.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Scroll.png new file mode 100644 index 0000000..e09f934 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Scroll.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Shield.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Shield.png new file mode 100644 index 0000000..9c82d37 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Shield.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png new file mode 100644 index 0000000..14f255b Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Shovel.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Shovel.png new file mode 100644 index 0000000..42ef8c4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Shovel.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/SilverShard.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/SilverShard.png new file mode 100644 index 0000000..f644926 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/SilverShard.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Skull.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Skull.png new file mode 100644 index 0000000..5d59ef8 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Skull.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Sword.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Sword.png new file mode 100644 index 0000000..17e360c Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Sword.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Trap.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Trap.png new file mode 100644 index 0000000..6483af4 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/Trap.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png new file mode 100644 index 0000000..c32c4e6 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png new file mode 100644 index 0000000..a0b7eba Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/background.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/background.png new file mode 100644 index 0000000..f42eaf6 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/icons/background.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_default.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_default.png new file mode 100644 index 0000000..32d10df Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_default_md.xml new file mode 100644 index 0000000..7fa94b7 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_fancy.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_fancy.png new file mode 100644 index 0000000..3fb340a Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_golden.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_golden.png new file mode 100644 index 0000000..d7aabdc Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_golden.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_golden_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_golden_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_golden_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground.png new file mode 100644 index 0000000..d02d359 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_simple.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_simple.png new file mode 100644 index 0000000..704e268 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_simple.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_simple_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_simple_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/panel_simple_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar.png new file mode 100644 index 0000000..e206008 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar_fill.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar_fill.png new file mode 100644 index 0000000..7739653 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar_fill.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar_md.xml new file mode 100644 index 0000000..ff3521d --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/progressbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.3235 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio.png new file mode 100644 index 0000000..1e8514f Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio_down.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio_down.png new file mode 100644 index 0000000..94571f1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio_down.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio_hover.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio_hover.png new file mode 100644 index 0000000..1e8d7db Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/radio_hover.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar.png new file mode 100644 index 0000000..65b4cc2 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar_mark.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar_mark.png new file mode 100644 index 0000000..80dd9b1 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar_md.xml new file mode 100644 index 0000000..44688b9 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/scrollbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.0 + 0.3 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default.png new file mode 100644 index 0000000..4b0110f Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default_mark.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default_mark.png new file mode 100644 index 0000000..51c7c21 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default_md.xml new file mode 100644 index 0000000..e432ee2 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy.png new file mode 100644 index 0000000..18f4c34 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png new file mode 100644 index 0000000..85a2898 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png differ diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml new file mode 100644 index 0000000..465cd19 --- /dev/null +++ b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.3 + 0.0 + + + diff --git a/SpacePew/Content/GeonBit.UI/themes/lowres/textures/white_texture.png b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/white_texture.png new file mode 100644 index 0000000..a782975 Binary files /dev/null and b/SpacePew/Content/GeonBit.UI/themes/lowres/textures/white_texture.png differ diff --git a/SpacePew/Content/Skins/Blue.skin b/SpacePew/Content/Skins/Blue.skin deleted file mode 100644 index 72b1c5a..0000000 Binary files a/SpacePew/Content/Skins/Blue.skin and /dev/null differ diff --git a/SpacePew/Content/Skins/Default.skin b/SpacePew/Content/Skins/Default.skin deleted file mode 100644 index edaa82c..0000000 Binary files a/SpacePew/Content/Skins/Default.skin and /dev/null differ diff --git a/SpacePew/Content/Skins/Green.skin b/SpacePew/Content/Skins/Green.skin deleted file mode 100644 index 145c7e1..0000000 Binary files a/SpacePew/Content/Skins/Green.skin and /dev/null differ diff --git a/SpacePew/Content/Skins/Magenta.skin b/SpacePew/Content/Skins/Magenta.skin deleted file mode 100644 index 3848d3c..0000000 Binary files a/SpacePew/Content/Skins/Magenta.skin and /dev/null differ diff --git a/SpacePew/Content/Skins/Purple.skin b/SpacePew/Content/Skins/Purple.skin deleted file mode 100644 index 3db20ce..0000000 Binary files a/SpacePew/Content/Skins/Purple.skin and /dev/null differ diff --git a/SpacePew/MainGame.cs b/SpacePew/MainGame.cs index 21f201f..538b893 100644 --- a/SpacePew/MainGame.cs +++ b/SpacePew/MainGame.cs @@ -15,6 +15,7 @@ using Color = Microsoft.Xna.Framework.Color; using Rectangle = Microsoft.Xna.Framework.Rectangle; using SpacePew.Extensions; using System.Linq; +using System.Threading; namespace SpacePew { @@ -136,7 +137,7 @@ namespace SpacePew IsMouseVisible = true; - _graphics.CreateDevice(); + //_graphics.CreateDevice(); //Cursor.Hide(); @@ -157,28 +158,46 @@ namespace SpacePew _randomizer = new Random(); - _udpClientGui = new UdpNetworkGui(this, _graphics, (UdpClient)NetworkClient, (UdpServer)NetworkServer); - Components.Add(_udpClientGui); - } + //StartServer(); + //this.AddGameComponents(); - /// - /// LoadContent will be called once per game and is the place to load - /// all of your content. - /// - protected override void LoadContent() + _udpClientGui = new UdpNetworkGui(this, _graphics, (UdpClient)NetworkClient, (UdpServer)NetworkServer); + Components.Add(_udpClientGui); + } + + /// + /// LoadContent will be called once per game and is the place to load + /// all of your content. + /// + protected override void LoadContent() { - _udpClientGui.Initialize(); + //_udpClientGui.Initialize(); _spriteBatch = new SpriteBatch(GraphicsDevice); _backgroundTexture = TextureManager.LoadTexture("stars"); } - /// - /// UnloadContent will be called once per game and is the place to unload - /// all content. - /// - protected override void UnloadContent() + private void StartServer() + { + string levelPath = AppDomain.CurrentDomain.BaseDirectory + "\\Levels\\hippie.zip"; // TODO: Vlja + var level = LevelLoader.LoadLevel(levelPath, this.Content, GraphicsDevice); + + NetworkServer.SetLevel(level); + + Trace.WriteLine("CreateSession()"); + NetworkServer.CreateSession(); + + new Thread(NetworkServer.Listen).Start(); + + NetworkClient.JoinSession("127.0.0.1", "Magnus"); + } + + /// + /// UnloadContent will be called once per game and is the place to unload + /// all content. + /// + protected override void UnloadContent() { } diff --git a/SpacePew/Networking/NetworkMessenger.cs b/SpacePew/Networking/NetworkMessenger.cs index eae9d5c..9efdbd5 100644 --- a/SpacePew/Networking/NetworkMessenger.cs +++ b/SpacePew/Networking/NetworkMessenger.cs @@ -8,7 +8,6 @@ using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; -using Microsoft.Xna.Framework.Storage; using SpacePew.Models; diff --git a/SpacePew/Networking/ScoreBoard.cs b/SpacePew/Networking/ScoreBoard.cs index 8566971..d4f8694 100644 --- a/SpacePew/Networking/ScoreBoard.cs +++ b/SpacePew/Networking/ScoreBoard.cs @@ -8,7 +8,6 @@ using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; -using Microsoft.Xna.Framework.Storage; using SpacePew.Models; diff --git a/SpacePew/Networking/UdpNetworkGui.cs b/SpacePew/Networking/UdpNetworkGui.cs index c070972..c3de166 100644 --- a/SpacePew/Networking/UdpNetworkGui.cs +++ b/SpacePew/Networking/UdpNetworkGui.cs @@ -2,16 +2,14 @@ using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Audio; -using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; -using Microsoft.Xna.Framework.Media; -using Microsoft.Xna.Framework.Storage; using System.Threading; using SpacePew.Models; #if WINDOWS -using TomShane.Neoforce.Controls; +using GeonBit.UI; +using GeonBit.UI.Entities; +using GeonBit.UI.Entities.TextValidators; +using GeonBit.UI.DataTypes; using Lidgren.Network; using System.Net; using System.Diagnostics; @@ -19,341 +17,240 @@ using System.Diagnostics; namespace SpacePew.Networking { - /// - /// This is a game component that implements IUpdateable. - /// + /// + /// This is a game component that implements IUpdateable. + /// #if WINDOWS - public class UdpNetworkGui : Microsoft.Xna.Framework.DrawableGameComponent - { - private MainGame _game; + public class UdpNetworkGui : Microsoft.Xna.Framework.DrawableGameComponent + { + private MainGame _game; + private SpriteBatch _spriteBatch; + private UserInterface _uiManager; - private UdpClient _client; - private UdpServer _server; + private UdpClient _client; + private UdpServer _server; - private GraphicsDeviceManager _graphics; + private GraphicsDeviceManager _graphics; - private Manager _manager; - private Window _window; - private TabControl _tabControl; - private TextBox _nameTextBox; - private TextBox _nameTextBox2; - private TextBox _ipTextBox; - private Label _nameLabel; - private Label _nameLabel2; - private ListBox _localGamesListBox; + private Panel _panel; + private PanelTabs _tabControl; + private TextInput _nameTextBox; + private TextInput _nameTextBox2; + private TextInput _ipTextBox; + private Label _nameLabel; + private Label _nameLabel2; + private SelectList _localGamesListBox; - private Label _joinErrorLabel; + private Label _joinErrorLabel; - private Label _ipLabel; - private Button _createButton; - private Button _joinButton; - private Button _refreshButton; + private Label _ipLabel; + private Button _createButton; + private Button _joinButton; + private Button _refreshButton; - public UdpNetworkGui(MainGame game, GraphicsDeviceManager graphics, UdpClient client, UdpServer server) - : base(game) - { - _game = game; - _graphics = graphics; - _client = client; - _server = server; + public UdpNetworkGui(MainGame game, GraphicsDeviceManager graphics, UdpClient client, UdpServer server) + : base(game) + { + _game = game; + _graphics = graphics; + _client = client; + _server = server; + _spriteBatch = new SpriteBatch(_graphics.GraphicsDevice); - _client.CurrentClient.Start(); + _client.CurrentClient.Start(); + } - _manager = new Manager(game, _graphics, "Default"); - _manager.Skin = new Skin(_manager, "Default"); - _manager.AutoCreateRenderTarget = true; - _manager.TargetFrames = 60; - _manager.LogUnhandledExceptions = false; - _manager.ShowSoftwareCursor = true; - } + /// + /// Allows the game component to perform any initialization it needs to before starting + /// to run. This is where it can query for any required services and load content. + /// + public override void Initialize() + { + UserInterface.Initialize(_game.Content, BuiltinThemes.hd); + UserInterface.Active.UseRenderTarget = true; + UserInterface.Active.IncludeCursorInRenderTarget = true; - /// - /// Allows the game component to perform any initialization it needs to before starting - /// to run. This is where it can query for any required services and load content. - /// - public override void Initialize() - { - base.Initialize(); + int topPanelHeight = 65; - _window = new Window(_manager); - _window.Init(); - _window.Text = "Space, pew pew!"; - _window.Width = 480; - _window.Height = 200; - _window.Center(); - _window.CloseButtonVisible = false; - _window.Resizable = false; - _window.Visible = true; + _panel = new Panel(new Vector2(0, topPanelHeight + 2), PanelSkin.Simple, Anchor.TopCenter); + _tabControl = new PanelTabs(); + _nameLabel = new Label("Name"); + _nameTextBox = new TextInput(false); + _nameLabel2 = new Label("Name"); + _nameTextBox2 = new TextInput(false); + _createButton = new Button("Create game"); - _tabControl = new TabControl(_manager); - _tabControl.Width = _window.Width; - _tabControl.Height = _window.Height; - _tabControl.Parent = _window; + _createButton.OnClick = (Entity btn) => + { + if (string.IsNullOrEmpty(_nameTextBox.TextParagraph.Text)) + { + return; + } - _nameLabel = new Label(_manager); - _nameLabel.Init(); - _nameLabel.Width = 100; - _nameLabel.Height = 24; - _nameLabel.Text = "Name"; - _nameLabel.Left = 10; - _nameLabel.Top = 10; + string levelPath = AppDomain.CurrentDomain.BaseDirectory + "\\Levels\\hippie.zip"; // TODO: Vlja + var level = LevelLoader.LoadLevel(levelPath, _game.Content, GraphicsDevice); - _nameTextBox = new TextBox(_manager); - _nameTextBox.Init(); - _nameTextBox.Width = 140; - _nameTextBox.Height = 24; - _nameTextBox.Left = 50; - _nameTextBox.Top = 10; + _server.SetLevel(level); - _nameLabel2 = new Label(_manager); - _nameLabel2.Init(); - _nameLabel2.Width = 100; - _nameLabel2.Height = 24; - _nameLabel2.Text = "Name"; - _nameLabel2.Left = 10; - _nameLabel2.Top = 10; + Trace.WriteLine("CreateSession()"); + _server.CreateSession(); - _nameTextBox2 = new TextBox(_manager); - _nameTextBox2.Init(); - _nameTextBox2.Width = 140; - _nameTextBox2.Height = 24; - _nameTextBox2.Left = 50; - _nameTextBox2.Top = 10; + new Thread(_server.Listen).Start(); - _createButton = new Button(_manager); - _createButton.Init(); - _createButton.Text = "Create game"; - _createButton.Width = 140; - _createButton.Height = 24; - _createButton.Left = 50; - _createButton.Top = 40; - _createButton.Click += _createButton_Click; + _client.JoinSession("127.0.0.1", _nameTextBox.TextParagraph.Text); - _ipLabel = new Label(_manager); - _ipLabel.Init(); - _ipLabel.Width = 100; - _ipLabel.Height = 24; - _ipLabel.Text = "Host"; - _ipLabel.Left = 10; - _ipLabel.Top = 40; + _game.AddGameComponents(); + _game.Components.Remove(this); + }; + + _ipLabel = new Label("Host"); - _ipTextBox = new TextBox(_manager); - _ipTextBox.Init(); - _ipTextBox.Width = 140; - _ipTextBox.Height = 24; - _ipTextBox.Left = 50; - _ipTextBox.Top = 40; + _ipTextBox = new TextInput(false); - _joinErrorLabel = new Label(_manager); - _joinErrorLabel.Init(); - _joinErrorLabel.Width = 460; - _joinErrorLabel.Height = 24; - _joinErrorLabel.Left = 10; - _joinErrorLabel.Top = 110; - _joinErrorLabel.Text = string.Empty; - _joinErrorLabel.TextColor = Color.DarkRed; + _joinErrorLabel = new Label(string.Empty); - _joinButton = new Button(_manager); - _joinButton.Init(); - _joinButton.Text = "Join game"; - _joinButton.Width = 140; - _joinButton.Height = 24; - _joinButton.Left = 50; - _joinButton.Top = 70; - _joinButton.Anchor = Anchors.Bottom; - _joinButton.Click += _joinButton_Click; + _joinButton = new Button("Join game"); + _joinButton.OnClick = (Entity btn) => + { + if (string.IsNullOrEmpty(_ipTextBox.TextParagraph.Text) || string.IsNullOrEmpty(_nameTextBox2.TextParagraph.Text)) + { + return; + } - _localGamesListBox = new ListBox(_manager); - _localGamesListBox.Init(); - _localGamesListBox.Left = 200; - _localGamesListBox.Top = 10; - _localGamesListBox.Height = 84; - _localGamesListBox.Width = 254; - _localGamesListBox.ItemIndexChanged += new TomShane.Neoforce.Controls.EventHandler(_localGamesListBox_ItemIndexChanged); + var splits = _ipTextBox.TextParagraph.Text.Split(' '); + if (splits.Count() > 1) + { + var host = Int64.Parse(splits[0]); + _client.RequestNATIntroduction(host); + } + else + { + try + { + _client.JoinSession(_ipTextBox.TextParagraph.Text, _nameTextBox2.TextParagraph.Text); - _refreshButton = new Button(_manager); - _refreshButton.Init(); - _refreshButton.Text = "Refresh"; - _refreshButton.Width = 140; - _refreshButton.Height = 24; - _refreshButton.Left = 314; - _refreshButton.Top = 104; - _refreshButton.Click += _refreshButton_Click; + _game.AddGameComponents(); + _game.Components.Remove(this); + } + catch (NetException ex) + { + _joinErrorLabel.Text = ex.Message; + return; + } + } + }; - _nameTextBox.Click += ChangeTextBoxColor; - _nameTextBox2.Click += ChangeTextBoxColor; - _ipTextBox.Click += ChangeTextBoxColor; + _localGamesListBox = new SelectList(); + _localGamesListBox.OnValueChange = (Entity list) => + { + if (_localGamesListBox.SelectedValue != null) + { + _ipTextBox.Value = _localGamesListBox.SelectedValue; + } + }; - _tabControl.AddPage(); - _tabControl.AddPage(); - _tabControl.TabPages[0].Text = "Create"; - _tabControl.TabPages[0].Add(_nameLabel); - _tabControl.TabPages[0].Add(_nameTextBox); - _tabControl.TabPages[0].Add(_createButton); + _refreshButton = new Button("Refresh"); + _refreshButton.OnClick = (Entity btn) => + { + _localGamesListBox.ClearItems(); + _client.CurrentClient.DiscoverLocalPeers(SpacePew.Common.Constants.GameServerPort); + }; - _tabControl.TabPages[1].Text = "Join"; - _tabControl.TabPages[1].Add(_nameLabel2); - _tabControl.TabPages[1].Add(_nameTextBox2); - _tabControl.TabPages[1].Add(_ipLabel); - _tabControl.TabPages[1].Add(_ipTextBox); - _tabControl.TabPages[1].Add(_joinButton); - _tabControl.TabPages[1].Add(_joinErrorLabel); - _tabControl.TabPages[1].Add(_localGamesListBox); - _tabControl.TabPages[1].Add(_refreshButton); - _manager.Add(_window); - _manager.Initialize(); + UserInterface.Active.AddEntity(_panel); + _panel.AddChild(_tabControl); - _client.CurrentClient.DiscoverLocalPeers(SpacePew.Common.Constants.GameServerPort); - } + var createTab = _tabControl.AddTab("Create"); + createTab.panel.AddChild(_nameLabel); + createTab.panel.AddChild(_nameTextBox); + createTab.panel.AddChild(_createButton); - private void _refreshButton_Click(object sender, TomShane.Neoforce.Controls.EventArgs e) - { - _localGamesListBox.Items.Clear(); - _client.CurrentClient.DiscoverLocalPeers(SpacePew.Common.Constants.GameServerPort); - } + var joinTab = _tabControl.AddTab("Join"); - private void ChangeTextBoxColor(object sender, TomShane.Neoforce.Controls.EventArgs e) - { - ((TomShane.Neoforce.Controls.Control)sender).Color = Color.TransparentBlack; - } + joinTab.panel.AddChild(_nameLabel2); + joinTab.panel.AddChild(_nameTextBox2); + joinTab.panel.AddChild(_ipLabel); + joinTab.panel.AddChild(_ipTextBox); + joinTab.panel.AddChild(_joinButton); + joinTab.panel.AddChild(_joinErrorLabel); + joinTab.panel.AddChild(_localGamesListBox); + joinTab.panel.AddChild(_refreshButton); - private void _localGamesListBox_ItemIndexChanged(object sender, TomShane.Neoforce.Controls.EventArgs e) - { - _ipTextBox.Text = _localGamesListBox.Items[_localGamesListBox.ItemIndex].ToString(); - } + _client.CurrentClient.DiscoverLocalPeers(SpacePew.Common.Constants.GameServerPort); + } - private void _createButton_Click(object sender, TomShane.Neoforce.Controls.EventArgs e) - { - _nameTextBox.Color = string.IsNullOrEmpty(_nameTextBox.Text) ? Color.Pink : Color.TransparentBlack; + private DateTime _lastUpdate = DateTime.Now.AddSeconds(-5); + private static Dictionary _hostList = new Dictionary(); - if (_nameTextBox.Color == Color.Pink) - { - return; - } - - string levelPath = AppDomain.CurrentDomain.BaseDirectory + "\\Levels\\hippie.zip"; // TODO: Vlja - var level = LevelLoader.LoadLevel(levelPath, _game.Content, GraphicsDevice); + /// + /// Allows the game component to update itself. + /// + /// Provides a snapshot of timing values. + public override void Update(GameTime gameTime) + { + UserInterface.Active.Update(gameTime); - _server.SetLevel(level); + if (_lastUpdate <= DateTime.Now.AddSeconds(-5)) + { + _lastUpdate = DateTime.Now; + _client.CurrentClient.DiscoverLocalPeers(SpacePew.Common.Constants.GameServerPort); + _client.GetServerList(); + } + NetIncomingMessage message; + while ((message = _client.CurrentClient.ReadMessage()) != null) + { + if (message.MessageType == NetIncomingMessageType.UnconnectedData) + { + var id = message.ReadInt64(); + var hostInternal = message.ReadIPEndPoint(); + var hostExternal = message.ReadIPEndPoint(); - _window.Close(); - Trace.WriteLine("CreateSession()"); - _server.CreateSession(); + _hostList[id] = new IPEndPoint[] { hostInternal, hostExternal }; - new Thread(_server.Listen).Start(); + _localGamesListBox.ClearItems(); + foreach (var kvp in _hostList) + { + _localGamesListBox.AddItem(kvp.Key.ToString() + " (" + kvp.Value[1] + ")"); + } + } + else if (message.MessageType == NetIncomingMessageType.DiscoveryResponse) + { + IPEndPoint ep = message.ReadIPEndPoint(); + //if (!_localGamesListBox.Items.Contains(ep.Address.ToString())) + //{ + _localGamesListBox.AddItem(ep.Address.ToString()); + //} + } + else if (message.MessageType == NetIncomingMessageType.NatIntroductionSuccess) + { + try + { + _client.JoinSession(message.SenderEndPoint, _nameTextBox2.TextParagraph.Text); - _client.JoinSession("127.0.0.1", _nameTextBox.Text); + _game.AddGameComponents(); + _game.Components.Remove(this); + } + catch (NetException ex) + { + _joinErrorLabel.Text = ex.Message; + return; + } + } + } - _game.AddGameComponents(); - _game.Components.Remove(this); - } + base.Update(gameTime); + } - private void _joinButton_Click(object sender, TomShane.Neoforce.Controls.EventArgs e) - { - _ipTextBox.Color = string.IsNullOrEmpty(_ipTextBox.Text) ? Color.Pink : Color.TransparentBlack; - _nameTextBox2.Color = string.IsNullOrEmpty(_nameTextBox2.Text) ? Color.Pink : Color.TransparentBlack; + public override void Draw(GameTime gameTime) + { + UserInterface.Active.Draw(_spriteBatch); - if (_ipTextBox.Color == Color.Pink || _nameTextBox2.Color == Color.Pink) - { - return; - } + GraphicsDevice.Clear(Color.Black); - var splits = _ipTextBox.Text.Split(' '); - if (splits.Count() > 1) - { - var host = Int64.Parse(splits[0]); - _client.RequestNATIntroduction(host); - } - else - { - try - { - _client.JoinSession(_ipTextBox.Text, _nameTextBox2.Text); + UserInterface.Active.DrawMainRenderTarget(_spriteBatch); - _game.AddGameComponents(); - _game.Components.Remove(this); - } - catch (NetException ex) - { - _joinErrorLabel.Text = ex.Message; - return; - } - } - } - - private DateTime _lastUpdate = DateTime.Now.AddSeconds(-5); - private static Dictionary _hostList = new Dictionary(); - - /// - /// Allows the game component to update itself. - /// - /// Provides a snapshot of timing values. - public override void Update(GameTime gameTime) - { - _manager.Update(gameTime); - - if (_lastUpdate <= DateTime.Now.AddSeconds(-5)) - { - _lastUpdate = DateTime.Now; - _client.CurrentClient.DiscoverLocalPeers(SpacePew.Common.Constants.GameServerPort); - _client.GetServerList(); - } - NetIncomingMessage message; - while ((message = _client.CurrentClient.ReadMessage()) != null) - { - if (message.MessageType == NetIncomingMessageType.UnconnectedData) - { - var id = message.ReadInt64(); - var hostInternal = message.ReadIPEndPoint(); - var hostExternal = message.ReadIPEndPoint(); - - _hostList[id] = new IPEndPoint[] { hostInternal, hostExternal }; - - _localGamesListBox.Items.Clear(); - foreach (var kvp in _hostList) - { - _localGamesListBox.Items.Add(kvp.Key.ToString() + " (" + kvp.Value[1] + ")"); - } - } - else if (message.MessageType == NetIncomingMessageType.DiscoveryResponse) - { - IPEndPoint ep = message.ReadIPEndPoint(); - if (!_localGamesListBox.Items.Contains(ep.Address.ToString())) - { - _localGamesListBox.Items.Add(ep.Address.ToString()); - } - } - else if (message.MessageType == NetIncomingMessageType.NatIntroductionSuccess) - { - try - { - _client.JoinSession(message.SenderEndPoint, _nameTextBox2.Text); - - _game.AddGameComponents(); - _game.Components.Remove(this); - } - catch (NetException ex) - { - _joinErrorLabel.Text = ex.Message; - return; - } - } - } - - base.Update(gameTime); - } - - public override void Draw(GameTime gameTime) - { - _manager.BeginDraw(gameTime); - - GraphicsDevice.Clear(Color.Black); - - _manager.EndDraw(); - - base.Draw(gameTime); - } - } + base.Draw(gameTime); + } + } #endif } \ No newline at end of file diff --git a/SpacePew/SpacePew.csproj b/SpacePew/SpacePew.csproj index 996fd13..b1c69d0 100644 --- a/SpacePew/SpacePew.csproj +++ b/SpacePew/SpacePew.csproj @@ -14,7 +14,7 @@ Windows - v4.6 + v4.6.1 @@ -98,6 +98,14 @@ + + ..\packages\GeonBit.UI.3.1.0.4\lib\geonbitui\DataTypes.dll + True + + + ..\packages\GeonBit.UI.3.1.0.4\lib\geonbitui\GeonBit.UI.dll + True + False ..\Library\ICSharpCode.SharpZipLib.dll @@ -141,34 +149,16 @@ - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - PreserveNewest + {49ba1c69-6104-41ac-a5d8-b54fa9f696e8} Lidgren.Network - - {ac5f1cd8-aa8e-4db5-814f-86c214175841} - TomShane.Neoforce.Controls - {ba98d4ca-718b-4e50-ad4d-f48e8ca67624} SpacePew.Common diff --git a/SpacePew/app.config b/SpacePew/app.config index b45f31e..3dbff35 100644 --- a/SpacePew/app.config +++ b/SpacePew/app.config @@ -1,3 +1,3 @@ - + diff --git a/SpacePew/packages.config b/SpacePew/packages.config new file mode 100644 index 0000000..5fba90f --- /dev/null +++ b/SpacePew/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/Documentation.chm b/packages/GeonBit.UI.3.1.0.4/Documentation.chm new file mode 100644 index 0000000..4d5b08d Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/Documentation.chm differ diff --git a/packages/GeonBit.UI.3.1.0.4/GeonBit.UI.3.1.0.4.nupkg b/packages/GeonBit.UI.3.1.0.4/GeonBit.UI.3.1.0.4.nupkg new file mode 100644 index 0000000..5601fd9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/GeonBit.UI.3.1.0.4.nupkg differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/ThemeData.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/ThemeData.xml new file mode 100644 index 0000000..bc96b53 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/ThemeData.xml @@ -0,0 +1,12 @@ + + + + Clean + Ronen Ness + A simple, editor-like UI theme. + Made by Ronen Ness + 1.0.0 + + MIT + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/effects/disabled.fx b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/effects/disabled.fx new file mode 100644 index 0000000..6774d71 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/effects/disabled.fx @@ -0,0 +1,38 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + float value = (color.r + color.g + color.b) / 3; + color.r = color.g = color.b = value; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/effects/silhouette.fx b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/effects/silhouette.fx new file mode 100644 index 0000000..0bd81f3 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/effects/silhouette.fx @@ -0,0 +1,39 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + color.r = 1 * color.a * input.Color.r; + color.g = 1 * color.a * input.Color.g; + color.b = 1 * color.a * input.Color.b; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Bold.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Bold.spritefont new file mode 100644 index 0000000..1d7e133 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Bold.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Bold + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Italic.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Italic.spritefont new file mode 100644 index 0000000..a3ae047 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Italic.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Oblique + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Regular.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Regular.spritefont new file mode 100644 index 0000000..c23a0b1 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/fonts/Regular.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Roman + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Button-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBox-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/CheckBoxParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml new file mode 100644 index 0000000..ef0bb15 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-Default.xml @@ -0,0 +1,19 @@ + + + + + FFFFFFFF + FF000000 + 2 + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ColoredRectangle-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDown-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/DropDownSelectedParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-Default.xml new file mode 100644 index 0000000..01a95be --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + 00000000 + 0 + false + Regular + 00000000 + 00000000 + 0 0 + 30 30 + 0 0 + 0 8 + 1 + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Entity-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-Default.xml new file mode 100644 index 0000000..66964d4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + FF00FFFF + + + true + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Header-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/HorizontalLine-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-Default.xml new file mode 100644 index 0000000..8e7cda6 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml new file mode 100644 index 0000000..1b7450a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Icon-MouseHover.xml @@ -0,0 +1,19 @@ + + + + 1.1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-Default.xml new file mode 100644 index 0000000..4f91be3 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Image-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-Default.xml new file mode 100644 index 0000000..4743520 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-Default.xml @@ -0,0 +1,19 @@ + + + + 0.8 + FFCCCCCC + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Label-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-Default.xml new file mode 100644 index 0000000..b7a0a3f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Panel-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/PanelTabsButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-Default.xml new file mode 100644 index 0000000..b1e6116 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Paragraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-Default.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/ProgressBarFill-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/RadioButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-Default.xml new file mode 100644 index 0000000..3936669 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + 64000000 + + + 30 22 + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectList-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml new file mode 100644 index 0000000..8f99889 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml new file mode 100644 index 0000000..0e75fb7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/SelectListParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FF00FFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/Slider-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInput-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml new file mode 100644 index 0000000..10d1266 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + FF969696 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/TextInputPlaceholder-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/VerticalScrollbar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/example.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/example.xml new file mode 100644 index 0000000..30f294b --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/styles/example.xml @@ -0,0 +1,45 @@ + + + + + + 1 + + FFFFFFFF + + FF000000 + + 2 + + false + + Regular + + 00000000 + + 00000000 + + 0 0 + + 10 10 + + 0 0 + + 0 0 + + 1 + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/arrow_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/arrow_down.png new file mode 100644 index 0000000..894a698 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/arrow_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/arrow_up.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/arrow_up.png new file mode 100644 index 0000000..e07cec3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/arrow_up.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative.png new file mode 100644 index 0000000..b180090 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_down.png new file mode 100644 index 0000000..a5fb68b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_hover.png new file mode 100644 index 0000000..a7758eb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_alternative_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default.png new file mode 100644 index 0000000..727c12b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_down.png new file mode 100644 index 0000000..8ccf801 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_hover.png new file mode 100644 index 0000000..2816a0e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy.png new file mode 100644 index 0000000..90e7cc3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_down.png new file mode 100644 index 0000000..55b7dd0 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_hover.png new file mode 100644 index 0000000..fa797ca Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/button_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox.png new file mode 100644 index 0000000..7935f22 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox_down.png new file mode 100644 index 0000000..47e70d7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox_hover.png new file mode 100644 index 0000000..70fe327 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/checkbox_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_default.png new file mode 100644 index 0000000..24a73fb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_default_md.xml new file mode 100644 index 0000000..e779d69 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_default_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + 0 + 40 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam.png new file mode 100644 index 0000000..b38247a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml new file mode 100644 index 0000000..10d5e52 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_ibeam_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + -8 + 40 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_pointer.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_pointer.png new file mode 100644 index 0000000..0fb1008 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_pointer.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml new file mode 100644 index 0000000..82abccb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/cursor_pointer_md.xml @@ -0,0 +1,11 @@ + + + + + + -4 + 0 + 50 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/horizontal_line.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/horizontal_line.png new file mode 100644 index 0000000..833e087 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/horizontal_line.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Apple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Apple.png new file mode 100644 index 0000000..9069cc5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Apple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Armor.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Armor.png new file mode 100644 index 0000000..e8cff60 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Armor.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Axe.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Axe.png new file mode 100644 index 0000000..05748e2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Axe.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/BloodySword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/BloodySword.png new file mode 100644 index 0000000..abf9eed Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/BloodySword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Bone.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Bone.png new file mode 100644 index 0000000..869d817 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Bone.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Book.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Book.png new file mode 100644 index 0000000..3da1b01 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Book.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Cubes.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Cubes.png new file mode 100644 index 0000000..1e10123 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Cubes.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Diamond.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Diamond.png new file mode 100644 index 0000000..20d46ab Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Diamond.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Explanation.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Explanation.png new file mode 100644 index 0000000..0927841 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Explanation.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Feather.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Feather.png new file mode 100644 index 0000000..1ec35ae Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Feather.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png new file mode 100644 index 0000000..60f8520 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/FloppyDisk.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/GoldCoins.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/GoldCoins.png new file mode 100644 index 0000000..596e556 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/GoldCoins.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/GoldShard.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/GoldShard.png new file mode 100644 index 0000000..9d77a5c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/GoldShard.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Heart.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Heart.png new file mode 100644 index 0000000..fa0bb39 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Heart.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Helmet.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Helmet.png new file mode 100644 index 0000000..965cb60 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Helmet.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Key.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Key.png new file mode 100644 index 0000000..887a299 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Key.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/MagicBook.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/MagicBook.png new file mode 100644 index 0000000..48ca3d4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/MagicBook.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/MagicWand.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/MagicWand.png new file mode 100644 index 0000000..dbc92f4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/MagicWand.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Map.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Map.png new file mode 100644 index 0000000..b79bf46 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Map.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/None.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/None.png new file mode 100644 index 0000000..82fa43a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/None.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbBlue.png new file mode 100644 index 0000000..6262527 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbGreen.png new file mode 100644 index 0000000..0cd0fc2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbRed.png new file mode 100644 index 0000000..0efaaea Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/OrbRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Pistol.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Pistol.png new file mode 100644 index 0000000..117de9b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Pistol.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionBlue.png new file mode 100644 index 0000000..ed177e9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionCyan.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionCyan.png new file mode 100644 index 0000000..1e7597a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionCyan.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionGreen.png new file mode 100644 index 0000000..d4233d0 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionPurple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionPurple.png new file mode 100644 index 0000000..fa36c2b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionPurple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionRed.png new file mode 100644 index 0000000..776d63e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionYellow.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionYellow.png new file mode 100644 index 0000000..da55f89 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/PotionYellow.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Ring.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Ring.png new file mode 100644 index 0000000..abe924c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Ring.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingGold.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingGold.png new file mode 100644 index 0000000..1e64111 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingGold.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png new file mode 100644 index 0000000..e303fd1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingGoldRuby.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingRuby.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingRuby.png new file mode 100644 index 0000000..03cd193 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RingRuby.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyBlue.png new file mode 100644 index 0000000..69646a3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyGreen.png new file mode 100644 index 0000000..b14be2e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyPink.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyPink.png new file mode 100644 index 0000000..2d6abc5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyPink.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyPurple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyPurple.png new file mode 100644 index 0000000..066b638 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyPurple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyRed.png new file mode 100644 index 0000000..c3336c6 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/RubyRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Sack.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Sack.png new file mode 100644 index 0000000..6dbe355 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Sack.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Scroll.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Scroll.png new file mode 100644 index 0000000..1047714 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Scroll.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Shield.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Shield.png new file mode 100644 index 0000000..5cd2772 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Shield.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png new file mode 100644 index 0000000..181b7a1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ShieldAndSword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Shovel.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Shovel.png new file mode 100644 index 0000000..2443a72 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Shovel.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/SilverShard.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/SilverShard.png new file mode 100644 index 0000000..3e534e3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/SilverShard.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Skull.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Skull.png new file mode 100644 index 0000000..2d83478 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Skull.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Sword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Sword.png new file mode 100644 index 0000000..140c9c1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Sword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Trap.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Trap.png new file mode 100644 index 0000000..2033a1c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/Trap.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ZoomIn.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ZoomIn.png new file mode 100644 index 0000000..817178b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ZoomIn.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ZoomOut.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ZoomOut.png new file mode 100644 index 0000000..c6faffb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/ZoomOut.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/background.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/background.png new file mode 100644 index 0000000..a1ad1b4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/icons/background.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_default.png new file mode 100644 index 0000000..45c7f7b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_default_md.xml new file mode 100644 index 0000000..7fa94b7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_fancy.png new file mode 100644 index 0000000..87a925d Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_fancy_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_golden.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_golden.png new file mode 100644 index 0000000..b62a40e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_golden.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_golden_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_golden_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_golden_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_listbackground.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_listbackground.png new file mode 100644 index 0000000..7985ca9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_listbackground.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_listbackground_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_simple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_simple.png new file mode 100644 index 0000000..db20ae2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_simple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_simple_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_simple_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/panel_simple_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar.png new file mode 100644 index 0000000..c1ce76f Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar_fill.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar_fill.png new file mode 100644 index 0000000..afa0cd7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar_fill.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar_md.xml new file mode 100644 index 0000000..257a0a2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/progressbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.05 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio.png new file mode 100644 index 0000000..b2d08da Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio_down.png new file mode 100644 index 0000000..e3e70a4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio_hover.png new file mode 100644 index 0000000..9e24d8c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/radio_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar.png new file mode 100644 index 0000000..06835aa Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar_mark.png new file mode 100644 index 0000000..08bf871 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar_md.xml new file mode 100644 index 0000000..80c3e3d --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/scrollbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.0 + 0.14 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default.png new file mode 100644 index 0000000..dffd366 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default_mark.png new file mode 100644 index 0000000..4c8c273 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default_md.xml new file mode 100644 index 0000000..d27d99d --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.03 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy.png new file mode 100644 index 0000000..0aca549 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy_mark.png new file mode 100644 index 0000000..51e4707 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy_md.xml new file mode 100644 index 0000000..d3485b6 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/slider_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.14 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/white_texture.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/white_texture.png new file mode 100644 index 0000000..a782975 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/editor/textures/white_texture.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/ThemeData.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/ThemeData.xml new file mode 100644 index 0000000..0a9e5bd --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/ThemeData.xml @@ -0,0 +1,22 @@ + + + + Hd + Ronen Ness + A higher-res, old-school style UI theme GeonBit.UI comes with by default. + This theme is mostly based on Michele Bucelli ("Buch") works. +Sources can be found here: + +- http://opengameart.org/content/golden-ui +- http://opengameart.org/content/roguelikerpg-icons +- http://opengameart.org/content/roguelikerpg-items +- http://opengameart.org/content/arabian-icons +- http://opengameart.org/content/2d-static-spritesicons +- http://opengameart.org/content/30-ability-icons +- http://opengameart.org/content/whispers-of-avalon-item-icons + + 1.0.0 + + MIT + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/effects/disabled.fx b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/effects/disabled.fx new file mode 100644 index 0000000..6774d71 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/effects/disabled.fx @@ -0,0 +1,38 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + float value = (color.r + color.g + color.b) / 3; + color.r = color.g = color.b = value; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/effects/silhouette.fx b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/effects/silhouette.fx new file mode 100644 index 0000000..0bd81f3 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/effects/silhouette.fx @@ -0,0 +1,39 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + color.r = 1 * color.a * input.Color.r; + color.g = 1 * color.a * input.Color.g; + color.b = 1 * color.a * input.Color.b; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Bold.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Bold.spritefont new file mode 100644 index 0000000..1d7e133 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Bold.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Bold + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Italic.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Italic.spritefont new file mode 100644 index 0000000..a3ae047 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Italic.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Oblique + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Regular.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Regular.spritefont new file mode 100644 index 0000000..c23a0b1 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/fonts/Regular.spritefont @@ -0,0 +1,60 @@ + + + + + + + Bitstream Vera Sans Mono Roman + + + 16 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Button-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBox-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/CheckBoxParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml new file mode 100644 index 0000000..ef0bb15 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-Default.xml @@ -0,0 +1,19 @@ + + + + + FFFFFFFF + FF000000 + 2 + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ColoredRectangle-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDown-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/DropDownSelectedParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-Default.xml new file mode 100644 index 0000000..01a95be --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + 00000000 + 0 + false + Regular + 00000000 + 00000000 + 0 0 + 30 30 + 0 0 + 0 8 + 1 + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Entity-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-Default.xml new file mode 100644 index 0000000..2756cfc --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + FFFFFF00 + + + true + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Header-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/HorizontalLine-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-Default.xml new file mode 100644 index 0000000..8e7cda6 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml new file mode 100644 index 0000000..1b7450a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Icon-MouseHover.xml @@ -0,0 +1,19 @@ + + + + 1.1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-Default.xml new file mode 100644 index 0000000..4f91be3 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Image-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-Default.xml new file mode 100644 index 0000000..4743520 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-Default.xml @@ -0,0 +1,19 @@ + + + + 0.8 + FFCCCCCC + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Label-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-Default.xml new file mode 100644 index 0000000..b7a0a3f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + FFFFFFFF + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Panel-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/PanelTabsButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-Default.xml new file mode 100644 index 0000000..b1e6116 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Paragraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml new file mode 100644 index 0000000..9f2354a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-Default.xml @@ -0,0 +1,19 @@ + + + + + FF84CC40 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/ProgressBarFill-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/RadioButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-Default.xml new file mode 100644 index 0000000..3936669 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + 64000000 + + + 30 22 + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectList-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml new file mode 100644 index 0000000..8f99889 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml new file mode 100644 index 0000000..82c0ea4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/SelectListParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/Slider-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInput-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml new file mode 100644 index 0000000..4ab1cba --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml new file mode 100644 index 0000000..10d1266 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-Default.xml @@ -0,0 +1,19 @@ + + + + 1.15 + FF969696 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/TextInputPlaceholder-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-Default.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/VerticalScrollbar-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/example.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/example.xml new file mode 100644 index 0000000..30f294b --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/styles/example.xml @@ -0,0 +1,45 @@ + + + + + + 1 + + FFFFFFFF + + FF000000 + + 2 + + false + + Regular + + 00000000 + + 00000000 + + 0 0 + + 10 10 + + 0 0 + + 0 0 + + 1 + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/arrow_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/arrow_down.png new file mode 100644 index 0000000..4dd07bb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/arrow_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/arrow_up.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/arrow_up.png new file mode 100644 index 0000000..65a3b01 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/arrow_up.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative.png new file mode 100644 index 0000000..b2f6aa1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_down.png new file mode 100644 index 0000000..48e47dd Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_hover.png new file mode 100644 index 0000000..74e018d Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_md.xml new file mode 100644 index 0000000..be50e84 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_alternative_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default.png new file mode 100644 index 0000000..37dc988 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_down.png new file mode 100644 index 0000000..268dd99 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_hover.png new file mode 100644 index 0000000..18d81c2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy.png new file mode 100644 index 0000000..7fa0dd8 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_down.png new file mode 100644 index 0000000..8c3f37a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_hover.png new file mode 100644 index 0000000..a0f439a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_md.xml new file mode 100644 index 0000000..46b65bc --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/button_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.35 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox.png new file mode 100644 index 0000000..8bafc50 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox_down.png new file mode 100644 index 0000000..1a77817 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox_hover.png new file mode 100644 index 0000000..be740d6 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/checkbox_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_default.png new file mode 100644 index 0000000..0bc4377 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_default_md.xml new file mode 100644 index 0000000..e779d69 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_default_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + 0 + 40 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam.png new file mode 100644 index 0000000..2027785 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml new file mode 100644 index 0000000..10d5e52 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_ibeam_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + -8 + 40 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_pointer.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_pointer.png new file mode 100644 index 0000000..e62b106 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_pointer.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml new file mode 100644 index 0000000..82abccb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/cursor_pointer_md.xml @@ -0,0 +1,11 @@ + + + + + + -4 + 0 + 50 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/horizontal_line.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/horizontal_line.png new file mode 100644 index 0000000..5ae5bd1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/horizontal_line.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Apple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Apple.png new file mode 100644 index 0000000..9069cc5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Apple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Armor.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Armor.png new file mode 100644 index 0000000..e8cff60 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Armor.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Axe.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Axe.png new file mode 100644 index 0000000..05748e2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Axe.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/BloodySword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/BloodySword.png new file mode 100644 index 0000000..abf9eed Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/BloodySword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Bone.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Bone.png new file mode 100644 index 0000000..869d817 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Bone.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Book.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Book.png new file mode 100644 index 0000000..3da1b01 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Book.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Cubes.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Cubes.png new file mode 100644 index 0000000..1e10123 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Cubes.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Diamond.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Diamond.png new file mode 100644 index 0000000..20d46ab Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Diamond.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Explanation.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Explanation.png new file mode 100644 index 0000000..0927841 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Explanation.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Feather.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Feather.png new file mode 100644 index 0000000..1ec35ae Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Feather.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png new file mode 100644 index 0000000..60f8520 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/FloppyDisk.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/GoldCoins.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/GoldCoins.png new file mode 100644 index 0000000..596e556 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/GoldCoins.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/GoldShard.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/GoldShard.png new file mode 100644 index 0000000..9d77a5c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/GoldShard.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Heart.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Heart.png new file mode 100644 index 0000000..fa0bb39 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Heart.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Helmet.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Helmet.png new file mode 100644 index 0000000..965cb60 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Helmet.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Key.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Key.png new file mode 100644 index 0000000..887a299 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Key.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/MagicBook.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/MagicBook.png new file mode 100644 index 0000000..48ca3d4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/MagicBook.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/MagicWand.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/MagicWand.png new file mode 100644 index 0000000..dbc92f4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/MagicWand.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Map.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Map.png new file mode 100644 index 0000000..b79bf46 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Map.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/None.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/None.png new file mode 100644 index 0000000..82fa43a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/None.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbBlue.png new file mode 100644 index 0000000..6262527 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbGreen.png new file mode 100644 index 0000000..0cd0fc2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbRed.png new file mode 100644 index 0000000..0efaaea Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/OrbRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Pistol.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Pistol.png new file mode 100644 index 0000000..117de9b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Pistol.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionBlue.png new file mode 100644 index 0000000..ed177e9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionCyan.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionCyan.png new file mode 100644 index 0000000..1e7597a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionCyan.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionGreen.png new file mode 100644 index 0000000..d4233d0 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionPurple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionPurple.png new file mode 100644 index 0000000..fa36c2b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionPurple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionRed.png new file mode 100644 index 0000000..776d63e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionYellow.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionYellow.png new file mode 100644 index 0000000..da55f89 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/PotionYellow.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Ring.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Ring.png new file mode 100644 index 0000000..abe924c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Ring.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingGold.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingGold.png new file mode 100644 index 0000000..1e64111 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingGold.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png new file mode 100644 index 0000000..e303fd1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingGoldRuby.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingRuby.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingRuby.png new file mode 100644 index 0000000..03cd193 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RingRuby.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyBlue.png new file mode 100644 index 0000000..69646a3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyGreen.png new file mode 100644 index 0000000..b14be2e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyPink.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyPink.png new file mode 100644 index 0000000..2d6abc5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyPink.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyPurple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyPurple.png new file mode 100644 index 0000000..066b638 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyPurple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyRed.png new file mode 100644 index 0000000..c3336c6 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/RubyRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Sack.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Sack.png new file mode 100644 index 0000000..6dbe355 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Sack.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Scroll.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Scroll.png new file mode 100644 index 0000000..1047714 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Scroll.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Shield.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Shield.png new file mode 100644 index 0000000..5cd2772 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Shield.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png new file mode 100644 index 0000000..181b7a1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ShieldAndSword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Shovel.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Shovel.png new file mode 100644 index 0000000..2443a72 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Shovel.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/SilverShard.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/SilverShard.png new file mode 100644 index 0000000..3e534e3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/SilverShard.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Skull.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Skull.png new file mode 100644 index 0000000..2d83478 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Skull.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Sword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Sword.png new file mode 100644 index 0000000..140c9c1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Sword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Trap.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Trap.png new file mode 100644 index 0000000..2033a1c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/Trap.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ZoomIn.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ZoomIn.png new file mode 100644 index 0000000..817178b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ZoomIn.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ZoomOut.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ZoomOut.png new file mode 100644 index 0000000..c6faffb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/ZoomOut.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/background.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/background.png new file mode 100644 index 0000000..82b18be Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/icons/background.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_default.png new file mode 100644 index 0000000..8bc26d9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_default_md.xml new file mode 100644 index 0000000..7fa94b7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_fancy.png new file mode 100644 index 0000000..d9eedd6 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_fancy_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_golden.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_golden.png new file mode 100644 index 0000000..3057704 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_golden.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_golden_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_golden_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_golden_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_listbackground.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_listbackground.png new file mode 100644 index 0000000..02ac7de Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_listbackground.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_listbackground_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_simple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_simple.png new file mode 100644 index 0000000..1430cc7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_simple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_simple_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_simple_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/panel_simple_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar.png new file mode 100644 index 0000000..5750692 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar_fill.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar_fill.png new file mode 100644 index 0000000..79b0d81 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar_fill.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar_md.xml new file mode 100644 index 0000000..cea6983 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/progressbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.1375 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio.png new file mode 100644 index 0000000..5fe5420 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio_down.png new file mode 100644 index 0000000..85b9a83 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio_hover.png new file mode 100644 index 0000000..2e0f36f Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/radio_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar.png new file mode 100644 index 0000000..3a98a60 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar_mark.png new file mode 100644 index 0000000..fef0a10 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar_md.xml new file mode 100644 index 0000000..44688b9 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/scrollbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.0 + 0.3 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default.png new file mode 100644 index 0000000..84846e3 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default_mark.png new file mode 100644 index 0000000..23c0e81 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default_md.xml new file mode 100644 index 0000000..d27d99d --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.03 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy.png new file mode 100644 index 0000000..11a06e5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy_mark.png new file mode 100644 index 0000000..9be39ae Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy_md.xml new file mode 100644 index 0000000..cd4cc37 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/slider_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.28 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/white_texture.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/white_texture.png new file mode 100644 index 0000000..a782975 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/hd/textures/white_texture.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/ThemeData.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/ThemeData.xml new file mode 100644 index 0000000..111310d --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/ThemeData.xml @@ -0,0 +1,22 @@ + + + + LowRes + Ronen Ness + A lower-res, old-school style UI theme GeonBit.UI comes with by default. + This theme is mostly based on Michele Bucelli ("Buch") works. +Sources can be found here: + +- http://opengameart.org/content/golden-ui +- http://opengameart.org/content/roguelikerpg-icons +- http://opengameart.org/content/roguelikerpg-items +- http://opengameart.org/content/arabian-icons +- http://opengameart.org/content/2d-static-spritesicons +- http://opengameart.org/content/30-ability-icons +- http://opengameart.org/content/whispers-of-avalon-item-icons + + 1.0.0 + + MIT + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/effects/disabled.fx b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/effects/disabled.fx new file mode 100644 index 0000000..6774d71 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/effects/disabled.fx @@ -0,0 +1,38 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + float value = (color.r + color.g + color.b) / 3; + color.r = color.g = color.b = value; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/effects/silhouette.fx b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/effects/silhouette.fx new file mode 100644 index 0000000..0bd81f3 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/effects/silhouette.fx @@ -0,0 +1,39 @@ +#if OPENGL + #define SV_POSITION POSITION + #define VS_SHADERMODEL vs_3_0 + #define PS_SHADERMODEL ps_3_0 +#else + #define VS_SHADERMODEL vs_4_0_level_9_1 + #define PS_SHADERMODEL ps_4_0_level_9_1 +#endif + +Texture2D SpriteTexture; + +sampler2D SpriteTextureSampler = sampler_state +{ + Texture = ; +}; + +struct VertexShaderOutput +{ + float4 Position : SV_POSITION; + float4 Color : COLOR0; + float2 TextureCoordinates : TEXCOORD0; +}; + +float4 MainPS(VertexShaderOutput input) : COLOR +{ + float4 color = tex2D(SpriteTextureSampler,input.TextureCoordinates) * input.Color; + color.r = 1 * color.a * input.Color.r; + color.g = 1 * color.a * input.Color.g; + color.b = 1 * color.a * input.Color.b; + return color; +} + +technique SpriteDrawing +{ + pass P0 + { + PixelShader = compile PS_SHADERMODEL MainPS(); + } +}; \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Bold.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Bold.spritefont new file mode 100644 index 0000000..8a3e9d0 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Bold.spritefont @@ -0,0 +1,60 @@ + + + + + + + AnonymousPro-Bold + + + 18 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Italic.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Italic.spritefont new file mode 100644 index 0000000..9f83be2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Italic.spritefont @@ -0,0 +1,60 @@ + + + + + + + AnonymousPro-Italic + + + 18 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Regular.spritefont b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Regular.spritefont new file mode 100644 index 0000000..280145e --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/fonts/Regular.spritefont @@ -0,0 +1,60 @@ + + + + + + + AnonymousPro-Regular + + + 18 + + + 0 + + + true + + + + + + + + + + + + ~ + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-Default.xml new file mode 100644 index 0000000..7b72025 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-Default.xml @@ -0,0 +1,18 @@ + + + + 3 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Button-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml new file mode 100644 index 0000000..8436c00 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.2 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..89772b2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ButtonParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBox-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml new file mode 100644 index 0000000..fd1f840 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.15 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/CheckBoxParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml new file mode 100644 index 0000000..642517e --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-Default.xml @@ -0,0 +1,18 @@ + + + + + FFFFFFFF + FF000000 + 2 + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ColoredRectangle-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDown-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/DropDownSelectedParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-Default.xml new file mode 100644 index 0000000..01a95be --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + 00000000 + 0 + false + Regular + 00000000 + 00000000 + 0 0 + 30 30 + 0 0 + 0 8 + 1 + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Entity-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-Default.xml new file mode 100644 index 0000000..963c57c --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-Default.xml @@ -0,0 +1,18 @@ + + + + 1.2 + FFFFFF00 + + + true + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Header-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/HorizontalLine-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-Default.xml new file mode 100644 index 0000000..f335fcb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml new file mode 100644 index 0000000..3133d29 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Icon-MouseHover.xml @@ -0,0 +1,18 @@ + + + + 1.1 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-Default.xml new file mode 100644 index 0000000..b3d60ef --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Image-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-Default.xml new file mode 100644 index 0000000..85583e1 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-Default.xml @@ -0,0 +1,18 @@ + + + + 0.8 + FFCCCCCC + FF000000 + 2 + false + Regular + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Label-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-Default.xml new file mode 100644 index 0000000..17f9149 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-Default.xml @@ -0,0 +1,18 @@ + + + + 3 + FFFFFFFF + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Panel-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml new file mode 100644 index 0000000..36114eb --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-Default.xml @@ -0,0 +1,19 @@ + + + + 2.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButton-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml new file mode 100644 index 0000000..03891f2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-Default.xml @@ -0,0 +1,19 @@ + + + + 1.2 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..f2ffb41 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseDown.xml @@ -0,0 +1,19 @@ + + + + + FFAAAAAA + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..de36e6a --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/PanelTabsButtonParagraph-MouseHover.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml new file mode 100644 index 0000000..f02e8a9 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Paragraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBar-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml new file mode 100644 index 0000000..e5e4c97 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-Default.xml @@ -0,0 +1,18 @@ + + + + + FF84CC40 + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/ProgressBarFill-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButton-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/RadioButtonParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-Default.xml new file mode 100644 index 0000000..3936669 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + 64000000 + + + 30 22 + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectList-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml new file mode 100644 index 0000000..825049c --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.1 + FFFFFFFF + FF000000 + 2 + false + Regular + + + + + + + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml new file mode 100644 index 0000000..81f17a0 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/SelectListParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + FFFFFF00 + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/Slider-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInput-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml new file mode 100644 index 0000000..fd1f840 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-Default.xml @@ -0,0 +1,18 @@ + + + + 1.15 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputParagraph-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml new file mode 100644 index 0000000..9a6c33b --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-Default.xml @@ -0,0 +1,18 @@ + + + + 1.15 + FF969696 + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/TextInputPlaceholder-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-Default.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseDown.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml new file mode 100644 index 0000000..947c919 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/VerticalScrollbar-MouseHover.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/example.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/example.xml new file mode 100644 index 0000000..de39a93 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/styles/example.xml @@ -0,0 +1,45 @@ + + + + + + 1 + + FFFFFFFF + + FF000000 + + 2 + + false + + Regular + + 00000000 + + 00000000 + + 0 0 + + 10 10 + + 0 0 + + 0 0 + + 1 + + \ No newline at end of file diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/arrow_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/arrow_down.png new file mode 100644 index 0000000..18eb1d2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/arrow_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/arrow_up.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/arrow_up.png new file mode 100644 index 0000000..65a3b01 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/arrow_up.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative.png new file mode 100644 index 0000000..ac3852f Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_down.png new file mode 100644 index 0000000..ffb38dc Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_hover.png new file mode 100644 index 0000000..b6b1599 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_alternative_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default.png new file mode 100644 index 0000000..6be27e2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_down.png new file mode 100644 index 0000000..e19d19c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_hover.png new file mode 100644 index 0000000..8e74bb9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_md.xml new file mode 100644 index 0000000..50107f4 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.35 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy.png new file mode 100644 index 0000000..43efaaa Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_down.png new file mode 100644 index 0000000..4dd6a77 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_hover.png new file mode 100644 index 0000000..190e682 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_md.xml new file mode 100644 index 0000000..46b65bc --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/button_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.35 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox.png new file mode 100644 index 0000000..b336b92 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox_down.png new file mode 100644 index 0000000..8a6d45c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox_hover.png new file mode 100644 index 0000000..999937a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/checkbox_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_default.png new file mode 100644 index 0000000..0967c0d Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_default_md.xml new file mode 100644 index 0000000..88b034c --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_default_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + 0 + 80 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam.png new file mode 100644 index 0000000..b6c3033 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml new file mode 100644 index 0000000..725450d --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_ibeam_md.xml @@ -0,0 +1,11 @@ + + + + + + 0 + -6 + 70 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer.png new file mode 100644 index 0000000..8493b97 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml new file mode 100644 index 0000000..fd0c53b --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/cursor_pointer_md.xml @@ -0,0 +1,11 @@ + + + + + + -3 + 0 + 70 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/dot.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/dot.png new file mode 100644 index 0000000..d25727b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/dot.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/horizontal_line.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/horizontal_line.png new file mode 100644 index 0000000..5ae5bd1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/horizontal_line.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Apple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Apple.png new file mode 100644 index 0000000..9069cc5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Apple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Armor.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Armor.png new file mode 100644 index 0000000..a68d969 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Armor.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Axe.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Axe.png new file mode 100644 index 0000000..e000b5e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Axe.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/BloodySword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/BloodySword.png new file mode 100644 index 0000000..f424522 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/BloodySword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Bone.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Bone.png new file mode 100644 index 0000000..832ee19 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Bone.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Book.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Book.png new file mode 100644 index 0000000..7ecb384 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Book.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Cubes.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Cubes.png new file mode 100644 index 0000000..7ad8e45 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Cubes.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Diamond.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Diamond.png new file mode 100644 index 0000000..19770b7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Diamond.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Explanation.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Explanation.png new file mode 100644 index 0000000..0927841 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Explanation.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Feather.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Feather.png new file mode 100644 index 0000000..f6d7277 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Feather.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png new file mode 100644 index 0000000..f742be7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/FloppyDisk.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png new file mode 100644 index 0000000..aa39013 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/GoldCoins.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/GoldShard.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/GoldShard.png new file mode 100644 index 0000000..33f77b2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/GoldShard.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Heart.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Heart.png new file mode 100644 index 0000000..6192000 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Heart.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Helmet.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Helmet.png new file mode 100644 index 0000000..573efeb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Helmet.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Key.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Key.png new file mode 100644 index 0000000..13cf4c4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Key.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/MagicBook.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/MagicBook.png new file mode 100644 index 0000000..0da7131 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/MagicBook.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/MagicWand.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/MagicWand.png new file mode 100644 index 0000000..a3f9b11 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/MagicWand.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Map.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Map.png new file mode 100644 index 0000000..8994325 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Map.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/None.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/None.png new file mode 100644 index 0000000..82fa43a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/None.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png new file mode 100644 index 0000000..c748d3e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png new file mode 100644 index 0000000..7237b2c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbRed.png new file mode 100644 index 0000000..d13a47d Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/OrbRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Pistol.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Pistol.png new file mode 100644 index 0000000..5c4d86e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Pistol.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png new file mode 100644 index 0000000..8a427c2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png new file mode 100644 index 0000000..3a063a2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionCyan.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png new file mode 100644 index 0000000..d6b494e Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png new file mode 100644 index 0000000..4fd7c7c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionPurple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionRed.png new file mode 100644 index 0000000..87355bb Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png new file mode 100644 index 0000000..99b9526 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/PotionYellow.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Ring.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Ring.png new file mode 100644 index 0000000..3efec21 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Ring.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingGold.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingGold.png new file mode 100644 index 0000000..6e1e00a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingGold.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png new file mode 100644 index 0000000..1690788 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingGoldRuby.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingRuby.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingRuby.png new file mode 100644 index 0000000..a2092d7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RingRuby.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png new file mode 100644 index 0000000..bdbb52f Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyBlue.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png new file mode 100644 index 0000000..be78368 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyGreen.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPink.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPink.png new file mode 100644 index 0000000..55d9cc7 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPink.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png new file mode 100644 index 0000000..28c4356 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyPurple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyRed.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyRed.png new file mode 100644 index 0000000..d4522ac Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/RubyRed.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Sack.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Sack.png new file mode 100644 index 0000000..8c969c9 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Sack.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Scroll.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Scroll.png new file mode 100644 index 0000000..e09f934 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Scroll.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Shield.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Shield.png new file mode 100644 index 0000000..9c82d37 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Shield.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png new file mode 100644 index 0000000..14f255b Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ShieldAndSword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Shovel.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Shovel.png new file mode 100644 index 0000000..42ef8c4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Shovel.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/SilverShard.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/SilverShard.png new file mode 100644 index 0000000..f644926 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/SilverShard.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Skull.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Skull.png new file mode 100644 index 0000000..5d59ef8 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Skull.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Sword.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Sword.png new file mode 100644 index 0000000..17e360c Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Sword.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Trap.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Trap.png new file mode 100644 index 0000000..6483af4 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/Trap.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png new file mode 100644 index 0000000..c32c4e6 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomIn.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png new file mode 100644 index 0000000..a0b7eba Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/ZoomOut.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/background.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/background.png new file mode 100644 index 0000000..f42eaf6 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/icons/background.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_default.png new file mode 100644 index 0000000..32d10df Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_default_md.xml new file mode 100644 index 0000000..7fa94b7 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_fancy.png new file mode 100644 index 0000000..3fb340a Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_golden.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_golden.png new file mode 100644 index 0000000..d7aabdc Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_golden.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_golden_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_golden_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_golden_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground.png new file mode 100644 index 0000000..d02d359 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_listbackground_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_simple.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_simple.png new file mode 100644 index 0000000..704e268 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_simple.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_simple_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_simple_md.xml new file mode 100644 index 0000000..2b3fc1f --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/panel_simple_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.2 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar.png new file mode 100644 index 0000000..e206008 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar_fill.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar_fill.png new file mode 100644 index 0000000..7739653 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar_fill.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar_md.xml new file mode 100644 index 0000000..ff3521d --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/progressbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.3235 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio.png new file mode 100644 index 0000000..1e8514f Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio_down.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio_down.png new file mode 100644 index 0000000..94571f1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio_down.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio_hover.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio_hover.png new file mode 100644 index 0000000..1e8d7db Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/radio_hover.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar.png new file mode 100644 index 0000000..65b4cc2 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar_mark.png new file mode 100644 index 0000000..80dd9b1 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar_md.xml new file mode 100644 index 0000000..44688b9 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/scrollbar_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.0 + 0.3 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default.png new file mode 100644 index 0000000..4b0110f Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default_mark.png new file mode 100644 index 0000000..51c7c21 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default_md.xml new file mode 100644 index 0000000..e432ee2 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_default_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.2 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy.png new file mode 100644 index 0000000..18f4c34 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png new file mode 100644 index 0000000..85a2898 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_mark.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml new file mode 100644 index 0000000..465cd19 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/slider_fancy_md.xml @@ -0,0 +1,10 @@ + + + + + + 0.3 + 0.0 + + + diff --git a/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/white_texture.png b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/white_texture.png new file mode 100644 index 0000000..a782975 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/content/Content/GeonBit.UI/themes/lowres/textures/white_texture.png differ diff --git a/packages/GeonBit.UI.3.1.0.4/lib/geonbitui/DataTypes.dll b/packages/GeonBit.UI.3.1.0.4/lib/geonbitui/DataTypes.dll new file mode 100644 index 0000000..a173ec5 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/lib/geonbitui/DataTypes.dll differ diff --git a/packages/GeonBit.UI.3.1.0.4/lib/geonbitui/GeonBit.UI.dll b/packages/GeonBit.UI.3.1.0.4/lib/geonbitui/GeonBit.UI.dll new file mode 100644 index 0000000..b5ea379 Binary files /dev/null and b/packages/GeonBit.UI.3.1.0.4/lib/geonbitui/GeonBit.UI.dll differ diff --git a/packages/GeonBit.UI.3.1.0.4/readme.txt b/packages/GeonBit.UI.3.1.0.4/readme.txt new file mode 100644 index 0000000..4058039 --- /dev/null +++ b/packages/GeonBit.UI.3.1.0.4/readme.txt @@ -0,0 +1,15 @@ +Thank you for using GeonBit.UI! +If its first installation and not an update, note that you still need to add the built-in themes to your Content Manager. To see instructions and additional data please visit the git readme: + +https://github.com/RonenNess/GeonBit.UI/blob/master/README.md#install + +To see full documentation online, please visit: +https://ronenness.github.io/GeonBit.UI-docs/html/R_Project_Documentation.htm + +Important note: +If you migrate from 2X to 3X, please note that GeonBit.UI switched to using MonoGame 3.6. +In addition, the UserInterface manager is now accessed via UserInterface.Active (and can be replaced). For more info, please see the migration instructions: +https://github.com/RonenNess/GeonBit.UI/blob/master/README.md#migration + +Thanks! +- Ronen Ness \ No newline at end of file