Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Eden Update
Changelog -
2.0.0
Changed: Debug grid and Window/Dialog label handling (see Custom_Debug_Overlay.xml)
Changed: Activate Video window controls
Changed: DialogContextMenu.xml
Changed: DialogButtonMenu.xml
Added: DialogPeripheralManager.xml
Added: DialogPeripheralSettings.xml
Added: DialogPeripheralManager.jpg
Added: DialogPeripheralSettings.jpg
Removed: MyVideo.xml
Removed: MyVideo.jpg
Added more debug info -
Top right = current focused control
Bottom right = container folder path
Hi There,
I'm trying to use your example of adding a BG image from two pages back and I'm not having much success.
Is there something I need to turn off in another part of the XML?
Please see code
- <!-- Foundation
-->
- <window id="0">
<defaultcontrol always="true">300</defaultcontrol>
<allowoverlay>yes</allowoverlay>
- <controls>
<include>GlobalBackground</include>
- <control type="wraplist" id="300">
<description>Home Wraplist</description>
<posx>0</posx>
<posy>108</posy>
<width>1920</width>
<height>846</height>
<onup>300</onup>
<ondown>300</ondown>
<onleft>300</onleft>
<onright>300</onright>
<focusposition>5</focusposition>
<scrolltime>200</scrolltime>
- <itemlayout width="540" height="75">
- <control type="label">
<posx>960</posx>
<height>75</height>
<width>375</width>
<font>Medium</font>
<info>ListItem.Label</info>
<align>center</align>
</control>
</itemlayout>
- <focusedlayout width="810" height="96">
- <control type="label">
<posx>960</posx>
<width>810</width>
<height>96</height>
<info>ListItem.Label</info>
<font>Home</font>
<textcolor>Blue</textcolor>
<align>center</align>
</control>
- <control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture background="true">$INFO[Container(300).ListItem.Icon]</texture>
<fadetime>600</fadetime>
</control>
</focusedlayout>
- <content>
- <item id="1">
<description>Programs</description>
<label>31002</label>
<icon>backgrounds/programs-1080.jpg</icon>
<onclick>ActivateWindow(Programs,Addons)</onclick>
</item>
- <item id="2">
<description>Videos</description>
<label>31003</label>
<onclick>ActivateWindow(Video,Files)</onclick>
</item>
- <item id="3">
<description>Music</description>
<label>31004</label>
<onclick>ActivateWindow(Music)</onclick>
</item>
- <item id="4">
<description>Pictures</description>
<label>31005</label>
<onclick>ActivateWindow(Pictures)</onclick>
</item>
- <item id="5">
<description>Movies</description>
<label>31006</label>
<onclick>ActivateWindow(Video,movietitles)</onclick>
<visible>Library.HasContent(Movies)</visible>
</item>
- <item id="6">
<description>TV Shows</description>
<label>31007</label>
<onclick>ActivateWindow(Video,tvshowtitles)</onclick>
<visible>Library.HasContent(TVShows)</visible>
</item>
- <item id="7">
<description>Favourites</description>
<label>31008</label>
<onclick>ActivateWindow(Favourites)</onclick>
</item>
- <item id="8">
<description>Profiles</description>
<label>31009</label>
<onclick>ActivateWindow(Profiles)</onclick>
</item>
- <item id="9">
<description>Weather</description>
<label>31010</label>
<onclick>ActivateWindow(weather)</onclick>
</item>
- <item id="10">
<description>File manager</description>
<label>31011</label>
<onclick>ActivateWindow(filemanager)</onclick>
</item>
- <item id="11">
<description>Settings</description>
<label>31012</label>
<onclick>ActivateWindow(settings)</onclick>
</item>
- <item id="12">
<description>Shutdown</description>
<label>31013</label>
<onclick>ActivateWindow(shutdownmenu)</onclick>
</item>
- <item id="13">
<description>Play Disc</description>
<label>31014</label>
<onclick>PlayDVD</onclick>
<visible>System.HasMediadvd</visible>
</item>
</content>
</control>
- <control type="rss">
<description>RSS Feed</description>
<posx>0</posx>
<posy>1035</posy>
<width>1920</width>
<height>21</height>
<font>Small</font>
<urlset>1</urlset>
<titlecolor>Red</titlecolor>
<headlinecolor>White</headlinecolor>
<textcolor>White</textcolor>
</control>
</controls>
</window>
There aren't images in your items.
Is this not instructing it to use said image?
- <item id="1">
<description>Programs</description>
<label>31002</label>
<icon>backgrounds/programs-1080.jpg</icon>
<onclick>ActivateWindow(Programs,Addons)</onclick>
Thanks
(2012-03-16, 17:05)dm85 Wrote: [ -> ]Is this not instructing it to use said image?
- <item id="1">
<description>Programs</description>
<label>31002</label>
<icon>backgrounds/programs-1080.jpg</icon>
<onclick>ActivateWindow(Programs,Addons)</onclick>
Thanks
Fixed my older post. If the image isn't in the media folder then you need to use
special://skin/
ie
PHP Code:
<icon>special://skin/backgrounds/program_image.png</icon>
(2012-03-16, 22:27)Hitcher Wrote: [ -> ]Fixed my older post. If the image isn't in the media folder then you need to use special://skin/
ie
PHP Code:
<icon>special://skin/backgrounds/program_image.png</icon>
Should the included GlobalBackground in home screen be able to view those images automaticly? I would assume that it doesn't do that.
Only way i got it to work was to add new image control that gets its texture from Container(300).ListItem.Icon to either home.xml or to GlobalBackround.
They're not scraped fanart image that's why they wont work unless you add the new image control.
I broke my foundation and hoping someone can help. I was playing with the home screen, managed to make a horizontal menu and make it focus correctly. I tried to change the font. It didn't work so I thought maybe I have to shutdown for it to pick up the new ttf in the fonts folder. On opening the login screen is now blank.
I deleted the foundation folder and it defaulted to Confluence so I reinstalled Foundation but still no login screen (I have a few profiles).
I'd like to think one day I will get over my 'try first, read later' method.....but probably not.
Copy your current Foundation folder somewhere safe and install a fresh one, then try copying your modified ones over one at a time (refreshing each time).
Hopefully you'll find the problem one.
Hey first off thanks so much for this Hitcher! it really is such a help and lets us get into skinning a lot easier!
Does anyone know how to change the homepage font from Uppercase to Lowercase? I have looked all over sorry can't find the answer
The strings are found in skin.foundation\language\English\strings.xml
thanks for the quick response! that's great it was driving me crazy!
for some reason i cant for the life of me download Foundation Eden i have hitchers new repo and xbmc 11 with fresh installs on two computers is the repo down?? anyway where can i download this on the net could someone point me in the right direction i am sure i can find a copy but i have brain freeze ATM thanks.
(2012-03-30, 21:40)ZombieRobot Wrote: [ -> ]for some reason i cant for the life of me download Foundation Eden i have hitchers new repo and xbmc 11 with fresh installs on two computers is the repo down?? anyway where can i download this on the net could someone point me in the right direction i am sure i can find a copy but i have brain freeze ATM thanks.
Iirc, hitcher changed repo location. Take a look at xeebo thread.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16