Page tree

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.34
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download



Table of Contents

Description

Control which acts as a facade to the list, thumbnail, filmstrip  and coverflow layout controls. For the application it presents itself as one control but in reality it will route all actions to the currently selected control (list, icons, filmstrip or coverflow).

Further Information

Changelog

Change

Date

Version

Hard Coded Labels Removed from

2010/10/10

1.0.1 to 1.1.0

Listcontrol Popup Additional Info While Scrolling

2010/12/01

1.1.0 to 1.2.0

Common Control IDs

2010/11/22

1.1.0 to 1.2.0

 

 

Tags

GUIFacadeViewControl 

Facadeview control has no skin properties of it's own, only the properties inherited by GUIControl! 

Inherited by GUIControl

See GUIControl for the full documentation of this control.

Element Name

Data Type

Description

id

Integer

The id of the control. The id will couple the skin file to the code, so if we later on want to check that a user pressed a button, the id will be required and must be unique. For controls that will never be referenced in the code it is safe to set it to "1"

description

String

An optional description of the control for your reference

type

String

The type of the control, for instance "button", "label", "textbox" and all other controls.

posX

Integer

The X-position on the window for this control

posY

Integer

The Y-position on the window for this control

width

Integer

The width of this control

height

Integer

The height of this control

onleft

Integer

The control id to move the focus to when the user moves left. If not specified (or zero) MediaPortal will find the closest control in that direction to move to. As of v1.7.0 Skin Settings and Skin Expressions are also supported. 

onright

Integer

The control id to move the focus to when the user moves right. If not specified (or zero) MediaPortal will find the closest control in that direction to move to. As of v1.7.0 Skin Settings and Skin Expressions are also supported. 

onup

Integer

The control id to move the focus to when the user moves up. If not specified (or zero) MediaPortal will find the closest control in that direction to move to. As of v1.7.0 Skin Settings and Skin Expressions are also supported. 

ondown

Integer

The control id to move the focus to when the user moves down. If not specified (or zero) MediaPortal will find the closest control in that direction to move to. As of v1.7.0 Skin Settings and Skin Expressions are also supported. 

colordiffuse

Long

Allows you to mix a color & a graphics texture. E.g. If you have a graphics texture like a blue button you can mix it with a yellow color diffuse and the end result will be green. Defaults to 0xFFFFFFFF

dimColor

Integer

Color for a control when it is not focussed. Defaults to half transparent (0x60ffffff)

onfocus

String

[Since 1.3] Executes a MediaPortal skin function when the control gains focus.  See Skin Settings for more information.

Properties exposed

GUIFacadeViewControl

Property Name

Data Type

Description

#itemcount

Integer

Number of items in the facadeview

#itemtype 

String

by default, displays and translates String (507) = "items" but can be coded by various plugins to display different properties

#facadeview.layout

String

Current View Mode (album, filmstrip, largeicons, list, playlist, smallicons, coverflow)

XML examples

Using FacadeView in a skin file

<control>
  <description>composite control consisting of a list control and a
  thumbnail panel</description>
  <type>facadeview</type>
  <id>50</id>
  <control>
    <description>listcontrol</description>
    <type>listcontrol</type>
    <id>50</id>
    <scrollOffset>2</scrollOffset>
  </control>
  <control>
    <description>Thumbnail Panel</description>
    <type>thumbnailpanel</type>
    <id>50</id>
    <scrollOffset>0</scrollOffset>
    <onleft>2</onleft>
    <onright>2</onright>
    <!--
    <onup>2</onup>
    <ondown>2</ondown>
    -->
  </control>
  <control>
    <description>Filmstrip view</description>
    <type>filmstrip</type>
    <id>50</id>
    <onleft>2</onleft>
    <onright>2</onright>
    <onup>2</onup>
    <ondown>2</ondown>
  </control>
  <control>
    <description>playlist listcontrol</description>
    <type>playlistcontrol</type>
    <id>50</id>
    <scrollOffset>1</scrollOffset>
  </control>
</control>

   

 

This page has no comments.