diff --git a/NBTExplorerMac/Mac/EditValue.cs b/NBTExplorerMac/Mac/EditValue.cs new file mode 100644 index 0000000..b5d18a8 --- /dev/null +++ b/NBTExplorerMac/Mac/EditValue.cs @@ -0,0 +1,35 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using MonoMac.Foundation; +using MonoMac.AppKit; + +namespace NBTExplorer.Mac +{ + public partial class EditValue : MonoMac.AppKit.NSWindow + { + #region Constructors + + // Called when created from unmanaged code + public EditValue (IntPtr handle) : base (handle) + { + Initialize (); + } + + // Called when created directly from a XIB file + [Export ("initWithCoder:")] + public EditValue (NSCoder coder) : base (coder) + { + Initialize (); + } + + // Shared initialization code + void Initialize () + { + } + + #endregion + } +} + diff --git a/NBTExplorerMac/Mac/EditValue.designer.cs b/NBTExplorerMac/Mac/EditValue.designer.cs new file mode 100644 index 0000000..e01d07f --- /dev/null +++ b/NBTExplorerMac/Mac/EditValue.designer.cs @@ -0,0 +1,12 @@ + +namespace NBTExplorer.Mac +{ + + // Should subclass MonoMac.AppKit.NSWindow + [MonoMac.Foundation.Register("EditValue")] + public partial class EditValue + { + } +} + + diff --git a/NBTExplorerMac/Mac/EditValue.xib b/NBTExplorerMac/Mac/EditValue.xib new file mode 100644 index 0000000..7f6e694 --- /dev/null +++ b/NBTExplorerMac/Mac/EditValue.xib @@ -0,0 +1,173 @@ + + + + 1060 + 10D573 + 762 + 1038.29 + 460.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 762 + + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + EditValue + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{131, 86}, {602, 342}} + 611844096 + Window + EditValue + + {1.79769e+308, 1.79769e+308} + + + 256 + {602, 342} + + + {{0, 0}, {1280, 778}} + {1.79769e+308, 1.79769e+308} + + + + + YES + + + + YES + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 2.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{361, 348}, {602, 342}} + com.apple.InterfaceBuilder.CocoaPlugin + {{361, 348}, {602, 342}} + + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + YES + + + + + YES + + + YES + + + + 2 + + + + YES + + EditValue + NSWindow + + IBUserSource + + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + + 3 + + diff --git a/NBTExplorerMac/Mac/Scratch.cs b/NBTExplorerMac/Mac/Scratch.cs new file mode 100644 index 0000000..da6aa8c --- /dev/null +++ b/NBTExplorerMac/Mac/Scratch.cs @@ -0,0 +1,12 @@ +using System; + +namespace NBTExplorer.Mac +{ + public class Scratch + { + public Scratch () + { + } + } +} + diff --git a/NBTExplorerMac/Resources/block.png b/NBTExplorerMac/Resources/block.png new file mode 100644 index 0000000..ed7ec0e Binary files /dev/null and b/NBTExplorerMac/Resources/block.png differ diff --git a/NBTExplorerMac/Resources/box.png b/NBTExplorerMac/Resources/box.png new file mode 100644 index 0000000..3ec0ceb Binary files /dev/null and b/NBTExplorerMac/Resources/box.png differ diff --git a/NBTExplorerMac/Resources/document-attribute-d.png b/NBTExplorerMac/Resources/document-attribute-d.png new file mode 100644 index 0000000..0328dcc Binary files /dev/null and b/NBTExplorerMac/Resources/document-attribute-d.png differ diff --git a/NBTExplorerMac/Resources/document-attribute-f.png b/NBTExplorerMac/Resources/document-attribute-f.png new file mode 100644 index 0000000..7918504 Binary files /dev/null and b/NBTExplorerMac/Resources/document-attribute-f.png differ diff --git a/NBTExplorerMac/Resources/document-attribute-l.png b/NBTExplorerMac/Resources/document-attribute-l.png new file mode 100644 index 0000000..b3f5798 Binary files /dev/null and b/NBTExplorerMac/Resources/document-attribute-l.png differ diff --git a/NBTExplorerMac/Resources/document-attribute-s.png b/NBTExplorerMac/Resources/document-attribute-s.png new file mode 100644 index 0000000..20dfae0 Binary files /dev/null and b/NBTExplorerMac/Resources/document-attribute-s.png differ diff --git a/NBTExplorerMac/Resources/edit-list.png b/NBTExplorerMac/Resources/edit-list.png new file mode 100644 index 0000000..2ad2087 Binary files /dev/null and b/NBTExplorerMac/Resources/edit-list.png differ diff --git a/NBTExplorerMac/Resources/edit-small-caps.png b/NBTExplorerMac/Resources/edit-small-caps.png new file mode 100644 index 0000000..af6ee6e Binary files /dev/null and b/NBTExplorerMac/Resources/edit-small-caps.png differ diff --git a/NBTExplorerMac/Resources/wooden-box.png b/NBTExplorerMac/Resources/wooden-box.png new file mode 100644 index 0000000..f64d761 Binary files /dev/null and b/NBTExplorerMac/Resources/wooden-box.png differ