You have to save your files in particular sizes, otherwise they will be green. I can't seem to find the page on wowpedia.com anymore. try resizing all of your images to 256 x 256 or 512 x 512, in pixels. if you need the images to be rectangles, 256 x 512
Before upgrading to Mavericks, I was able to use the following command line to zip any file and remove all the mac specifics files from the final compressed file as well: ( zip -r "/FileNameHere" "/FileNameHere" -x \*.DS_Store ) Now it tells me:
zip I/O error: Permission denied
zip error: Could not create output file (/untitled.zip)
How do I do this in Mavericks??
p.s. I hope I'm making sense.. I'm too tired to tell right now.
Actually, all of the code I have posted so far is mostly copied directly from my addon. And I honestly thought I had narrowed the issue down to removing the space, and that I didn't need to post much code. Which is why I had already said "Nevermind I are dumb.."
Anyways, thank you for telling me about the /n escape.
I've tried using string.gsub(text, "( )", "") and several other methods to remove a space from the front of a sting, but everything I've tried will not only remove the first space, but also any "W" from the start of the string. So string.gsub(" WorldFrame", "( )", "") comes out as "orldFrame". Any help would be appreciated.
Recently I decided to build my own variation on bar snapping. After several days of work, I have a pretty strong bar snapping module. If you are not sure what bar snapping is then, here goes:
We collect the coordinants for all of frame's points (TopLeft, BottomRight, etc). After that,
we compare those points to all of the other Magnets enabled frame's points to detect if two points are close enough to snap together. When docking frames together, only certain points can snap to each other. So, for example, the TopRight of the frame can only snap to the TopLeft of another frame. A frame may also dock to corners and middle points of edges of the screen.
My thought is that I could get a few people to look over my code to check for performance issues or other random bits of concern. Here's a link: Magnets
Thanks to anyone who cares to take a look and let me know what they think!