Hey guys, I am creating a new skin, everything is going great except one part is driving me INSANE.
Is there an easier way to show the positions (X,Y) of XBMC on screen? so I dont have to guess where every element should be, restart the skin and try again.
There has to be a better way of positioning items then what I am doing, right?
s3ood
Junior Member Posts: 6 Joined: Sep 2008 Reputation: 0 |
2008-09-25 23:45
Post: #1
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,520 Joined: Oct 2003 Reputation: 138 |
2008-09-26 01:05
Post: #2
Most people tend to mock something up in a graphics package, then just read the coordinates off there.
I guess we could add a "debugging" method where we allow the coordinates of the mouse to be output to the screen - would that be useful? Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2008-09-26 01:39
Post: #3
I use a calculator to figure out 80% of mine and the rest is trial and error
Skins I have done.... ![]() And others in the past... Want to know what I'm working on currently? Check me out on Google+ |
| find quote |
Freddo
Skilled Skinner Joined: Apr 2004 Reputation: 13 |
2008-09-26 02:17
Post: #4
Same, although I was thinking of making a grid overlay that I could add to windows while i work on them to help me align things, I just haven't really needed one badly enough yet. Might work for you though.
|
| find quote |
s3ood
Junior Member Posts: 6 Joined: Sep 2008 Reputation: 0 |
2008-09-26 03:37
Post: #5
jmarshel: thats exactly what I did, but it sometimes becomes pretty tricky, even more tricky when you use items that are in a group. I am not sure how the debug feature would work but anything will be useful.
Jezz: Which calculator? can you recommend one that has X, Y positions Freddo: first of all I just wanted to say SUI friggin rocks! I kinda feel stupid for asking but umm .. if i created overlays .. how would that help me calculate the coordinates .. what tool do I use? Off topic question: is there a way to disable image scaling? I noticed this happens when changing resolutions .. would be helpful for some items as well. |
| find quote |
Freddo
Skilled Skinner Joined: Apr 2004 Reputation: 13 |
2008-09-26 17:03
Post: #6
Well you could make a grid that had a line say every 10 pixels, then add it to the window while your working on it at the very bottom of the xml (so appearing ontop of everything else) then you could count the lines to work out positions roughly.
btw: i think jezzx just meant a calculator like.. any old calculator, personally I use good old trusty windows calc. |
| find quote |
xboxbox451
Junior Member Posts: 36 Joined: Aug 2005 Reputation: 0 |
2008-09-30 07:43
Post: #7
Not sure if this will help, but I posted an image below that I put together back in '05 (a time when I was addicted to customizing PM3
). I used it to give me an idea of how to position whatever I was adding, then I basically calculated the exact position from my estimated point.You'll notice an X at various positions on the PM3 screenshot, which I added to the home.xml to get the real coordinates of each position, then I just took a screenshot in XBMC and photoshopped in some lines and the coordinates to give me a grid like view. Not quite sure of the accuracy, so you may just want to test it out and see if it helps.
|
| find quote |
CHI3f
Team-XBMC Skinner Joined: Jan 2007 Reputation: 0 Location: New Jersey, USA |
2008-10-01 17:55
Post: #8
I have made a file that may help with your predicament. When you follow the included instructions it will place a grid that maps out every 10 pixels in the window. I even made it very simple to control the color of the lines, instructions for that are also included in the ReadMe.txt.
Here are the files |
| find quote |
Freddo
Skilled Skinner Joined: Apr 2004 Reputation: 13 |
2008-10-01 21:13
Post: #9
if that grid was rolled into the "empty" skin the combination would be amazingly useful for novice skinners. http://forum.xbmc.org/showthread.php?tid=29743
|
| find quote |
timdog82001
Posting Freak Posts: 1,132 Joined: Mar 2006 Reputation: 0 |
2008-12-20 12:32
Post: #10
Great idea, chi3f. I just modified that grid for 720p for anyone who wants it. Right click download, and follow the instructions from chief's post 2 posts above, except put it in the 720p folder, and change the includes entry to link to 720pGrid.xml instead of Grid.xml
http://www.fileden.com/files/2007/3/20/9...0pGrid.xml |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
). I used it to give me an idea of how to position whatever I was adding, then I basically calculated the exact position from my estimated point.
Search
Help