skin.pellucid/1080i/script-RCB-editscraper.xml

408 lines
20 KiB
XML

<?xml version="1.0"?>
<window id="5200">
<defaultcontrol>7000</defaultcontrol>
<controls>
<!--background-->
<include>globalBackground</include>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>colors/black.png</texture>
<aspectratio>stretch</aspectratio>
<colordiffuse>99ffffff</colordiffuse>
</control>
<!--Settings category-->
<control type="group">
<posx>col-3-begin</posx>
<posy>row-3-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="image">
<posx>-240</posx>
<posy>44</posy>
<width>fullscreenWidth</width>
<height>1-row</height>
<texture>colors/white.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>-3</posx>
<posy>44</posy>
<width>3</width>
<height>1-row</height>
<texture>colors/black.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="label">
<posx>12</posx>
<posy>44</posy>
<width>16-col</width>
<font>dialogTitle</font>
<label>$ADDON[script.games.rom.collection.browser 32999] - $ADDON[script.games.rom.collection.browser 32600]</label>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<!-- Category buttons -->
<control type="panel" id="7000">
<posx>0</posx>
<posy>120</posy>
<width>276</width>
<height>6-row</height>
<onleft/>
<onright>7010</onright>
<onup>7000</onup>
<ondown>7000</ondown>
<pagecontrol>-</pagecontrol>
<itemgap>3</itemgap>
<itemlayout height="1-row" width="4-col">
<control type="label">
<posx>12</posx>
<posy>2</posy>
<width>4-col-gutter</width>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</itemlayout>
<focusedlayout height="1-row" width="4-col">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>4-col</width>
<height>53</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>12</posx>
<posy>2</posy>
<width>4-col-gutter</width>
<font>menuTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
<content>
<item id="1">
<label>$ADDON[script.games.rom.collection.browser 32700]</label>
<onclick>noop</onclick>
</item>
</content>
</control>
<control type="group" id="7010">
<!-- Offline scrapers -->
<control type="group" id="7004">
<posx>4-col</posx>
<posy>120</posy>
<!-- Scraper List -->
<control type="list" id="5600">
<posx>0</posx>
<posy>0</posy>
<width>12-col</width>
<height>1-row</height>
<onleft>7000</onleft>
<onright>8542</onright>
<onup>5600</onup>
<ondown>5600</ondown>
<enable>false</enable>
<itemlayout height="1-row" width="12-col">
<control type="label">
<posx>12</posx>
<posy>0</posy>
<width>10-col</width>
<height>1-row</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<label>$ADDON[script.games.rom.collection.browser 32701]</label>
</control>
<control type="label">
<right>98</right>
<posy>0</posy>
<width>5-col</width>
<height>1-row</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<align>right</align>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="1-row" width="12-col">
<control type="image">
<visible>control.hasfocus(5601) | control.hasfocus(5602)</visible>
<posx>0</posx>
<posy>2</posy>
<width>12-col</width>
<height>53</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>12</posx>
<posy>0</posy>
<width>10-col</width>
<height>1-row</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label>$ADDON[script.games.rom.collection.browser 32701]</label>
</control>
<control type="label">
<right>98</right>
<posy>0</posy>
<width>5-col</width>
<height>1-row</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<align>right</align>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label">
<visible>control.hasfocus(5601) | control.hasfocus(5602)</visible>
<posx>12</posx>
<posy>0</posy>
<width>10-col</width>
<height>1-row</height>
<font>itemTitle</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
<label>$ADDON[script.games.rom.collection.browser 32701]</label>
</control>
<control type="label">
<visible>control.hasfocus(5601) | control.hasfocus(5602)</visible>
<right>98</right>
<posy>0</posy>
<width>5-col</width>
<height>1-row</height>
<font>itemTitle</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
<align>right</align>
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
<control type="button" id="5601">
<description>Menu Item Next Button</description>
<posx>11-col</posx>
<posy>13</posy>
<width>30</width>
<height>30</height>
<texturenofocus>UIControls/arrow-down-nf.png</texturenofocus>
<texturefocus>UIControls/arrow-down-fo.png</texturefocus>
<onclick>Control.Move(5600,1)</onclick>
<onleft>7000</onleft>
<onright>5602</onright>
<ondown>5550</ondown>
</control>
<control type="button" id="5602">
<description>Menu Item Prev Button</description>
<posx>822</posx>
<posy>13</posy>
<width>30</width>
<height>30</height>
<texturenofocus>UIControls/arrow-up-nf.png</texturenofocus>
<texturefocus>UIControls/arrow-up-fo.png</texturefocus>
<onclick>Control.Move(5600,-1)</onclick>
<onleft>5601</onleft>
<onright>8542</onright>
<ondown>5550</ondown>
</control>
<control type="grouplist">
<posx>0</posx>
<posy>1-row</posy>
<width>12-col</width>
<height>11-row</height>
<onleft>7000</onleft>
<onright>8542</onright>
<onup>5602</onup>
<!-- descfile per game -->
<control type="radiobutton" id="5550">
<posx>0</posx>
<posy>60</posy>
<width>12-col</width>
<label>$ADDON[script.games.rom.collection.browser 32702]</label>
<onclick>Skin.ToggleSetting(rcb_editScraper_descFilePerGame)</onclick>
</control>
<control type="button" id="5520">
<description>Path game desc</description>
<align>left</align>
<height>54</height>
<width>12-col</width>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<focusedcolor>black</focusedcolor>
<texturefocus>colors/white.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>12</textoffsetx>
<label>$ADDON[script.games.rom.collection.browser 32703]</label>
<label2>$INFO[ListItem.Label]</label2>
</control>
<control type="button" id="5530">
<enable>Skin.HasSetting(rcb_editScraper_descFilePerGame)</enable>
<description>Game desc file mask</description>
<align>left</align>
<height>54</height>
<width>12-col</width>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<focusedcolor>black</focusedcolor>
<texturefocus>colors/white.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>12</textoffsetx>
<label>$ADDON[script.games.rom.collection.browser 32704]</label>
<label2>$INFO[ListItem.Label]</label2>
</control>
<control type="button" id="5540">
<description>Parse instruction</description>
<align>left</align>
<height>54</height>
<width>12-col</width>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<focusedcolor>black</focusedcolor>
<texturefocus>colors/white.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>12</textoffsetx>
<label>$ADDON[script.games.rom.collection.browser 32705,, - ]$INFO[ListItem.Label]</label>
</control>
<!-- Search by crc -->
<control type="radiobutton" id="5560">
<label>$ADDON[script.games.rom.collection.browser 32706]</label>
</control>
<!-- Use foldername as crc -->
<control type="radiobutton" id="5580">
<label>$ADDON[script.games.rom.collection.browser 32707]</label>
</control>
<!-- Use filename as crc -->
<control type="radiobutton" id="5590">
<label>$ADDON[script.games.rom.collection.browser 32708]</label>
</control>
<!-- Remove scraper -->
<control type="button" id="5610">
<description>Remove scraper</description>
<align>left</align>
<height>54</height>
<width>12-col</width>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<focusedcolor>black</focusedcolor>
<texturefocus>colors/white.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>12</textoffsetx>
<label>$ADDON[script.games.rom.collection.browser 32709]</label>
</control>
<!-- Add scraper -->
<control type="button" id="5620">
<description>Add scraper</description>
<align>left</align>
<height>54</height>
<width>12-col</width>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<focusedcolor>black</focusedcolor>
<texturefocus>colors/white.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>12</textoffsetx>
<label>$ADDON[script.games.rom.collection.browser 32710]</label>
</control>
</control>
</control>
</control>
<!--OK / Cancel-->
<control type="panel" id="8542">
<posx>1164</posx>
<posy>120</posy>
<width>4-col</width>
<height>5-row</height>
<itemgap>3</itemgap>
<orientation>vertical</orientation>
<onleft>5550</onleft>
<itemlayout width="6-col" height="1-row">
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>1-col</width>
<font>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col</posx>
<posy>2</posy>
<width>6-col</width>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</itemlayout>
<focusedlayout width="6-col" height="1-row">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>6-col</width>
<height>53</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>24</posx>
<posy>0</posy>
<width>1-col</width>
<font>symbol</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col</posx>
<posy>2</posy>
<width>6-col</width>
<font>menuTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
<content>
<item id="1">
<description>Ok Button</description>
<label>186</label>
<label2>&#xF479;</label2>
<thumb>-</thumb>
<onclick>SendClick(6000)</onclick>
</item>
<item id="2">
<description>Cancel Button</description>
<label>222</label>
<label2>&#xF478;</label2>
<thumb>-</thumb>
<onclick>SendClick(6010)</onclick>
</item>
</content>
</control>
</control>
<!--ok, cancel etc buttons-->
<control type="group">
<visible>false</visible>
<control type="button" id="6000">
<description>Save Button</description>
</control>
<control type="button" id="6010">
<description>Cancel Button</description>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>WindowID</include>
<label>script-RCB-editscraper.xml</label>
</control>
</controls>
</window>