hi jonathan,
i want to remember you my small request about having volume and seek bar (but also all the dialogs, overlays or osd like "player controls" or "music/video overlays"), in different positions for each screen.
what i'd really like most is that all the controls that are displayed on top of standard screens can be different in size, texture and position for each screen.
as i told you i was able to do it for the "player controls" using buttons with no textures and enabling/disabling different images depending on visibility conditions:
(eg. my stop button)
<control>
<description>stop button</description>
<type>button</type>
<id>500</id>
<posx>586</posx>
<posy>255</posy>
<width>23</width>
<height>67</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<label>-</label>
<font>-</font>
<onleft>500</onleft>
<onright>213</onright>
<onup>215</onup>
<ondown>210</ondown>
<execute>xbmc.playercontrol(stop)</execute>
</control>
<!-- textures for home screen active -->
<control>
<description>stop image</description>
<type>image</type>
<id>1</id>
<posx>446</posx>
<posy>413</posy>
<width>25</width>
<height>20</height>
<texture>test-stop.png</texture>
<visible>window.isactive(0) + control.hasfocus(500)</visible>
</control>
<!-- textures for all other screens -->
<control>
<description>stop image</description>
<type>image</type>
<id>1</id>
<posx>16</posx>
<posy>93</posy>
<width>25</width>
<height>20</height>
<texture>test-stop.png</texture>
<visible>!window.isactive(0) + control.hasfocus(500)</visible>
</control>
as you see it become a pain for all the player buttons (togglebuttons most); so how about having the possibility to enable/disable visibility to an entire group of controls, eg something like:
<!-- buttons for home screen active -->
<controls>
<visible>window.isactive(0)</visible>
<control>
<type>button</type>
<id>402</id>
<posx>43</posx>
<posy>0</posy>
<width>21</width>
<height>22</height>
<label>-</label>
<texturefocus>music-stop-focus.png</texturefocus>
<texturenofocus>music-stop-nofocus.png</texturenofocus>
<onleft>401</onleft>
<onright>403</onright>
<onup>402</onup>
<ondown>402</ondown>
<execute>xbmc.playercontrol(stop)</execute>
</control>
<control>
<type>togglebutton</type>
<id>403</id>
<posx>64</posx>
<posy>0</posy>
<width>21</width>
<height>22</height>
<label>-</label>
<texturefocus>music-pause-focus.png</texturefocus>
<texturenofocus>music-pause-nofocus.png</texturenofocus>
<usealttexture>player.paused</usealttexture>
<alttexturefocus>music-play-focus.png</alttexturefocus>
<alttexturenofocus>music-play-nofocus.png</alttexturenofocus>
<onleft>402</onleft>
<onright>404</onright>
<onup>403</onup>
<ondown>403</ondown>
<execute>xbmc.playercontrol(play)</execute>
</control>
</controls>
<!-- buttons for all other screens -->
<controls>
<visible>!window.isactive(0)</visible>
<control>
<type>button</type>
<id>402</id>
<posx>243</posx>
<posy>400</posy>
<width>21</width>
<height>22</height>
<label>-</label>
<texturefocus>music-stop-focus2.png</texturefocus>
<texturenofocus>music-stop-nofocus2.png</texturenofocus>
<onleft>401</onleft>
<onright>403</onright>
<onup>402</onup>
<ondown>402</ondown>
<execute>xbmc.playercontrol(stop)</execute>
</control>
<control>
<type>togglebutton</type>
<id>403</id>
<posx>64</posx>
<posy>200</posy>
<width>421</width>
<height>22</height>
<label>-</label>
<texturefocus>music-pause-focus2.png</texturefocus>
<texturenofocus>music-pause-nofocus2.png</texturenofocus>
<usealttexture>player.paused</usealttexture>
<alttexturefocus>music-play-focus2.png</alttexturefocus>
<alttexturenofocus>music-play-nofocus2.png</alttexturenofocus>
<onleft>402</onleft>
<onright>404</onright>
<onup>403</onup>
<ondown>403</ondown>
<execute>xbmc.playercontrol(play)</execute>
</control>
</controls>
tnx in advance as always, i hope you'll find a solution for me soon
cheers, marco.