2010-04-05, 21:24
I have created a custom window for use with the PM3.HD skin that displays system time etc when OnClick activated by the Button Menu. I want this to stay onscreen until I click the same Button Menu button again, but since the custom window has focus it renders XBMC unusable until you press the back button on controller/remote.
Is there a way to make this control never have focus, so it just overlays itself on all windows and makes the GUI behave normally?
Here's a copy of the xml file...
Is there a way to make this control never have focus, so it just overlays itself on all windows and makes the GUI behave normally?
Here's a copy of the xml file...
Quote:<window type="dialog" id="4567">
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<controls>
<!-- OSD -->
<control type="image" id="150">
<description>media info background image 2</description>
<posx>0</posx>
<posy>693</posy>
<width>1290</width>
<height>100</height>
<texture>black-back.png</texture>
</control>
<control type="label" id="16101">
<description>always visible temps</description>
<posx>660</posx>
<posy>693</posy>
<label>CPU: $INFO[System.CPUTemperature] ($INFO[System.CPUUsage]), GPU:
$INFO[System.GPUTemperature], HDD: $INFO[System.HDDTemperature], Fan: $INFO[System.FanSpeed]</label>
<textcolor>white</textcolor>
<align>center</align>
<font>font8</font>
</control>
<control type="label" id="170">
<description>always visible player time</description>
<visible>Player.HasMedia</visible>
<posx>1260</posx>
<posy>693</posy>
<label>$INFO[VideoPlayer.Time]$INFO[Player.Duration, / ]</label>
<textcolor>green</textcolor>
<align>right</align>
<font>font8</font>
</control>
<control type="label" id="171">
<description>always visible no player</description>
<visible>!Player.HasMedia</visible>
<posx>1260</posx>
<posy>693</posy>
<label>No file loaded</label>
<textcolor>green</textcolor>
<align>right</align>
<font>font8</font>
</control>
<control type="label" id="180">
<description>always visible system time</description>
<visible>!System.HasAlarm(shutdowntimer)</visible>
<posx>10</posx>
<posy>693</posy>
<label>$INFO[System.Time]</label>
<textcolor>green</textcolor>
<align>left</align>
<font>font8</font>
</control>
<control type="label" id="190">
<description>always visible system time & shutdown</description>
<visible>System.HasAlarm(shutdowntimer)</visible>
<posx>10</posx>
<posy>693</posy>
<label>$INFO[System.Time] (Shutdown Timer: $INFO[System.Alarmpos])</label>
<textcolor>green</textcolor>
<align>left</align>
<font>font8</font>
</control>
</controls>
</window>