Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Give more sensible name to some of the optional parameters of the Hot…
…Spot

connector
  • Loading branch information
torinfo committed Jun 14, 2015
1 parent 52244e9 commit f47e955
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions modules/xerte/parent_templates/Nottingham/wizards/en-GB/data.xwd
Expand Up @@ -458,20 +458,20 @@
</connectorHotspotImage><cHotspot menuItem="Hotspot" label="Edit Hotspot" type="hotSpot" icon="icLayers" remove="true">
<name label="Title" type="TextInput" wysiwyg="true"/>

<destination label="Destination Page" type="pageList" defaultValue="" optional="true"/>
<destination label="Destination Page" type="pageList" defaultValue="" optional="true" tooltip="Go to a page with this object"/>
<hotspotSound label="Sound" type="media" optional="true"/>
<hotspotMovie label="Video" type="media" optional="true"/>
<startFrame label="Video Start Time" type="textInput" defaultValue="0" optional="true"/>
<endFrame label="Video End Time" type="textInput" defaultValue="0" optional="true"/>
<movieSize label="Video Size (w,h)" type="textInput" defaultValue="320,240" optional="true"/>
<tip label="Video Description" type="TextInput" optional="true" defaultValue="Enter a Description for Accessibility"/>
<reset label="Video Reset at End" type="Checkbox" defaultValue="false" optional="true" deprecated="This property is no longer required"/>
<windowURL label="URL of External Page" type="TextInput" optional="true"/>
<windowWidth label="URL Window Width" type="NumericStepper" min="100" max="1030" step="10" defaultValue="550" width="100" optional="true"/>
<windowHeight label="URL Window Height" type="NumericStepper" min="100" max="1030" step="10" defaultValue="400" width="100" optional="true"/>
<htm label="URL HTML" type="textArea" height="150" optional="true"/>
<relNav label="Relative Connection" options="First Page,Previous Page,Next Page,Last Page" type="ComboBox" data="first,prev,next,last" defaultValue="next" width="200" optional="true"/>
<hotspotPopUp label="Text Pop-Up" type="TextArea" height="200" optional="true"/>
<windowURL label="New Window URL" type="TextInput" optional="true" tooltip="Open the given URL in a new window"/>
<windowWidth label="New Window Width" type="NumericStepper" min="100" max="1030" step="10" defaultValue="550" width="100" optional="true"/>
<windowHeight label="New Window Height" type="NumericStepper" min="100" max="1030" step="10" defaultValue="400" width="100" optional="true"/>
<htm label="New Window HTML" type="textArea" height="150" optional="true" tooltip="Display the given HTML in a new window"/>
<relNav label="Relative Destination Page" options="First Page,Previous Page,Next Page,Last Page" type="ComboBox" data="first,prev,next,last" defaultValue="next" width="200" optional="true" tooltip="Go to a relative page (i.e. next)"/>
<hotspotPopUp label="Pop-Up HTML" type="TextArea" height="200" optional="true" tooltip="Display the given HTML in a popup window"/>
</cHotspot><connectorMenu menu="Connectors" menuItem="Menu Connector" hint="A page that generates a menu of all or a selected range of the pages in a project" icon="icConMenu" thumb="thumbs/connectorMenu.jpg" remove="true">

<name label="Page Title" type="TextInput" wysiwyg="true"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Nottingham/wizards/en-GB/connectorHotspotImage_XOT.xwd
@@ -1 +1 @@
<wizard menus="Connectors" restrict="template" modelFile="connectorHotspotImage"> <pageWizard remove="true" duplicate="false"> <newNodes> <connectorHotspotImage><![CDATA[<connectorHotspotImage name="Enter Page Title" text="Enter text for the page here" textWidth="narrow" url="Select an Image" tip="Enter a Description for Accessibility" hidePanel="false" highlight="false" hicol="0xFFFF00" align="Left" navSetting="none" notFoundMessage="could not be found in this project." continueBtnTxt="Close" />]]></connectorHotspotImage> </newNodes> </pageWizard> <!-- HOTSPOT IMAGE INTERACTION ================================= --> <connectorHotspotImage menu="Connectors" menuItem="Hotspot Image Connector" hint="An interaction allowing you to mark up an image with regions and associate a destination page with each region." icon="icConHotSpotImage" thumb="thumbs/connectorHotspotImage.jpg" remove="true"> <name label="Page Title" type="TextInput" wysiwyg="true" /> <text label="Text" type="TextArea" height="200"/> <textWidth label="Min Text Width" options="No Text,Small,Medium,Max Available" type="ComboBox" data="none,narrow,wide,max" defaultValue="narrow" width="200"/> <url label="Image" type="media"/> <tip label="Image Description" type="TextInput"/> <hidePanel label="Hide Panel" type="CheckBox" defaultValue="false"/> <highlight label="Highlight Hotspots" type="CheckBox" defaultValue="false"/> <hicol label="Highlight Colour" type="ColourPicker" defaultValue="0xFFFF00"/> <align label="Align Text" options="Left,Right" type="ComboBox" data="Left,Right" defaultValue="Left" width="100"/> <continueBtnTxt label="Close Button Label" type="TextInput" wysiwyg="true" language="true"/> <continueBtnWidth label="Close Button Width" type="NumericStepper" min="80" max="150" step="10" width="100" defaultValue="100" language="true" deprecated="Width is now set automatically" /> <navSetting label="Navigation Buttons" options="All,Back and Next,Back Only,Next Only,None" type="ComboBox" width="120" data="all,backnext,backonly,nextonly,none" defaultValue="none" /> <popUpVAlign label="Pop Up Vertical Align" options="Top,Middle,Bottom" type="ComboBox" width="120" data="top,middle,bottom" defaultValue="middle" optional="true"/> <popUpHAlign label="Pop Up Horizontal Align" options="Left,Centre,Right" type="ComboBox" width="120" data="left,center,right" defaultValue="center" optional="true"/> <imageTransition label="Image Transition" options="blinds,dissolve,fade,fly,iris,squeeze,wipe,zoom" type="ComboBox" data="blinds,dissolve,fade,fly,iris,squeeze,wipe,zoom" defaultValue="wipe" width="100" optional="true" deprecated="This property is no longer required"/> <playNarration label="Auto-Play Narration" type="CheckBox" defaultValue="false" optional="true"/> <narration label="Narration" type="media" optional="true"/> <info><![CDATA[<b>For full details on how to use the Hotspot Image Connector Page. <u><a href="http://xerte.org.uk/docs/xot/help/HotspotImageConnectorPageGuide.pdf" target="_blank">Click here</a></u></b>]]></info> <newNodes> <cHotspot><![CDATA[<cHotspot name="Enter Hotspot Title Here" destination="Enter Destination Page ID" exitNav="all" text="Description for the hotspot" x="0" y="0" w="100" h="100" />]]></cHotspot> </newNodes> </connectorHotspotImage> <!-- cHOTSPOT =============================================== --> <cHotspot menuItem="Hotspot" label="Edit Hotspot" type="hotSpot" icon="icLayers" remove="true"> <name label="Title" type="TextInput" wysiwyg="true"/> <destination label="Destination Page" type="pageList" defaultValue="" optional="true"/> <hotspotSound label="Sound" type="media" optional="true"/> <hotspotMovie label="Video" type="media" optional="true"/> <startFrame label="Video Start Time" type="textInput" defaultValue="0" optional="true"/> <endFrame label="Video End Time" type="textInput" defaultValue="0" optional="true"/> <movieSize label="Video Size (w,h)" type="textInput" defaultValue="320,240" optional="true"/> <tip label="Video Description" type="TextInput" optional="true" defaultValue="Enter a Description for Accessibility"/> <reset label="Video Reset at End" type="Checkbox" defaultValue="false" optional="true" deprecated="This property is no longer required"/> <windowURL label="URL of External Page" type="TextInput" optional="true"/> <windowWidth label="URL Window Width" type="NumericStepper" min="100" max="1030" step="10" defaultValue="550" width="100" optional="true"/> <windowHeight label="URL Window Height" type="NumericStepper" min="100" max="1030" step="10" defaultValue="400" width="100" optional="true"/> <htm label="URL HTML" type="textArea" height="150" optional="true"/> <relNav label="Relative Connection" options="First Page,Previous Page,Next Page,Last Page" type="ComboBox" data="first,prev,next,last" defaultValue="next" width="200" optional="true"/> <hotspotPopUp label="Text Pop-Up" type="TextArea" height="200" optional="true"/> </cHotspot></wizard>
<wizard menus="Connectors" restrict="template" modelFile="connectorHotspotImage"> <pageWizard remove="true" duplicate="false"> <newNodes> <connectorHotspotImage><![CDATA[<connectorHotspotImage name="Enter Page Title" text="Enter text for the page here" textWidth="narrow" url="Select an Image" tip="Enter a Description for Accessibility" hidePanel="false" highlight="false" hicol="0xFFFF00" align="Left" navSetting="none" notFoundMessage="could not be found in this project." continueBtnTxt="Close" />]]></connectorHotspotImage> </newNodes> </pageWizard> <!-- HOTSPOT IMAGE INTERACTION ================================= --> <connectorHotspotImage menu="Connectors" menuItem="Hotspot Image Connector" hint="An interaction allowing you to mark up an image with regions and associate a destination page with each region." icon="icConHotSpotImage" thumb="thumbs/connectorHotspotImage.jpg" remove="true"> <name label="Page Title" type="TextInput" wysiwyg="true" /> <text label="Text" type="TextArea" height="200"/> <textWidth label="Min Text Width" options="No Text,Small,Medium,Max Available" type="ComboBox" data="none,narrow,wide,max" defaultValue="narrow" width="200"/> <url label="Image" type="media"/> <tip label="Image Description" type="TextInput"/> <hidePanel label="Hide Panel" type="CheckBox" defaultValue="false"/> <highlight label="Highlight Hotspots" type="CheckBox" defaultValue="false"/> <hicol label="Highlight Colour" type="ColourPicker" defaultValue="0xFFFF00"/> <align label="Align Text" options="Left,Right" type="ComboBox" data="Left,Right" defaultValue="Left" width="100"/> <continueBtnTxt label="Close Button Label" type="TextInput" wysiwyg="true" language="true"/> <continueBtnWidth label="Close Button Width" type="NumericStepper" min="80" max="150" step="10" width="100" defaultValue="100" language="true" deprecated="Width is now set automatically" /> <navSetting label="Navigation Buttons" options="All,Back and Next,Back Only,Next Only,None" type="ComboBox" width="120" data="all,backnext,backonly,nextonly,none" defaultValue="none" /> <popUpVAlign label="Pop Up Vertical Align" options="Top,Middle,Bottom" type="ComboBox" width="120" data="top,middle,bottom" defaultValue="middle" optional="true"/> <popUpHAlign label="Pop Up Horizontal Align" options="Left,Centre,Right" type="ComboBox" width="120" data="left,center,right" defaultValue="center" optional="true"/> <imageTransition label="Image Transition" options="blinds,dissolve,fade,fly,iris,squeeze,wipe,zoom" type="ComboBox" data="blinds,dissolve,fade,fly,iris,squeeze,wipe,zoom" defaultValue="wipe" width="100" optional="true" deprecated="This property is no longer required"/> <playNarration label="Auto-Play Narration" type="CheckBox" defaultValue="false" optional="true"/> <narration label="Narration" type="media" optional="true"/> <info><![CDATA[<b>For full details on how to use the Hotspot Image Connector Page. <u><a href="http://xerte.org.uk/docs/xot/help/HotspotImageConnectorPageGuide.pdf" target="_blank">Click here</a></u></b>]]></info> <newNodes> <cHotspot><![CDATA[<cHotspot name="Enter Hotspot Title Here" destination="Enter Destination Page ID" exitNav="all" text="Description for the hotspot" x="0" y="0" w="100" h="100" />]]></cHotspot> </newNodes> </connectorHotspotImage> <!-- cHOTSPOT =============================================== --> <cHotspot menuItem="Hotspot" label="Edit Hotspot" type="hotSpot" icon="icLayers" remove="true"> <name label="Title" type="TextInput" wysiwyg="true"/> <destination label="Destination Page" type="pageList" defaultValue="" optional="true" tooltip="Go to a page with this object"/> <hotspotSound label="Sound" type="media" optional="true"/> <hotspotMovie label="Video" type="media" optional="true"/> <startFrame label="Video Start Time" type="textInput" defaultValue="0" optional="true"/> <endFrame label="Video End Time" type="textInput" defaultValue="0" optional="true"/> <movieSize label="Video Size (w,h)" type="textInput" defaultValue="320,240" optional="true"/> <tip label="Video Description" type="TextInput" optional="true" defaultValue="Enter a Description for Accessibility"/> <reset label="Video Reset at End" type="Checkbox" defaultValue="false" optional="true" deprecated="This property is no longer required"/> <windowURL label="New Window URL" type="TextInput" optional="true" tooltip="Open the given URL in a new window"/> <windowWidth label="New Window Width" type="NumericStepper" min="100" max="1030" step="10" defaultValue="550" width="100" optional="true"/> <windowHeight label="New Window Height" type="NumericStepper" min="100" max="1030" step="10" defaultValue="400" width="100" optional="true"/> <htm label="New Window HTML" type="textArea" height="150" optional="true" tooltip="Display the given HTML in a new window"/> <relNav label="Relative Destination Page" options="First Page,Previous Page,Next Page,Last Page" type="ComboBox" data="first,prev,next,last" defaultValue="next" width="200" optional="true" tooltip="Go to a relative page (i.e. next)"/> <hotspotPopUp label="Pop-Up HTML" type="TextArea" height="200" optional="true" tooltip="Display the given HTML in a popup window"/> </cHotspot></wizard>
Expand Down
14 changes: 7 additions & 7 deletions src/Nottingham/wizards/en-GB/template.xwd
Expand Up @@ -458,20 +458,20 @@
</connectorHotspotImage><cHotspot menuItem="Hotspot" label="Edit Hotspot" type="hotSpot" icon="icLayers" remove="true">
<name label="Title" type="TextInput" wysiwyg="true"/>

