MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 01:49, 21 Nov 2010 by diebagger
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > Checkbutton Control Created

Checkbutton Control Created

Was this page helpful?
    Table of contents
    1. 1. Purpose
    2. 2. Description of change

    Purpose

    This control aggregates the look and behavior of the check mark control and the button control.

    Description of change

    An example checkbutton can be see in the following screenshot. As the button is clicked the check mark image toggles on/off.

    Focus_Settings_TV.png

    Example of skin xml:

    <control>
      <description>automatically turn on tv</description>
      <type>checkbutton</type>
      <id>24</id>
      <label>6006</label>
      <onleft>11</onleft>
      <onright>11</onright>
      <onup>23</onup>
      <ondown>28</ondown>
      <textureCheckmark>check-box.png</textureCheckmark>
      <textureCheckmarkNoFocus>check-boxNF.png</textureCheckmarkNoFocus>
      <markWidth>16</markWidth>
      <markHeight>16</markHeight>
      <markXOff>20</markXOff>
      <markalign>right</markalign>
      <markvalign>middle</markvalign>
      <height>34</height>
      <width>995</width>
      <font>menu</font>
      <shadowAngle>45</shadowAngle>
      <shadowDistance>1</shadowDistance>
      <shadowColor>FF000000</shadowColor>
      <textcolor>#settings.buttonTextColor</textcolor>
      <textalign>left</textalign>
      <textvalign>middle</textvalign>
      <textXOff>10</textXOff>
      <textureFocus border="1" position="insideimage" colorKey="66FFFFFF">list-focus.png</textureFocus>
      <textureNoFocus>list-nofocus.png</textureNoFocus>
    </control>



    Running the latest version?

    V1.7.0 - released April 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners