DialogAddonSettings rework

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

View File

@ -1,107 +1,69 @@
<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="image"> <control type="group">
<description>background image</description> <description>Dialog Background and Header</description>
<posx>0</posx> <control type="image">
<posy>0</posy> <description>background image</description>
<width>950</width>
<height>660</height>
<texture border="40">DialogBack.png</texture>
<animation effect="fade" start="90" end="90" time="0" condition="Window.IsVisible(Visualisation)">Conditional</animation>
</control>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>950</width>
<height>650</height>
<texture border="40">DialogFront.png</texture>
</control>
<control type="label" id="20">
<description>heading label</description>
<posx>40</posx>
<posy>40</posy>
<width>870</width>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
<font>font18</font>
<label>$LOCALIZE[24003]</label>
<textcolor>dialogheader</textcolor>
</control>
<control type="button">
<description>Close Window button</description>
<posx>880</posx>
<posy>35</posy>
<include>WindowCloseButtonCommons</include>
</control>
<control type="image">
<posx>40</posx>
<posy>79</posy>
<width>870</width>
<height>4</height>
<texture>separator.png</texture>
</control>
<control type="grouplist" id="9">
<description>Button area</description>
<posx>705</posx>
<posy>95</posy>
<width>200</width>
<height>390</height>
<itemgap>5</itemgap>
<pagecontrol>-</pagecontrol>
<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>
</control>
<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>
<posx>0</posx> <posx>0</posx>
<posy>0</posy> <posy>0</posy>
<width>950</width>
<height>660</height>
<texture border="40">DialogBack.png</texture>
<animation effect="fade" start="90" end="90" time="0" condition="Window.IsVisible(Visualisation)">Conditional</animation>
</control>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>950</width>
<height>650</height>
<texture border="40">DialogFront.png</texture>
</control>
<control type="label" id="2">
<description>heading label</description>
<posx>40</posx>
<posy>40</posy>
<width>870</width>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
<font>font18</font>
<label></label>
<textcolor>dialogheader</textcolor>
</control>
<control type="button">
<description>Close Window button</description>
<posx>880</posx>
<posy>35</posy>
<include>WindowCloseButtonCommons</include>
</control>
<control type="image">
<posx>40</posx>
<posy>79</posy>
<width>870</width>
<height>4</height>
<texture>separator.png</texture>
</control>
</control>
<control type="grouplist" id="9001">
<description>OK, Cancel and Default buttons</description>
<left>0</left>
<top>520</top>
<width>950</width>
<height>35</height>
<align>center</align>
<itemgap>5</itemgap>
<orientation>horizontal</orientation>
<animation effect="slide" start="0,0" end="-10,0" time="0" condition="!Control.IsVisible(60)">Conditional</animation>
<control type="button" id="28">
<description>OK Button</description>
<posy>0</posy>
<width>200</width> <width>200</width>
<height>35</height> <height>35</height>
<font>font12</font> <font>font12</font>
@ -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>
<align>center</align> <left>0</left>
<aligny>center</aligny> <top>0</top>
<font>font12</font> <width>759</width>
<texturefocus border="3">button-focus2.png</texturefocus> <height>40</height>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <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>
<aligny>center</aligny>
<font>font12</font>
<texturefocus border="3">button-focus2.png</texturefocus>
<texturenofocus border="3">button-nofocus.png</texturenofocus>
<pulseonselect>false</pulseonselect>
</control>
</control> </control>
<control type="button" id="3"> <control type="group">
<description>Default Button</description> <control type="grouplist" id="5">
<height>35</height> <description>control area</description>
<font>font12</font> <left>70</left>
<texturefocus border="3">button-focus.png</texturefocus> <top>150</top>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <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>
<control type="radiobutton" id="4"> <control type="button" id="7">
<description>Default RadioButton</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="spincontrolex" id="5"> <control type="radiobutton" id="8">
<description>Default spincontrolex</description> <description>Default RadioButton</description>
<height>35</height> <height>40</height>
<texturefocus border="3">button-focus.png</texturefocus> <font>font13</font>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <textwidth>695</textwidth>
<font>font12</font> <texturefocus border="5">button-focus2.png</texturefocus>
<aligny>center</aligny> <texturenofocus border="3">button-nofocus.png</texturenofocus>
<reverse>yes</reverse> </control>
</control> <control type="spincontrolex" id="9">
<control type="sliderex" id="8"> <description>Default SpinControlex</description>
<description>Default Slider</description> <height>40</height>
<height>35</height> <font>font13</font>
<texturefocus border="3">button-focus.png</texturefocus> <textcolor>grey2</textcolor>
<texturenofocus border="3">button-nofocus.png</texturenofocus> <focusedcolor>white</focusedcolor>
<font>font12</font> <texturenofocus border="5">button-nofocus.png</texturenofocus>
<textcolor>grey2</textcolor> <texturefocus border="5">button-focus2.png</texturefocus>
<focusedcolor>white</focusedcolor> <aligny>center</aligny>
</control> </control>
<control type="image" id="6"> <control type="image" id="11">
<description>Default Seperator</description> <description>separator image</description>
<height>2</height> <height>2</height>
<texture>separator.png</texture> <texture>separator2.png</texture>
</control> </control>
<control type="label" id="7"> <control type="edit" id="12">
<description>Separator label</description> <description>Default Edit</description>
<label></label> <height>40</height>
<height>25</height> <font>font13</font>
<font>font12</font> <textcolor>grey2</textcolor>
<align>center</align> <focusedcolor>white</focusedcolor>
<aligny>bottom</aligny> <texturenofocus border="5">button-nofocus.png</texturenofocus>
<textcolor>green</textcolor> <texturefocus border="5">button-focus2.png</texturefocus>
</control>
<control type="sliderex" id="13">
<description>Default Slider</description>
<height>40</height>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<texturefocus border="5">button-focus2.png</texturefocus>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
</control>
</control> </control>
</controls> </controls>
</window> </window>