<destination label="Destination Page" type="pageList" defaultValue="" optional="true"/>
<destination label="Destination Page" type="pageList" defaultValue="" optional="true" tooltip="Go to a page with this object"/>
<hotspotSound label="Sound" type="media" optional="true"/>
<hotspotMovie label="Video" type="media" optional="true"/>
<startFrame label="Video Start Time" type="textInput" defaultValue="0" optional="true"/>
<endFrame label="Video End Time" type="textInput" defaultValue="0" optional="true"/>
<movieSize label="Video Size (w,h)" type="textInput" defaultValue="320,240" optional="true"/>
<tip label="Video Description" type="TextInput" optional="true" defaultValue="Enter a Description for Accessibility"/>
<reset label="Video Reset at End" type="Checkbox" defaultValue="false" optional="true" deprecated="This property is no longer required"/>
<windowURL label="URL of External Page" type="TextInput" optional="true"/>
<windowWidth label="URL Window Width" type="NumericStepper" min="100" max="1030" step="10" defaultValue="550" width="100" optional="true"/>
<windowHeight label="URL Window Height" type="NumericStepper" min="100" max="1030" step="10" defaultValue="400" width="100" optional="true"/>
<htm label="URL HTML" type="textArea" height="150" optional="true"/>
<relNav label="Relative Connection" options="First Page,Previous Page,Next Page,Last Page" type="ComboBox" data="first,prev,next,last" defaultValue="next" width="200" optional="true"/>
<hotspotPopUp label="Text Pop-Up" type="TextArea" height="200" optional="true"/>
<windowURL label="New Window URL" type="TextInput" optional="true" tooltip="Open the given URL in a new window"/>
<windowWidth label="New Window Width" type="NumericStepper" min="100" max="1030" step="10" defaultValue="550" width="100" optional="true"/>
<windowHeight label="New Window Height" type="NumericStepper" min="100" max="1030" step="10" defaultValue="400" width="100" optional="true"/>
<htm label="New Window HTML" type="textArea" height="150" optional="true" tooltip="Display the given HTML in a new window"/>
<relNav label="Relative Destination Page" options="First Page,Previous Page,Next Page,Last Page" type="ComboBox" data="first,prev,next,last" defaultValue="next" width="200" optional="true" tooltip="Go to a relative page (i.e. next)"/>
<hotspotPopUp label="Pop-Up HTML" type="TextArea" height="200" optional="true" tooltip="Display the given HTML in a popup window"/>
</cHotspot><connectorMenu menu="Connectors" menuItem="Menu Connector" hint="A page that generates a menu of all or a selected range of the pages in a project" icon="icConMenu" thumb="thumbs/connectorMenu.jpg" remove="true">

<name label="Page Title" type="TextInput" wysiwyg="true"/>
Expand Down

0 comments on commit f47e955

Please sign in to comment.