My question to you is... How did you open the files and get the pixelbox references?
I have not been able to get the pixel references that you have in your post. Perhaps I have just missed a step or something. Any response is greatly appreciated.
The Pixel references you get from Photoshop or whatever you use. For Photoshop:
-Go to View, Click Rulers.
-Right Click on rulers and select pixels.
-The Ruler measurements will now be in pixels.
-The first two numbers in the [ 1 , 2 , 3 , 4 ] format reference the
top left hand corner of the area for the image you are using.
-1 =How far down it is. (You'll use the vertical ruler)
-2 =How far from the left hand edge the corner is. (Horizontal Ruler)
The Last two numbers reference the area of the box that will go around the image. Everything that is included in the area of that box will be used.
-3 =The width of the box around the image.
-4 =The length of the box mentioned above. (Vertical Ruler)
I hope this helps. I don't actually mess with texture files other than to get the pixel references. Someone else puts the images into the texture file and I go get them and put them in game.
Also, in case you didn't figure this out yourself. It is a good idea to put the image in the same place for the 5 different texture files. (Normal, pressed, cursor over, disabled, focused) Then all you have to do is copy the Pixel Reference from the first line to the other four.
-derbal213