Difference between revisions of "Theater View Skins"

From JRiverWiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
There may be a desire to create a new or modify an existing Theater View skin. The Theater View skins are stored in a folder of the install directory of Media Center. For example, if the defaults were taken during the installation, the Theater View skin folder would be C:\Program Files\J River\Media Center 12\FullSkins. In there are various folders that define each of the skins.
 +
 +
You will need to change the XML file main.xml and any images that are in the various folders. Hopefully most things will be obvious in the file that need changing but here are some various questions and answers that may help:
 +
 +
* Q: What are the four parameters for Position Rect?
 +
** A: 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.)
 +
 +
* Q: What does NoListRect mean?
 +
** A: Defines the "home" menu position.
 +
 +
* Q: What does this code in BUTTONS mean: Columns="36,?-Flex,36" Rows="10,?-Flex,10" InternalMargins="10,4,10,8"?
 +
** A: 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.
 +
 +
* Q: What does the Alignment parameter in PICTURE mean?
 +
** A: It probably would define the vertical alignment of the image
 +
 +
* Q: Do the PNG files used as bitmaps scale automatically?
 +
** A: See the explanation above about ?-Flex
 +
 +
* Q: In the TEXT section, what does the following code mean: Item Text="[Location]" Location="***"?
 +
** A: This is the location text (at the top of the screen normally), but I don't know what Location="***" means.
 +
 +
* Q: Is there any way to change the alignment of the Home menu so it is not centered?
 +
** A: Change NoListRect= in <buttons> to alter the Home menu location. You can also change the vertical justification by altering NoListAlignment=
 +
 +
 +
 +
 
http://yabb.jriver.com/interact/index.php?board=3;topic=27076.0
 
http://yabb.jriver.com/interact/index.php?board=3;topic=27076.0
  
 
[[Category:Frequently Asked Questions]]
 
[[Category:Frequently Asked Questions]]

Revision as of 18:51, 20 January 2007

There may be a desire to create a new or modify an existing Theater View skin. The Theater View skins are stored in a folder of the install directory of Media Center. For example, if the defaults were taken during the installation, the Theater View skin folder would be C:\Program Files\J River\Media Center 12\FullSkins. In there are various folders that define each of the skins.

You will need to change the XML file main.xml and any images that are in the various folders. Hopefully most things will be obvious in the file that need changing but here are some various questions and answers that may help:

  • Q: What are the four parameters for Position Rect?
    • A: 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.)
  • Q: What does NoListRect mean?
    • A: Defines the "home" menu position.
  • Q: What does this code in BUTTONS mean: Columns="36,?-Flex,36" Rows="10,?-Flex,10" InternalMargins="10,4,10,8"?
    • A: 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.
  • Q: What does the Alignment parameter in PICTURE mean?
    • A: It probably would define the vertical alignment of the image
  • Q: Do the PNG files used as bitmaps scale automatically?
    • A: See the explanation above about ?-Flex
  • Q: In the TEXT section, what does the following code mean: Item Text="[Location]" Location="***"?
    • A: This is the location text (at the top of the screen normally), but I don't know what Location="***" means.
  • Q: Is there any way to change the alignment of the Home menu so it is not centered?
    • A: Change NoListRect= in <buttons> to alter the Home menu location. You can also change the vertical justification by altering NoListAlignment=



http://yabb.jriver.com/interact/index.php?board=3;topic=27076.0