home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Skins
Skin Modifikationen
Pure Vision goes Backdrop
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lehmden" data-source="post: 955576" data-attributes="member: 109222"><p>Hi.</p><p>Ich bin heute einen Riesenschritt weiter gekommen auf dem Weg zum Editor. Ich hab ein (und damit im Prinzip jedes) Menu komplett auf Variablen umstellen können. Jetzt muss nur noch am Anfang vom BasicHome eine Datei importiert werden, die alle Variablen beinhaltet. Diese Datei steuert dann das Menu vollständig. Einzig mit den LatestMedia Geschichten muss ich mich noch weiter auseinander setzen. Dazu warte ich aber auf die neue Version...</p><p>Die Variablen Datei sieht so aus:</p><p>[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> </p><p><!-- here are the variables for the main menu button 0 --></p><p> <define>#menu0.back:Animations\BasicHome\mytv.jpg</define></p><p> <define>#menu0.label:Fernsehen</define></p><p> <define>#menu0.buttonlabel:Fernsehen</define></p><p> <define>#menu0.link:1</define></p><p> <define>#menu0.onup:202</define></p><p> <define>#menu0.posy:811</define></p><p> </p><p><!-- here are the variables that switch visibility of menu 0 buttons --></p><p> <define property="true">#menu0.but1:no</define></p><p> <define property="true">#menu0.but2:yes</define></p><p> <define property="true">#menu0.but3:yes</define></p><p> <define property="true">#menu0.but4:yes</define></p><p> <define property="true">#menu0.but5:yes</define></p><p> <define property="true">#menu0.but6:no</define></p><p> <define property="true">#menu0.but7:no</define></p><p> <define property="true">#menu0.but8:no</define></p><p> </p><p><!-- here are the variables for the menu 0 buttons --></p><p> <define property="true">#menu0.but1label:Fernsehen</define></p><p> <define property="true">#menu0.but1link:1</define></p><p> <define property="true">#menu0.but1linkpar:</define></p><p> <define property="true">#menu0.but1back:</define></p><p> <define property="true">#menu0.but2label:TV-Programm</define></p><p> <define property="true">#menu0.but2link:600</define></p><p> <define property="true">#menu0.but2linkpar:</define></p><p> <define property="true">#menu0.but2back:Animations\BasicHome\epg.jpg</define></p><p> <define property="true">#menu0.but3label:Aufnahmen</define></p><p> <define property="true">#menu0.but3link:603</define></p><p> <define property="true">#menu0.but3linkpar:</define></p><p> <define property="true">#menu0.but3back:C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Fan Art\fanart\original</define></p><p> <define property="true">#menu0.but4label:Geplant</define></p><p> <define property="true">#menu0.but4link:601</define></p><p> <define property="true">#menu0.but4linkpar:</define></p><p> <define property="true">#menu0.but4back:C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Fan Art\fanart\original</define></p><p> <define property="true">#menu0.but5label:Suche</define></p><p> <define property="true">#menu0.but5link:604</define></p><p> <define property="true">#menu0.but5linkpar:</define></p><p> <define property="true">#menu0.but5back:C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Fan Art\fanart\original</define></p><p> <define property="true">#menu0.but6label:</define></p><p> <define property="true">#menu0.but6link:</define></p><p> <define property="true">#menu0.but6linkpar:</define></p><p> <define property="true">#menu0.but6back:</define></p><p> <define property="true">#menu0.but7label:</define></p><p> <define property="true">#menu0.but7link:</define></p><p> <define property="true">#menu0.but7linkpar:</define></p><p> <define property="true">#menu0.but7back:</define></p><p> <define property="true">#menu0.but8label:</define></p><p> <define property="true">#menu0.but8link:</define></p><p> <define property="true">#menu0.but8linkpar:</define></p><p> <define property="true">#menu0.but8back:</define></p><p></window></p><p>[/CODE]</p><p> </p><p>und die dazu gehörende Menu- Datei so:</p><p>[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> </p><p> <controls></p><p> <!-- ******************************************************************************************* --></p><p> <!-- ****************************** BUTTONS Menu 0 SECTION *********************************** --></p><p> <!-- ******************************************************************************************* --></p><p> <control Style="BasicHomeSubButton"></p><p> <description>TV button image</description></p><p> <type>button</type></p><p> <id>209</id></p><p> <posX>42</posX></p><p> <posY>1015</posY></p><p> <font>font12</font></p><p> <textXOff>0</textXOff></p><p> <textYOff>0</textYOff></p><p> <textcolor>white</textcolor></p><p> <textcolorNoFocus>ffffffff</textcolorNoFocus></p><p> <width>230</width></p><p> <textalign>center</textalign></p><p> <label></label></p><p> <hyperlink>1</hyperlink></p><p> <visible>control.hasFocus(2)|control.isVisible(209)+[!control.isVisible(219)+!control.isVisible(229)+!control.isVisible(239)+!control.isVisible(249)+!control.isVisible(259)+!control.isVisible(269)+!control.isVisible(279)+!control.isVisible(289)]</visible></p><p> </control></p><p> </p><p> <control></p><p> <type>group</type></p><p> <description>group element</description></p><p> </p><p> <layout>StackLayout(0, Vertical, true)</layout></p><p> <posX>40</posX></p><p> <posY>#menu0.posy</posY></p><p> <visible>control.isVisible(209)</visible></p><p> <animation effect="slide" start="-100,0" time="100" condition="!control.isVisible(219)" reversible="false">visible</animation></p><p> <animation effect="slide" start="100,0" time="100" condition="control.isVisible(219)" reversible="false">visible</animation></p><p> </p><p> <control></p><p> <description>Dummy button</description></p><p> <type>button</type></p><p> <id>0</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button-top.png</textureFocus></p><p> <textureNoFocus>sub-button-top.png</textureNoFocus> </p><p> <label> </label></p><p> <width>230</width></p><p> <height>10</height></p><p> </control></p><p> </p><p> <control Style="BasicHomeSubButton"></p><p> <description>Search normal push button</description></p><p> <type>button</type></p><p> <id>208</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but8label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but8link</hyperlink></p><p> <hyperlinkParameter>#menu0.but8linkpar</hyperlinkParameter> </p><p> <onup>201</onup></p><p> <ondown>207</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but8,yes)</visible></p><p> </control></p><p> <control Style="BasicHomeSubButton"></p><p> <description>Search normal push button</description></p><p> <type>button</type></p><p> <id>207</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but5label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but7link</hyperlink></p><p> <hyperlinkParameter>#menu0.but7linkpar</hyperlinkParameter> </p><p> <onup>208</onup></p><p> <ondown>206</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but7,yes)</visible></p><p> </control></p><p> <control Style="BasicHomeSubButton"></p><p> <description>Search normal push button</description></p><p> <type>button</type></p><p> <id>206</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but6label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but6link</hyperlink></p><p> <hyperlinkParameter>#menu0.but6linkpar</hyperlinkParameter> </p><p> <onup>207</onup></p><p> <ondown>205</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but6,yes)</visible></p><p> </control></p><p> <control Style="BasicHomeSubButton"></p><p> <description>Search normal push button</description></p><p> <type>button</type></p><p> <id>205</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but5label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but5link</hyperlink></p><p> <hyperlinkParameter>#menu0.but5linkpar</hyperlinkParameter> </p><p> <onup>206</onup></p><p> <ondown>204</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but5,yes)</visible></p><p> </control></p><p> <control Style="BasicHomeSubButton"></p><p> <description>Timer normal push button</description></p><p> <type>button</type></p><p> <id>204</id></p><p> <width>230</width></p><p> <height>40</height></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but4label</label></p><p> <hyperlink>#menu0.but4link</hyperlink></p><p> <hyperlinkParameter>#menu0.but4linkpar</hyperlinkParameter> </p><p> <onup>205</onup></p><p> <ondown>203</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but4,yes)</visible></p><p> </control></p><p> <control Style="BasicHomeSubButton"></p><p> <description>Recordings normal push button</description></p><p> <type>button</type></p><p> <id>203</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but3label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but3link</hyperlink></p><p> <hyperlinkParameter>#menu0.but3linkpar</hyperlinkParameter> </p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <onup>204</onup></p><p> <ondown>202</ondown></p><p> <visible>string.equals(#menu0.but3,yes)</visible></p><p> </control></p><p> <control Style="BasicHomeSubButton"></p><p> <description>EPG normal push button</description></p><p> <type>button</type></p><p> <id>202</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but2label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but2link</hyperlink></p><p> <hyperlinkParameter>#menu0.but2linkpar</hyperlinkParameter> </p><p> <onup>203</onup></p><p> <ondown>201</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but2,yes)</visible></p><p> </control></p><p> </p><p> <control Style="BasicHomeSubButton"></p><p> <description>EPG normal push button</description></p><p> <type>button</type></p><p> <id>201</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label>#menu0.but1label</label></p><p> <width>230</width></p><p> <height>40</height></p><p> <hyperlink>#menu0.but1link</hyperlink></p><p> <hyperlinkParameter>#menu0.but1linkpar</hyperlinkParameter> </p><p> <onup>202</onup></p><p> <ondown>2</ondown></p><p> <onleft>260</onleft></p><p> <onright>210</onright></p><p> <visible>string.equals(#menu0.but1,yes)</visible></p><p> </control></p><p> </p><p> <control></p><p> <description>Dummy button</description></p><p> <type>button</type></p><p> <id>208888888</id></p><p> <font>font11</font></p><p> <textureFocus>sub-button.png</textureFocus></p><p> <textureNoFocus>sub-button.png</textureNoFocus> </p><p> <label> </label></p><p> <width>230</width></p><p> <height>10</height></p><p> <hyperlink>35</hyperlink></p><p> <onup>17</onup></p><p> <ondown>205</ondown></p><p> </control> </p><p> </control></p><p> </controls></p><p></window>[/CODE]</p><p>Die Variablendatei, die ausschließlich "Define" tags beihaltet kann recht leicht mit einem externem Programm beabeitet werden, also auch mit einem eigenen BasicHome Editor... Hier ein "Live" Bild von dem so definierten Menu...[ATTACH=full]119684[/ATTACH]</p></blockquote><p></p>
[QUOTE="Lehmden, post: 955576, member: 109222"] Hi. Ich bin heute einen Riesenschritt weiter gekommen auf dem Weg zum Editor. Ich hab ein (und damit im Prinzip jedes) Menu komplett auf Variablen umstellen können. Jetzt muss nur noch am Anfang vom BasicHome eine Datei importiert werden, die alle Variablen beinhaltet. Diese Datei steuert dann das Menu vollständig. Einzig mit den LatestMedia Geschichten muss ich mich noch weiter auseinander setzen. Dazu warte ich aber auf die neue Version... Die Variablen Datei sieht so aus: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> <!-- here are the variables for the main menu button 0 --> <define>#menu0.back:Animations\BasicHome\mytv.jpg</define> <define>#menu0.label:Fernsehen</define> <define>#menu0.buttonlabel:Fernsehen</define> <define>#menu0.link:1</define> <define>#menu0.onup:202</define> <define>#menu0.posy:811</define> <!-- here are the variables that switch visibility of menu 0 buttons --> <define property="true">#menu0.but1:no</define> <define property="true">#menu0.but2:yes</define> <define property="true">#menu0.but3:yes</define> <define property="true">#menu0.but4:yes</define> <define property="true">#menu0.but5:yes</define> <define property="true">#menu0.but6:no</define> <define property="true">#menu0.but7:no</define> <define property="true">#menu0.but8:no</define> <!-- here are the variables for the menu 0 buttons --> <define property="true">#menu0.but1label:Fernsehen</define> <define property="true">#menu0.but1link:1</define> <define property="true">#menu0.but1linkpar:</define> <define property="true">#menu0.but1back:</define> <define property="true">#menu0.but2label:TV-Programm</define> <define property="true">#menu0.but2link:600</define> <define property="true">#menu0.but2linkpar:</define> <define property="true">#menu0.but2back:Animations\BasicHome\epg.jpg</define> <define property="true">#menu0.but3label:Aufnahmen</define> <define property="true">#menu0.but3link:603</define> <define property="true">#menu0.but3linkpar:</define> <define property="true">#menu0.but3back:C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Fan Art\fanart\original</define> <define property="true">#menu0.but4label:Geplant</define> <define property="true">#menu0.but4link:601</define> <define property="true">#menu0.but4linkpar:</define> <define property="true">#menu0.but4back:C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Fan Art\fanart\original</define> <define property="true">#menu0.but5label:Suche</define> <define property="true">#menu0.but5link:604</define> <define property="true">#menu0.but5linkpar:</define> <define property="true">#menu0.but5back:C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Fan Art\fanart\original</define> <define property="true">#menu0.but6label:</define> <define property="true">#menu0.but6link:</define> <define property="true">#menu0.but6linkpar:</define> <define property="true">#menu0.but6back:</define> <define property="true">#menu0.but7label:</define> <define property="true">#menu0.but7link:</define> <define property="true">#menu0.but7linkpar:</define> <define property="true">#menu0.but7back:</define> <define property="true">#menu0.but8label:</define> <define property="true">#menu0.but8link:</define> <define property="true">#menu0.but8linkpar:</define> <define property="true">#menu0.but8back:</define> </window> [/CODE] und die dazu gehörende Menu- Datei so: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> <controls> <!-- ******************************************************************************************* --> <!-- ****************************** BUTTONS Menu 0 SECTION *********************************** --> <!-- ******************************************************************************************* --> <control Style="BasicHomeSubButton"> <description>TV button image</description> <type>button</type> <id>209</id> <posX>42</posX> <posY>1015</posY> <font>font12</font> <textXOff>0</textXOff> <textYOff>0</textYOff> <textcolor>white</textcolor> <textcolorNoFocus>ffffffff</textcolorNoFocus> <width>230</width> <textalign>center</textalign> <label></label> <hyperlink>1</hyperlink> <visible>control.hasFocus(2)|control.isVisible(209)+[!control.isVisible(219)+!control.isVisible(229)+!control.isVisible(239)+!control.isVisible(249)+!control.isVisible(259)+!control.isVisible(269)+!control.isVisible(279)+!control.isVisible(289)]</visible> </control> <control> <type>group</type> <description>group element</description> <layout>StackLayout(0, Vertical, true)</layout> <posX>40</posX> <posY>#menu0.posy</posY> <visible>control.isVisible(209)</visible> <animation effect="slide" start="-100,0" time="100" condition="!control.isVisible(219)" reversible="false">visible</animation> <animation effect="slide" start="100,0" time="100" condition="control.isVisible(219)" reversible="false">visible</animation> <control> <description>Dummy button</description> <type>button</type> <id>0</id> <font>font11</font> <textureFocus>sub-button-top.png</textureFocus> <textureNoFocus>sub-button-top.png</textureNoFocus> <label> </label> <width>230</width> <height>10</height> </control> <control Style="BasicHomeSubButton"> <description>Search normal push button</description> <type>button</type> <id>208</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but8label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but8link</hyperlink> <hyperlinkParameter>#menu0.but8linkpar</hyperlinkParameter> <onup>201</onup> <ondown>207</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but8,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>Search normal push button</description> <type>button</type> <id>207</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but5label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but7link</hyperlink> <hyperlinkParameter>#menu0.but7linkpar</hyperlinkParameter> <onup>208</onup> <ondown>206</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but7,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>Search normal push button</description> <type>button</type> <id>206</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but6label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but6link</hyperlink> <hyperlinkParameter>#menu0.but6linkpar</hyperlinkParameter> <onup>207</onup> <ondown>205</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but6,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>Search normal push button</description> <type>button</type> <id>205</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but5label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but5link</hyperlink> <hyperlinkParameter>#menu0.but5linkpar</hyperlinkParameter> <onup>206</onup> <ondown>204</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but5,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>Timer normal push button</description> <type>button</type> <id>204</id> <width>230</width> <height>40</height> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but4label</label> <hyperlink>#menu0.but4link</hyperlink> <hyperlinkParameter>#menu0.but4linkpar</hyperlinkParameter> <onup>205</onup> <ondown>203</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but4,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>Recordings normal push button</description> <type>button</type> <id>203</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but3label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but3link</hyperlink> <hyperlinkParameter>#menu0.but3linkpar</hyperlinkParameter> <onleft>260</onleft> <onright>210</onright> <onup>204</onup> <ondown>202</ondown> <visible>string.equals(#menu0.but3,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>EPG normal push button</description> <type>button</type> <id>202</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but2label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but2link</hyperlink> <hyperlinkParameter>#menu0.but2linkpar</hyperlinkParameter> <onup>203</onup> <ondown>201</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but2,yes)</visible> </control> <control Style="BasicHomeSubButton"> <description>EPG normal push button</description> <type>button</type> <id>201</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label>#menu0.but1label</label> <width>230</width> <height>40</height> <hyperlink>#menu0.but1link</hyperlink> <hyperlinkParameter>#menu0.but1linkpar</hyperlinkParameter> <onup>202</onup> <ondown>2</ondown> <onleft>260</onleft> <onright>210</onright> <visible>string.equals(#menu0.but1,yes)</visible> </control> <control> <description>Dummy button</description> <type>button</type> <id>208888888</id> <font>font11</font> <textureFocus>sub-button.png</textureFocus> <textureNoFocus>sub-button.png</textureNoFocus> <label> </label> <width>230</width> <height>10</height> <hyperlink>35</hyperlink> <onup>17</onup> <ondown>205</ondown> </control> </control> </controls> </window>[/CODE] Die Variablendatei, die ausschließlich "Define" tags beihaltet kann recht leicht mit einem externem Programm beabeitet werden, also auch mit einem eigenen BasicHome Editor... Hier ein "Live" Bild von dem so definierten Menu...[ATTACH=full]119684[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Skins
Skin Modifikationen
Pure Vision goes Backdrop
Contact us
RSS
Top
Bottom