DialogAddonSettings rework

This commit is contained in:
DaVukovic 2019-06-21 09:56:57 +02:00
parent 8d481e9da0
commit 0a4fac2df1

View File

@ -1,12 +1,13 @@
<window> <window>
<defaultcontrol>9</defaultcontrol> <defaultcontrol>9</defaultcontrol>
<coordinates> <coordinates>
<system>1</system>
<posx>165</posx> <posx>165</posx>
<posy>35</posy> <posy>35</posy>
</coordinates> </coordinates>
<include>dialogeffect</include> <include>dialogeffect</include>
<controls> <controls>
<control type="group">
<description>Dialog Background and Header</description>
<control type="image"> <control type="image">
<description>background image</description> <description>background image</description>
<posx>0</posx> <posx>0</posx>
@ -24,7 +25,7 @@
<height>650</height> <height>650</height>
<texture border="40">DialogFront.png</texture> <texture border="40">DialogFront.png</texture>
</control> </control>
<control type="label" id="20"> <control type="label" id="2">
<description>heading label</description> <description>heading label</description>
<posx>40</posx> <posx>40</posx>
<posy>40</posy> <posy>40</posy>
@ -33,7 +34,7 @@
<align>center</align> <align>center</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font18</font> <font>font18</font>
<label>$LOCALIZE[24003]</label> <label></label>
<textcolor>dialogheader</textcolor> <textcolor>dialogheader</textcolor>
</control> </control>
<control type="button"> <control type="button">
@ -49,58 +50,19 @@
<height>4</height> <height>4</height>
<texture>separator.png</texture> <texture>separator.png</texture>
</control> </control>
<control type="grouplist" id="9"> </control>
<description>Button area</description> <control type="grouplist" id="9001">
<posx>705</posx> <description>OK, Cancel and Default buttons</description>
<posy>95</posy> <left>0</left>
<width>200</width> <top>520</top>
<height>390</height> <width>950</width>
<height>35</height>
<align>center</align>
<itemgap>5</itemgap> <itemgap>5</itemgap>
<pagecontrol>-</pagecontrol> <orientation>horizontal</orientation>
<onup>12</onup>
<ondown>10</ondown>
<onleft>60</onleft>
<onright>2</onright>
<animation effect="slide" start="0,0" end="-10,0" time="0" condition="!Control.IsVisible(60)">Conditional</animation> <animation effect="slide" start="0,0" end="-10,0" time="0" condition="!Control.IsVisible(60)">Conditional</animation>
</control> <control type="button" id="28">
<control type="grouplist" id="2">
<description>control area</description>
<posx>40</posx>
<posy>95</posy>
<width>635</width>
<height>510</height>
<itemgap>5</itemgap>
<pagecontrol>60</pagecontrol>
<onup>2</onup>
<ondown>2</ondown>
<onleft>9</onleft>
<onright>60</onright>
<animation effect="slide" start="0,0" end="10,0" time="0" condition="!Control.IsVisible(60)">Conditional</animation>
</control>
<control type="scrollbar" id="60">
<posx>680</posx>
<posy>95</posy>
<width>20</width>
<height>510</height>
<texturesliderbackground border="2,2,2,2">scrollbar_bar_back2.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">scrollbar_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">scrollbar_bar_focus.png</texturesliderbarfocus>
<textureslidernib>scrollbar_nib.png</textureslidernib>
<textureslidernibfocus>scrollbar_nib.png</textureslidernibfocus>
<onleft>2</onleft>
<onright>9</onright>
<ondown>60</ondown>
<onup>60</onup>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="group" id="9001">
<posx>705</posx>
<posy>490</posy>
<animation effect="slide" start="0,0" end="-10,0" time="0" condition="!Control.IsVisible(60)">Conditional</animation>
<control type="button" id="10">
<description>OK Button</description> <description>OK Button</description>
<posx>0</posx>
<posy>0</posy> <posy>0</posy>
<width>200</width> <width>200</width>
<height>35</height> <height>35</height>
@ -110,15 +72,14 @@
<texturefocus border="3">button-focus2.png</texturefocus> <texturefocus border="3">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturenofocus border="3">button-nofocus.png</texturenofocus>
<label>186</label> <label>186</label>
<onleft>60</onleft> <onleft>30</onleft>
<onright>2</onright> <onright>29</onright>
<onup>9</onup> <onup>5</onup>
<ondown>11</ondown> <ondown>5</ondown>
</control> </control>
<control type="button" id="11"> <control type="button" id="29">
<description>Cancel Button</description> <description>Cancel Button</description>
<posx>0</posx> <posy>0</posy>
<posy>40</posy>
<width>200</width> <width>200</width>
<height>35</height> <height>35</height>
<font>font12</font> <font>font12</font>
@ -127,15 +88,14 @@
<texturefocus border="3">button-focus2.png</texturefocus> <texturefocus border="3">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturenofocus border="3">button-nofocus.png</texturenofocus>
<label>222</label> <label>222</label>
<onleft>60</onleft> <onleft>28</onleft>
<onright>2</onright> <onright>29</onright>
<onup>10</onup> <onup>5</onup>
<ondown>12</ondown> <ondown>5</ondown>
</control> </control>
<control type="button" id="12"> <control type="button" id="30">
<description>Defaults Button</description> <description>Defaults Button</description>
<posx>0</posx> <posy>0</posy>
<posy>80</posy>
<width>200</width> <width>200</width>
<height>35</height> <height>35</height>
<font>font12</font> <font>font12</font>
@ -144,68 +104,121 @@
<texturefocus border="3">button-focus2.png</texturefocus> <texturefocus border="3">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturenofocus border="3">button-nofocus.png</texturenofocus>
<label>409</label> <label>409</label>
<onleft>60</onleft> <onleft>29</onleft>
<onright>2</onright> <onright>28</onright>
<onup>11</onup> <onup>5</onup>
<ondown>9</ondown> <ondown>5</ondown>
</control> </control>
</control> </control>
<control type="group">
<control type="button" id="13"> <left>90</left>
<description>Default Catagory Button</description> <top>90</top>
<width>200</width> <control type="grouplist" id="3">
<height>35</height> <description>Categories Area</description>
<left>0</left>
<top>0</top>
<width>759</width>
<height>40</height>
<itemgap>5</itemgap>
<align>center</align>
<orientation>horizontal</orientation>
<onleft>3</onleft>
<onright>3</onright>
<onup>9001</onup>
<ondown>5</ondown>
</control>
<control type="button" id="10">
<description>Default Category Button</description>
<width>186</width>
<height>40</height>
<textoffsetx>20</textoffsetx>
<align>center</align> <align>center</align>
<aligny>center</aligny> <aligny>center</aligny>
<font>font12</font> <font>font12</font>
<texturefocus border="3">button-focus2.png</texturefocus> <texturefocus border="3">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturenofocus border="3">button-nofocus.png</texturenofocus>
<pulseonselect>false</pulseonselect>
</control> </control>
<control type="button" id="3"> </control>
<control type="group">
<control type="grouplist" id="5">
<description>control area</description>
<left>70</left>
<top>150</top>
<width>800</width>
<height>360</height>
<itemgap>5</itemgap>
<pagecontrol>60</pagecontrol>
<onup>3</onup>
<ondown>9001</ondown>
<onleft>9001</onleft>
<onright>60</onright>
</control>
<control type="scrollbar" id="60">
<posx>880</posx>
<posy>150</posy>
<width>20</width>
<height>360</height>
<texturesliderbackground border="2,2,2,2">scrollbar_bar_back2.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">scrollbar_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">scrollbar_bar_focus.png</texturesliderbarfocus>
<textureslidernib>scrollbar_nib.png</textureslidernib>
<textureslidernibfocus>scrollbar_nib.png</textureslidernibfocus>
<onleft>5</onleft>
<onright>5</onright>
<ondown>60</ondown>
<onup>60</onup>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="button" id="7">
<description>Default Button</description> <description>Default Button</description>
<height>35</height> <height>40</height>
<font>font12</font> <font>font13</font>
<texturefocus border="3">button-focus.png</texturefocus> <texturefocus border="5">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturenofocus border="3">button-nofocus.png</texturenofocus>
</control> </control>
<control type="radiobutton" id="4"> <control type="radiobutton" id="8">
<description>Default RadioButton</description> <description>Default RadioButton</description>
<height>35</height> <height>40</height>
<font>font12</font> <font>font13</font>
<texturefocus border="3">button-focus.png</texturefocus> <textwidth>695</textwidth>
<texturefocus border="5">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturenofocus border="3">button-nofocus.png</texturenofocus>
</control> </control>
<control type="spincontrolex" id="5"> <control type="spincontrolex" id="9">
<description>Default spincontrolex</description> <description>Default SpinControlex</description>
<height>35</height> <height>40</height>
<texturefocus border="3">button-focus.png</texturefocus> <font>font13</font>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <textcolor>grey2</textcolor>
<font>font12</font> <focusedcolor>white</focusedcolor>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<aligny>center</aligny> <aligny>center</aligny>
<reverse>yes</reverse>
</control> </control>
<control type="sliderex" id="8"> <control type="image" id="11">
<description>separator image</description>
<height>2</height>
<texture>separator2.png</texture>
</control>
<control type="edit" id="12">
<description>Default Edit</description>
<height>40</height>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
</control>
<control type="sliderex" id="13">
<description>Default Slider</description> <description>Default Slider</description>
<height>35</height> <height>40</height>
<texturefocus border="3">button-focus.png</texturefocus> <texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <texturefocus border="5">button-focus2.png</texturefocus>
<font>font12</font> <font>font13</font>
<textcolor>grey2</textcolor> <textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor> <focusedcolor>white</focusedcolor>
</control> </control>
<control type="image" id="6">
<description>Default Seperator</description>
<height>2</height>
<texture>separator.png</texture>
</control>
<control type="label" id="7">
<description>Separator label</description>
<label></label>
<height>25</height>
<font>font12</font>
<align>center</align>
<aligny>bottom</aligny>
<textcolor>green</textcolor>
</control> </control>
</controls> </controls>
</window> </window>