INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: DWAnderson on April 15, 2005, 10:13:07 am
-
Is there any documentation for how to modify Theaterview skins or that would help explain what various parts of the XML are doing? If not here, elsewhere?
-
There are no formal documents, but hopefully most things are fairly obvious if you twiddle with them a bit.
-
For some that's true, but maybe you an save us some time. Here are a few specific questions:
What are the four parameters for Position Rect?
What does NoListRect mean?
What does this code in BUTTONS mean: Columns="36,?-Flex,36" Rows="10,?-Flex,10" InternalMargins="10,4,10,8"?
What does the Alpha parameter in PICTURE mean?
What does the Alignment parameter in PICTURE mean?
Do the PNG files used as bitmaps scale automatically?
In the TEXT section, what does the following code mean: Item Text="[Location]" Location="***"?
Thanks.
-
The question to start with really being: Where do I find these Theaterview xml files ?
-
The rectangles are % of the screen for beginning and end, both horizontally and vertically.
-
The question to start with really being: Where do I find these Theaterview xml files ?
For Hairstyle main.xml is in C:\Program Files\J River\Media Center 11\FullSkins\Hairstyle on my machine.
-
I'm still interested in the answers to my questions above, as well as one other: Is there any way to change the alignment of the Home menu so it is not centered?
For the benefit of others, here is what I have determined from playing around:
-- Background.png is the background (that was pretty easy)
-- \Buttons\Button.PNG is the mask that gets applied to buttons (which are on the lefthand side of the screen) when de-delected or selected, respectively. There are three pairs in a row in this file, but I haven't determined what parts of Theaterview each of the three pairs corresponds to.
-- \List\ListBackground.PNG is the mask that gets applied to list items (which are on the righthand side of the screen) when de-delected or selected, respectively. These apply when in list mode, as distinct from thumbnail mode.
-- \Menu\MenuItem.PNG is the mask that gets applied to popup list items.
-
Hi, after spending hours myself creating a Theatre View skin that I liked, I worked out some of the code. I've answered your questions that I [think] I know the answer to...
What are the four parameters for Position Rect?
This is the location of the menu buttons shown when not looking at the "home" menu. The numbers define a rectangle that the buttons fill, and are screen percentages X1,Y1,X2,Y2 (X1,Y1 being the co-ordinates of the top left corner, X2,Y2 being the bottom right corner.)
What does NoListRect mean?
Defines the "home" menu position.
What does this code in BUTTONS mean: Columns="36,?-Flex,36" Rows="10,?-Flex,10" InternalMargins="10,4,10,8"?
This defines how the button images are used to draw the buttons. Columns="36,?-Flex,36" means "use the first 36 pixels of the image to draw the left edge of the button, the last 36 pixels to draw the right edge of the button and stretch the rest of the image to fill the button as required (that's the ?-Flex bit)". Rows= is the same for the top and bottom edges. InternalMargins= defines the margins for the button text, in percentages.
What does the Alpha parameter in PICTURE mean?
Don't know
What does the Alignment parameter in PICTURE mean?
Don't know (but I'd guess it would define the vertical alignment of the image)
Do the PNG files used as bitmaps scale automatically?
See the explanation above about ?-Flex
In the TEXT section, what does the following code mean: Item Text="[Location]" Location="***"?
This is the location text (at the top of the screen normally), but I don't know what Location="***" means.
Is there any way to change the alignment of the Home menu so it is not centered?
Change NoListRect= in <buttons> to alter the Home menu location. You can also change the vertical justification by altering NoListAlignment=
Hope the above helps you out!
EW
-
Thanks. That is VERY helpful!
Any idea how I can change the alignnment of the text in the home buttons so that the text WITHIN the button is aligned with the left margin of the button rather than centered?
-
Any idea how I can change the alignnment of the text in the home buttons so that the text WITHIN the button is aligned with the left margin of the button rather than centered?
Nope, sorry - don't know. That's not to say it's not possible though.
EW.
-
"Alpha" for images usually means transparency. I'm guessing they are using a scale of 0-255 so 0 would mean completely transparent and 255 would be completely opaque.
-
Any idea how I can change the alignnment of the text in the home buttons so that the text WITHIN the button is aligned with the left margin of the button rather than centered?
Sorry, but this is not currently possible.
-
Sorry, but this is not currently possible.
Ok. At least that saves me from more trying to figure out how to do it! :)