From a2571f79a8a4c891f17421f32f97ac5b8d4d0ee5 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sun, 4 Nov 2012 23:12:15 -0500 Subject: [PATCH] Resources, etc. --- NBTExplorerMac/Mac/EditValue.cs | 35 ++++ NBTExplorerMac/Mac/EditValue.designer.cs | 12 ++ NBTExplorerMac/Mac/EditValue.xib | 173 ++++++++++++++++++ NBTExplorerMac/Mac/Scratch.cs | 12 ++ NBTExplorerMac/Resources/block.png | Bin 0 -> 630 bytes NBTExplorerMac/Resources/box.png | Bin 0 -> 508 bytes .../Resources/document-attribute-d.png | Bin 0 -> 593 bytes .../Resources/document-attribute-f.png | Bin 0 -> 566 bytes .../Resources/document-attribute-l.png | Bin 0 -> 556 bytes .../Resources/document-attribute-s.png | Bin 0 -> 592 bytes NBTExplorerMac/Resources/edit-list.png | Bin 0 -> 300 bytes NBTExplorerMac/Resources/edit-small-caps.png | Bin 0 -> 305 bytes NBTExplorerMac/Resources/wooden-box.png | Bin 0 -> 438 bytes 13 files changed, 232 insertions(+) create mode 100644 NBTExplorerMac/Mac/EditValue.cs create mode 100644 NBTExplorerMac/Mac/EditValue.designer.cs create mode 100644 NBTExplorerMac/Mac/EditValue.xib create mode 100644 NBTExplorerMac/Mac/Scratch.cs create mode 100644 NBTExplorerMac/Resources/block.png create mode 100644 NBTExplorerMac/Resources/box.png create mode 100644 NBTExplorerMac/Resources/document-attribute-d.png create mode 100644 NBTExplorerMac/Resources/document-attribute-f.png create mode 100644 NBTExplorerMac/Resources/document-attribute-l.png create mode 100644 NBTExplorerMac/Resources/document-attribute-s.png create mode 100644 NBTExplorerMac/Resources/edit-list.png create mode 100644 NBTExplorerMac/Resources/edit-small-caps.png create mode 100644 NBTExplorerMac/Resources/wooden-box.png 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 0000000000000000000000000000000000000000..ed7ec0e972ed69b08a7c4cf5f2b38111b987d97b GIT binary patch literal 630 zcmV-+0*U>JP)IGgPFXOrD-o74|)X8xN$Z)e`jD$1E_z}f2vLQyVJ`w-o63qrgMvNyAEi*rvF@JW%O$Q==CyW`|5ODT(#XD4eHr-sJMmx8K%KyURF9~R&+wenvFa$R8m@07*qoM6N<$g6cUWI{*Lx literal 0 HcmV?d00001 diff --git a/NBTExplorerMac/Resources/box.png b/NBTExplorerMac/Resources/box.png new file mode 100644 index 0000000000000000000000000000000000000000..3ec0ceb131c142d2e006f70e43bd5b508f2cee7c GIT binary patch literal 508 zcmVP|iEc%f5FWgF>(Zfqi$5Vcbm`K~b3})vLqDKPV7Q$ULSiAsUDuhN=FPV2DhP=W z9&g^v_r3S#%{(H6fJKBhFJj6PfJ5<;NeyuJJRY&~Kije7u|fNf(fmyHsV$z-VUczhxlVv&Pf>fw%n z{L*S>)3)s~$S}gS>$>1LPUs_+OO9MVQ0}Rc3)%gHG|}`Bv=a$tSr)7pi=i((o_@Q( zE~w^lRRZWE+tJ*?AOxAF8LlyVzuO&GkVxRwbw7aLGo3RAs8PYpsZlf+tuIexI y4AF-L9puUxf)%OD*oQd>5ijqMMaTJ9fB^ujG631qAj#JN0000RuObniLuocpA`FBZX}Y1%q1v-o#>S4y3z;SgaM;@8m;Ox|$NI=5dc zRXi&CoJwIxwWw~}Huet=KJrBBIM}OJQCM2~v|FuiQe{gBR7{{VSQi@HBPkRL zVkeWy;G1o?#tMR@f&{@sB&X?4}6sczuFi27G2!YIilZVx(Yh<$2%Z%)U zOApqx1%ng@w=B?|-%}6~P;=+!AK5?2T2d1WzW;~?RzP5-LJS52{Mh&+h4~MQuyScA zs%bLIgoXCS1tw=^Zr#H3*IDGhz7qi3Q9`PsQ^pp$%_j7d!$Uad=lt86qd`bhL>9fX zo#;FFGKR4%C4E+_<=U;5m6+xjz(eCSY5JyV$}Mm&V;IY)rYUoO8;z@}<>hVsN2p%! fiZMKnYXJrTqACwk=)9|800000NkvXXu0mjf*{%vJ literal 0 HcmV?d00001 diff --git a/NBTExplorerMac/Resources/document-attribute-f.png b/NBTExplorerMac/Resources/document-attribute-f.png new file mode 100644 index 0000000000000000000000000000000000000000..7918504867e14c901d9a4bb12baa0e65d3b0fef4 GIT binary patch literal 566 zcmV-60?GY}P)|l& zjM7VgfOOc-;-x>rQ-|(pNJQrd@+^4k+98BM@ZfQ86$u?OLP3a#D*K4m|S;$bzo_Vu2LkMj{!FM)*9z?ujjv_tIgZQ>(#7ATW0ebXxr3h>!d! zJ4mQ*S?D(!AXbV+XjZHAY-O_%e3M0Htx1XXpY{@luq4I(Q7#8Nt(MEtO&dT>qm;3M zvMlpkpuL14ES>7c41U$?ZBI0M4gUx>7_pS1wMZJOBUy07*qoM6N<$ Eg4itp1poj5 literal 0 HcmV?d00001 diff --git a/NBTExplorerMac/Resources/document-attribute-l.png b/NBTExplorerMac/Resources/document-attribute-l.png new file mode 100644 index 0000000000000000000000000000000000000000..b3f579800b426808852feef725d9c02a5f563d5d GIT binary patch literal 556 zcmV+{0@MA8P)|1mo^t2giX#*gFQO z1^*^YGZgK*cBaa)7z=ik-(Gw@ZC5#E01PHvCj39(2IV`=?Yr_sanM)*SMoKa#1OZOE zp#l*oU=rK5y^qtLn4B3SLJy)NaI^M-Uk1EJm=^cMWO6q$g2c|_3Y14cY+BqCJ%Z!> zsz7K3-mSyokdCe%bzy&Jm2z7v6Pen}$O!Fvo#q!8r?#M&|L$)G-_Z*Uu#l2`t5(zPR%0000Phe*98OU8;H=jYb3K*(^-naM1d3Z*_I| ziHa_#Qm9icsN1%Uy-a42@1nfmZ=WY8p);GGnqrXaNtnu-kAF0$bRn~<-g# z_`o;W8_xuKXdyz-R6rzua%oJAEugzI4n^LTKTd-bd2bL%52O$DGSp|`FbS3P>uGq>na`zxyqP#OQpp zxtjDcV&UQD2Aw@UFQ&kLlV6r(ZTS9`KSHht7Am*5&@T@U;pB4s+nRnOkT5&^4AzxO3I&-RKecWGc?W{BW)+G4z8+8UtG7(8A5T-G@yGywpLievWx literal 0 HcmV?d00001 diff --git a/NBTExplorerMac/Resources/edit-small-caps.png b/NBTExplorerMac/Resources/edit-small-caps.png new file mode 100644 index 0000000000000000000000000000000000000000..af6ee6e428cedccbf706dded6b641130df546a47 GIT binary patch literal 305 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5XE_=E-hE&{2`t$$4J+o>|ymvHa#HM(eKQ=@pw{$oxuObOA>4vj34tAp0PhV z?x4dh>dYqQaEIZ@L<7dOB@R7|N$d*W*piYb$e7spIX<1*Xd$Y_KWR7Xk^UJIf)+^& z9B1BWDk9(7rPzL+P2pVgshLe*ntUEHJW36SHeE0&%pr#J$fJO7>I!|$yE4=T+!+cv z1m>ruhdUC99uYlCIb@>!ivoI&!PC{xWt~$(69A}t BaAE)e literal 0 HcmV?d00001 diff --git a/NBTExplorerMac/Resources/wooden-box.png b/NBTExplorerMac/Resources/wooden-box.png new file mode 100644 index 0000000000000000000000000000000000000000..f64d761057b2974c83f5397ab7efe7ab6cf266a3 GIT binary patch literal 438 zcmV;n0ZIOeP)#IuZcReB=y0~;oh8c zIrqNAcsjRX7#IRLLG$wtZsQpwsDK zHk)n5!C;^pQKuUSpp^I-Z(EtDd07*qoM6N<$g5U4VB>(^b literal 0 HcmV?d00001