Software Support > DOS/WinCab

rotated skin and MSG_ image

(1/3) > >>

dibb1er:
I have added a notification on my wincab skin for MSG_SKIPLASTOK (see below)
problem is, it displays ok on a non-rotated skin, but if i set it to rotate either left or right, then the image is reduced or something.
is this because of the format of the original image? ive tried using jpg and bmp, but no luck, still get the same result.

I have attached the actual image i am using, plus what it should (sort of) look like, and what it looks like when rotated.

 :banghead: 


oh, and is there a MSG_QUEUEFULL or equivalent?

Chris:

--- Quote from: dibb1er on April 21, 2007, 10:08:55 pm ---I have added a notification on my wincab skin for MSG_SKIPLASTOK (see below)
problem is, it displays ok on a non-rotated skin, but if i set it to rotate either left or right, then the image is reduced or something.
is this because of the format of the original image? ive tried using jpg and bmp, but no luck, still get the same result.

I have attached the actual image i am using, plus what it should (sort of) look like, and what it looks like when rotated.

 :banghead: 

--- End quote ---
This is because when rotated the display needs to adjust for the aspect ratio change and the target image shrinks.  What you can do is temporarily change this graphic to a white rectangle, then rotate the display, then take a screenshot with the display rotated.  Load the screenshot into your editor and crop to the white rectangle, rotate to horizontal, and re-create your image.  Do NOT tinker with the icon dimensions in the skin!  The image should come out the way you want it.

As far as MSG_QUEUEFULL, no I don't have that; I'll have to add it.  If you try to add a song to a full queue it triggers MSG_INVALID, but that message is triggered for any entry problem so it's probably not what you want.

--Chris

Chris:

--- Quote from: Chris on April 22, 2007, 03:26:11 pm ---As far as MSG_QUEUEFULL, no I don't have that; I'll have to add it.  If you try to add a song to a full queue it triggers MSG_INVALID, but that message is triggered for any entry problem so it's probably not what you want.

--- End quote ---

MSG_QUEUEFULL is in place for the next release.

dibb1er:
the MSG_INVALID will work for me (until the next release anyway)  ;D  ;D


thanks for the info Chris, i will try the image stuff now.

dibb1er:

--- Quote from: Chris on April 22, 2007, 03:26:11 pm ---
This is because when rotated the display needs to adjust for the aspect ratio change and the target image shrinks.  What you can do is temporarily change this graphic to a white rectangle, then rotate the display, then take a screenshot with the display rotated.  Load the screenshot into your editor and crop to the white rectangle, rotate to horizontal, and re-create your image.  Do NOT tinker with the icon dimensions in the skin!  The image should come out the way you want it.

--- End quote ---

hmm.. nope... didnt seem to work...
i followed the instructions above, but still the same result  ???
i will have a few more goes at it, and see what i come up with.

i was thinking of just turning the skin over on its side, set rotation to zero, and doing it that way, then remembered that all the text displays will be stuffed up.... D'OH! ...    :dizzy:

Navigation

[0] Message Index

[#] Next page

Go to full version