INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Making Theaterview Skins  (Read 5201 times)

DWAnderson

  • Galactic Citizen
  • ****
  • Posts: 484
  • nothing more to say...
Making Theaterview Skins
« 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?

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Making Theaterview Skins
« Reply #1 on: April 15, 2005, 10:51:48 am »

There are no formal documents, but hopefully most things are fairly obvious if you twiddle with them a bit.
Logged
Matt Ashland, JRiver Media Center

DWAnderson

  • Galactic Citizen
  • ****
  • Posts: 484
  • nothing more to say...
Re: Making Theaterview Skins
« Reply #2 on: April 15, 2005, 11:26:54 am »

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.

bbrip

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 441
  • Change this by choosing profile
Re: Making Theaterview Skins
« Reply #3 on: April 15, 2005, 12:12:52 pm »

The question to start with really being: Where do I find these Theaterview xml files  ?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Making Theaterview Skins
« Reply #4 on: April 15, 2005, 12:53:51 pm »

The rectangles are % of the screen for beginning and end, both horizontally and vertically.
Logged

DWAnderson

  • Galactic Citizen
  • ****
  • Posts: 484
  • nothing more to say...
Re: Making Theaterview Skins
« Reply #5 on: April 15, 2005, 01:11:46 pm »

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.

DWAnderson

  • Galactic Citizen
  • ****
  • Posts: 484
  • nothing more to say...
Re: Making Theaterview Skins
« Reply #6 on: April 17, 2005, 07:32:18 pm »

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.

interbeat

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 54
  • Change this by choosing profile
Re: Making Theaterview Skins
« Reply #7 on: April 18, 2005, 05:40:04 pm »

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...

Quote
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.)

Quote
What does NoListRect mean?

Defines the "home" menu position.

Quote
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.

Quote
What does the Alpha parameter in PICTURE mean?

Don't know

Quote
What does the Alignment parameter in PICTURE mean?

Don't know (but I'd guess it would define the vertical alignment of the image)

Quote
Do the PNG files used as bitmaps scale automatically?

See the explanation above about ?-Flex

Quote
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.

Quote
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
Logged

DWAnderson

  • Galactic Citizen
  • ****
  • Posts: 484
  • nothing more to say...
Re: Making Theaterview Skins
« Reply #8 on: April 18, 2005, 10:49:10 pm »

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?

interbeat

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 54
  • Change this by choosing profile
Re: Making Theaterview Skins
« Reply #9 on: April 19, 2005, 06:24:07 am »

Quote
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.
Logged

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3105
Re: Making Theaterview Skins
« Reply #10 on: April 19, 2005, 07:38:09 am »

"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.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Making Theaterview Skins
« Reply #11 on: April 21, 2005, 01:58:36 pm »

Quote
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.
Logged
Matt Ashland, JRiver Media Center

DWAnderson

  • Galactic Citizen
  • ****
  • Posts: 484
  • nothing more to say...
Re: Making Theaterview Skins
« Reply #12 on: April 21, 2005, 03:18:05 pm »

Sorry, but this is not currently possible.

Ok. At least that saves me from more trying to figure out how to do it! :)
Pages: [1]   Go Up