Added code to display the Pokémon image when choosing the Pokémon, and the team log when choosing the team. The Pokémon images are not fully-processed yet.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
|
||||
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="DlgMain" dlg:left="188" dlg:top="92" dlg:width="220" dlg:height="185" dlg:help-text="&2.DlgMain.HelpText" dlg:closeable="true" dlg:moveable="true" dlg:title="&3.DlgMain.Title">
|
||||
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="DlgMain" dlg:left="188" dlg:top="92" dlg:width="220" dlg:height="215" dlg:help-text="&2.DlgMain.HelpText" dlg:closeable="true" dlg:moveable="true" dlg:title="&3.DlgMain.Title">
|
||||
<dlg:styles>
|
||||
<dlg:style dlg:style-id="0" dlg:background-color="0xff0000" dlg:text-color="0xffffff" dlg:font-weight="100"/>
|
||||
<dlg:style dlg:style-id="1" dlg:background-color="0xff" dlg:text-color="0xffffff"/>
|
||||
@ -8,8 +8,8 @@
|
||||
<dlg:style dlg:style-id="3" dlg:border="none"/>
|
||||
</dlg:styles>
|
||||
<dlg:bulletinboard>
|
||||
<dlg:text dlg:id="txtPokemon" dlg:tab-index="16" dlg:left="5" dlg:top="6" dlg:width="30" dlg:height="8" dlg:help-text="&22.DlgMain.txtPokemon.HelpText" dlg:value="&23.DlgMain.txtPokemon.Label"/>
|
||||
<dlg:menulist dlg:id="lstPokemon" dlg:tab-index="0" dlg:left="35" dlg:top="4" dlg:width="50" dlg:height="12" dlg:help-text="&171.DlgMain.lstPokemon.HelpText" dlg:spin="true">
|
||||
<dlg:text dlg:id="txtPokemon" dlg:tab-index="16" dlg:left="5" dlg:top="21" dlg:width="30" dlg:height="8" dlg:help-text="&22.DlgMain.txtPokemon.HelpText" dlg:value="&23.DlgMain.txtPokemon.Label"/>
|
||||
<dlg:menulist dlg:id="lstPokemon" dlg:tab-index="0" dlg:left="35" dlg:top="19" dlg:width="50" dlg:height="12" dlg:help-text="&171.DlgMain.lstPokemon.HelpText" dlg:spin="true">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="Bulbasaur"/>
|
||||
<dlg:menuitem dlg:value="Ivysaur"/>
|
||||
@ -132,8 +132,7 @@
|
||||
<dlg:menuitem dlg:value="Seaking"/>
|
||||
<dlg:menuitem dlg:value="Staryu"/>
|
||||
<dlg:menuitem dlg:value="Starmie"/>
|
||||
<dlg:menuitem dlg:value="Mr."/>
|
||||
<dlg:menuitem dlg:value="Mime"/>
|
||||
<dlg:menuitem dlg:value="Mr. Mime"/>
|
||||
<dlg:menuitem dlg:value="Scyther"/>
|
||||
<dlg:menuitem dlg:value="Jynx"/>
|
||||
<dlg:menuitem dlg:value="Electabuzz"/>
|
||||
@ -164,18 +163,18 @@
|
||||
<dlg:menuitem dlg:value="Mewtwo"/>
|
||||
<dlg:menuitem dlg:value="Mew"/>
|
||||
</dlg:menupopup>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck_itemStateChanged?language=Basic&location=application" script:language="Script"/>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subLstPokemonSelected?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="txtCP" dlg:tab-index="17" dlg:left="5" dlg:top="21" dlg:width="15" dlg:height="8" dlg:help-text="&26.DlgMain.txtCP.HelpText" dlg:value="&27.DlgMain.txtCP.Label"/>
|
||||
<dlg:numericfield dlg:id="numCP" dlg:tab-index="1" dlg:left="20" dlg:top="19" dlg:width="20" dlg:height="12" dlg:help-text="&28.DlgMain.numCP.HelpText" dlg:decimal-accuracy="0" dlg:value-min="10" dlg:value-max="5000">
|
||||
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck_textChanged?language=Basic&location=application" script:language="Script"/>
|
||||
<dlg:text dlg:id="txtCP" dlg:tab-index="17" dlg:left="5" dlg:top="36" dlg:width="15" dlg:height="8" dlg:help-text="&26.DlgMain.txtCP.HelpText" dlg:value="&27.DlgMain.txtCP.Label"/>
|
||||
<dlg:numericfield dlg:id="numCP" dlg:tab-index="1" dlg:left="20" dlg:top="34" dlg:width="20" dlg:height="12" dlg:help-text="&28.DlgMain.numCP.HelpText" dlg:decimal-accuracy="0" dlg:value-min="10" dlg:value-max="5000">
|
||||
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:numericfield>
|
||||
<dlg:text dlg:id="txtHP" dlg:tab-index="18" dlg:left="50" dlg:top="21" dlg:width="15" dlg:height="8" dlg:help-text="&29.DlgMain.txtHP.HelpText" dlg:value="&30.DlgMain.txtHP.Label"/>
|
||||
<dlg:numericfield dlg:id="numHP" dlg:tab-index="2" dlg:left="65" dlg:top="19" dlg:width="15" dlg:height="12" dlg:help-text="&31.DlgMain.numHP.HelpText" dlg:decimal-accuracy="0" dlg:value-min="0" dlg:value-max="200">
|
||||
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck_textChanged?language=Basic&location=application" script:language="Script"/>
|
||||
<dlg:text dlg:id="txtHP" dlg:tab-index="18" dlg:left="50" dlg:top="36" dlg:width="15" dlg:height="8" dlg:help-text="&29.DlgMain.txtHP.HelpText" dlg:value="&30.DlgMain.txtHP.Label"/>
|
||||
<dlg:numericfield dlg:id="numHP" dlg:tab-index="2" dlg:left="65" dlg:top="34" dlg:width="15" dlg:height="12" dlg:help-text="&31.DlgMain.numHP.HelpText" dlg:decimal-accuracy="0" dlg:value-min="0" dlg:value-max="200">
|
||||
<script:event script:event-name="on-textchange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:numericfield>
|
||||
<dlg:text dlg:id="txtStarDust" dlg:tab-index="19" dlg:left="90" dlg:top="21" dlg:width="30" dlg:height="8" dlg:help-text="&32.DlgMain.txtStarDust.HelpText" dlg:value="&33.DlgMain.txtStarDust.Label"/>
|
||||
<dlg:menulist dlg:id="lstStarDust" dlg:tab-index="3" dlg:left="120" dlg:top="19" dlg:width="30" dlg:height="12" dlg:help-text="&162.DlgMain.lstStarDust.HelpText" dlg:spin="true">
|
||||
<dlg:text dlg:id="txtStarDust" dlg:tab-index="19" dlg:left="90" dlg:top="36" dlg:width="30" dlg:height="8" dlg:help-text="&32.DlgMain.txtStarDust.HelpText" dlg:value="&33.DlgMain.txtStarDust.Label"/>
|
||||
<dlg:menulist dlg:id="lstStarDust" dlg:tab-index="3" dlg:left="120" dlg:top="34" dlg:width="30" dlg:height="12" dlg:help-text="&162.DlgMain.lstStarDust.HelpText" dlg:spin="true">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="200"/>
|
||||
<dlg:menuitem dlg:value="400"/>
|
||||
@ -198,10 +197,10 @@
|
||||
<dlg:menuitem dlg:value="9000"/>
|
||||
<dlg:menuitem dlg:value="10000"/>
|
||||
</dlg:menupopup>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck_itemStateChanged?language=Basic&location=application" script:language="Script"/>
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subBtnOKCheck?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="txtPlayerLevel" dlg:tab-index="20" dlg:left="160" dlg:top="21" dlg:width="35" dlg:height="8" dlg:help-text="&40.DlgMain.txtPlayerLevel.HelpText" dlg:value="&41.DlgMain.txtPlayerLevel.Label"/>
|
||||
<dlg:menulist dlg:id="lstPlayerLevel" dlg:tab-index="4" dlg:left="195" dlg:top="19" dlg:width="20" dlg:height="12" dlg:help-text="&163.DlgMain.lstPlayerLevel.HelpText" dlg:spin="true">
|
||||
<dlg:text dlg:id="txtPlayerLevel" dlg:tab-index="20" dlg:left="160" dlg:top="36" dlg:width="35" dlg:height="8" dlg:help-text="&40.DlgMain.txtPlayerLevel.HelpText" dlg:value="&41.DlgMain.txtPlayerLevel.Label"/>
|
||||
<dlg:menulist dlg:id="lstPlayerLevel" dlg:tab-index="4" dlg:left="195" dlg:top="34" dlg:width="20" dlg:height="12" dlg:help-text="&163.DlgMain.lstPlayerLevel.HelpText" dlg:spin="true">
|
||||
<dlg:menupopup>
|
||||
<dlg:menuitem dlg:value="1"/>
|
||||
<dlg:menuitem dlg:value="2"/>
|
||||
@ -245,33 +244,34 @@
|
||||
<dlg:menuitem dlg:value="40"/>
|
||||
</dlg:menupopup>
|
||||
</dlg:menulist>
|
||||
<dlg:checkbox dlg:id="cbxIsNew" dlg:tab-index="5" dlg:left="5" dlg:top="36" dlg:width="210" dlg:height="8" dlg:help-text="&46.DlgMain.cbxIsNew.HelpText" dlg:value="&47.DlgMain.cbxIsNew.Label" dlg:checked="true"/>
|
||||
<dlg:titledbox dlg:id="grpApprasals" dlg:tab-index="21" dlg:left="5" dlg:top="50" dlg:width="210" dlg:height="110" dlg:help-text="&50.DlgMain.grpApprasals.HelpText">
|
||||
<dlg:checkbox dlg:id="cbxIsNew" dlg:tab-index="5" dlg:left="5" dlg:top="51" dlg:width="210" dlg:height="8" dlg:help-text="&46.DlgMain.cbxIsNew.HelpText" dlg:value="&47.DlgMain.cbxIsNew.Label" dlg:checked="true"/>
|
||||
<dlg:titledbox dlg:id="grpApprasals" dlg:tab-index="21" dlg:left="5" dlg:top="65" dlg:width="210" dlg:height="125" dlg:help-text="&50.DlgMain.grpApprasals.HelpText">
|
||||
<dlg:title dlg:value="&51.DlgMain.grpApprasals.Label"/>
|
||||
</dlg:titledbox>
|
||||
<dlg:text dlg:id="txtTeam" dlg:tab-index="22" dlg:left="10" dlg:top="66" dlg:width="20" dlg:height="8" dlg:help-text="&180.DlgMain.txtTeam.HelpText" dlg:value="&181.DlgMain.txtTeam.Label"/>
|
||||
<dlg:text dlg:id="txtTeam" dlg:tab-index="22" dlg:left="10" dlg:top="96" dlg:width="20" dlg:height="8" dlg:help-text="&180.DlgMain.txtTeam.HelpText" dlg:value="&181.DlgMain.txtTeam.Label"/>
|
||||
<dlg:radiogroup>
|
||||
<dlg:radio dlg:style-id="0" dlg:id="rdoTeamRed" dlg:tab-index="6" dlg:left="30" dlg:top="66" dlg:width="25" dlg:height="8" dlg:help-text="&182.DlgMain.rdoTeamRed.HelpText" dlg:value="&183.DlgMain.rdoTeamRed.Label">
|
||||
<dlg:radio dlg:style-id="0" dlg:id="rdoTeamRed" dlg:tab-index="6" dlg:left="30" dlg:top="96" dlg:width="25" dlg:height="8" dlg:help-text="&182.DlgMain.rdoTeamRed.HelpText" dlg:value="&183.DlgMain.rdoTeamRed.Label">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subRdoTeamRedItemChanged_itemStateChanged?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:radio>
|
||||
<dlg:radio dlg:style-id="1" dlg:id="rdoTeamBlue" dlg:tab-index="7" dlg:left="60" dlg:top="66" dlg:width="30" dlg:height="8" dlg:help-text="&184.DlgMain.rdoTeamBlue.HelpText" dlg:value="&185.DlgMain.rdoTeamBlue.Label">
|
||||
<dlg:radio dlg:style-id="1" dlg:id="rdoTeamBlue" dlg:tab-index="7" dlg:left="60" dlg:top="96" dlg:width="30" dlg:height="8" dlg:help-text="&184.DlgMain.rdoTeamBlue.HelpText" dlg:value="&185.DlgMain.rdoTeamBlue.Label">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subRdoTeamBlueItemChanged_itemStateChanged?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:radio>
|
||||
<dlg:radio dlg:style-id="2" dlg:id="rdoTeamYellow" dlg:tab-index="8" dlg:left="95" dlg:top="66" dlg:width="30" dlg:height="8" dlg:help-text="&186.DlgMain.rdoTeamYellow.HelpText" dlg:value="&187.DlgMain.rdoTeamYellow.Label">
|
||||
<dlg:radio dlg:style-id="2" dlg:id="rdoTeamYellow" dlg:tab-index="8" dlg:left="95" dlg:top="96" dlg:width="30" dlg:height="8" dlg:help-text="&186.DlgMain.rdoTeamYellow.HelpText" dlg:value="&187.DlgMain.rdoTeamYellow.Label">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subRdoTeamYellowItemChanged_itemStateChanged?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:radio>
|
||||
</dlg:radiogroup>
|
||||
<dlg:img dlg:style-id="3" dlg:id="imgTeam" dlg:tab-index="25" dlg:left="130" dlg:top="55" dlg:width="20" dlg:height="20" dlg:help-text="&207.DlgMain.imgTeam.HelpText"/>
|
||||
<dlg:menulist dlg:id="lstApprasal1" dlg:tab-index="9" dlg:left="10" dlg:top="79" dlg:width="200" dlg:height="12" dlg:help-text="&164.DlgMain.lstApprasal1.HelpText" dlg:spin="true"/>
|
||||
<dlg:text dlg:id="txtBestBefore" dlg:tab-index="23" dlg:left="10" dlg:top="96" dlg:width="20" dlg:height="8" dlg:help-text="&194.DlgMain.txtBestBefore.HelpText"/>
|
||||
<dlg:menulist dlg:id="lstBest" dlg:tab-index="10" dlg:left="30" dlg:top="94" dlg:width="35" dlg:height="12" dlg:help-text="&193.DlgMain.lstBest.HelpText" dlg:spin="true">
|
||||
<dlg:img dlg:style-id="3" dlg:id="imgTeam" dlg:tab-index="25" dlg:left="180" dlg:top="75" dlg:width="30" dlg:height="30" dlg:help-text="&207.DlgMain.imgTeam.HelpText"/>
|
||||
<dlg:menulist dlg:id="lstApprasal1" dlg:tab-index="9" dlg:left="10" dlg:top="109" dlg:width="200" dlg:height="12" dlg:help-text="&164.DlgMain.lstApprasal1.HelpText" dlg:spin="true"/>
|
||||
<dlg:text dlg:id="txtBestBefore" dlg:tab-index="23" dlg:left="10" dlg:top="126" dlg:width="20" dlg:height="8" dlg:help-text="&194.DlgMain.txtBestBefore.HelpText"/>
|
||||
<dlg:menulist dlg:id="lstBest" dlg:tab-index="10" dlg:left="30" dlg:top="124" dlg:width="35" dlg:height="12" dlg:help-text="&193.DlgMain.lstBest.HelpText" dlg:spin="true">
|
||||
<script:event script:event-name="on-itemstatechange" script:macro-name="vnd.sun.star.script:PokemonGoIV.0Main.subLstBestItemChanged_itemStateChanged?language=Basic&location=application" script:language="Script"/>
|
||||
</dlg:menulist>
|
||||
<dlg:text dlg:id="txtBestAfter" dlg:tab-index="24" dlg:left="65" dlg:top="96" dlg:width="100" dlg:height="8" dlg:help-text="&195.DlgMain.txtBestAfter.HelpText"/>
|
||||
<dlg:checkbox dlg:id="cbxBest2" dlg:tab-index="11" dlg:left="10" dlg:top="111" dlg:width="200" dlg:height="8" dlg:help-text="&201.DlgMain.cbxBest2.HelpText" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="cbxBest3" dlg:tab-index="12" dlg:left="10" dlg:top="126" dlg:width="200" dlg:height="8" dlg:help-text="&203.DlgMain.cbxBest3.HelpText" dlg:checked="false"/>
|
||||
<dlg:menulist dlg:id="lstApprasal2" dlg:tab-index="13" dlg:left="10" dlg:top="139" dlg:width="200" dlg:height="12" dlg:help-text="&165.DlgMain.lstApprasal2.HelpText" dlg:spin="true"/>
|
||||
<dlg:button dlg:id="btnOK" dlg:tab-index="14" dlg:disabled="true" dlg:left="35" dlg:top="165" dlg:width="60" dlg:height="15" dlg:help-text="&85.DlgMain.btnOK.HelpText" dlg:default="true" dlg:button-type="ok"/>
|
||||
<dlg:button dlg:id="btnCancel" dlg:tab-index="15" dlg:left="125" dlg:top="165" dlg:width="60" dlg:height="15" dlg:help-text="&87.DlgMain.btnCancel.HelpText" dlg:button-type="cancel"/>
|
||||
<dlg:text dlg:id="txtBestAfter" dlg:tab-index="24" dlg:left="65" dlg:top="126" dlg:width="100" dlg:height="8" dlg:help-text="&195.DlgMain.txtBestAfter.HelpText"/>
|
||||
<dlg:checkbox dlg:id="cbxBest2" dlg:tab-index="11" dlg:left="10" dlg:top="141" dlg:width="200" dlg:height="8" dlg:help-text="&201.DlgMain.cbxBest2.HelpText" dlg:checked="false"/>
|
||||
<dlg:checkbox dlg:id="cbxBest3" dlg:tab-index="12" dlg:left="10" dlg:top="156" dlg:width="200" dlg:height="8" dlg:help-text="&203.DlgMain.cbxBest3.HelpText" dlg:checked="false"/>
|
||||
<dlg:menulist dlg:id="lstApprasal2" dlg:tab-index="13" dlg:left="10" dlg:top="169" dlg:width="200" dlg:height="12" dlg:help-text="&165.DlgMain.lstApprasal2.HelpText" dlg:spin="true"/>
|
||||
<dlg:button dlg:id="btnOK" dlg:tab-index="14" dlg:disabled="true" dlg:left="35" dlg:top="195" dlg:width="60" dlg:height="15" dlg:help-text="&85.DlgMain.btnOK.HelpText" dlg:default="true" dlg:button-type="ok"/>
|
||||
<dlg:button dlg:id="btnCancel" dlg:tab-index="15" dlg:left="125" dlg:top="195" dlg:width="60" dlg:height="15" dlg:help-text="&87.DlgMain.btnCancel.HelpText" dlg:button-type="cancel"/>
|
||||
<dlg:img dlg:style-id="3" dlg:id="imgPokemon" dlg:tab-index="26" dlg:left="90" dlg:top="0" dlg:width="30" dlg:height="30" dlg:help-text="&209.DlgMain.imgPokemon.HelpText"/>
|
||||
</dlg:bulletinboard>
|
||||
</dlg:window>
|
||||
</dlg:window>
|
||||
|
Reference in New Issue
Block a user