Ignore:
Timestamp:
2007-08-05T21:54:03+02:00 (17 years ago)
Author:
christofd
Message:

moved resources into separate directory
made play sound in background thread

Location:
applications/editors/josm/plugins/surveyor/resources
Files:
3 added
1 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/resources/surveyor.xml

    r3739 r3962  
    11<?xml version="1.0"?>
    2 <surveyor columns="4" width="0" height="0">
     2<surveyor columns="4" width="1300" height="0">
    33  <!-- icons can either be absolute paths or relative paths to the .josm directory -->
    44  <!-- action class: either fully qualified classnames or if not found,
    55       package at.dallermassl.josm.plugin.surveyor.action is assumed -->
    66  <button label="Tunnel Start" hotkey="T" icon="tunnel">
     7    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    78    <action class="SetWaypointAction" params="tunnel start"/>
    8     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    99    <!--action class="ConsolePrinterAction" params="tunnel start,tunnel"/-->
    1010    <!--action class="SystemExecuteAction" params="mplayer,-quiet,/usr/share/apps/klettres/de/alpha/x.ogg"/-->
    1111  </button>
    1212  <button label="Bridge" hotkey="B" type="toggle">
     13    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    1314    <action class="SetWaypointAction" params="bridge"/>
    14     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    1515  </button>
    1616  <button label="Village/City" hotkey="V" icon="place">
     17    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    1718    <action class="SetWaypointAction" params="village"/>
    18     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    1919    <!--
    2020    <action class="SetNodeAction" params=""/>
     
    2323  </button>
    2424  <button label="Parking" hotkey="P" icon="parking">
    25     <action class="SetNodeAction" params="amenity=parking"/>
     25    <!--action class="SetNodeAction" params="amenity=parking"/-->
     26    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    2627    <action class="SetWaypointAction" params="Parking"/>
    27     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    2828  </button>
    2929  <button label="One Way" hotkey="O" icon="noentry">
     30    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    3031    <action class="SetWaypointAction" params="oneway=yes"/>
    31     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    3232  </button>
    3333  <button label="Church" hotkey="C" icon="church">
     34    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    3435    <action class="SetNodeAction" params="amenity=place_of_worship,denomination=christian"/>
    3536    <action class="SetWaypointAction" params="Church"/>
    36     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    3737  </button>
    3838  <button label="Fuel Station" hotkey="F" icon="fuel">
    39     <action class="SetNodeAction" params="amenity=fuel"/>
     39    <!--action class="SetNodeAction" params="amenity=fuel"/-->
     40    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    4041    <action class="SetWaypointAction" params="Fuel"/>
    41     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    4242  </button>
    4343  <button label="Hotel" hotkey="H" icon="bed">
     44    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    4445    <action class="SetWaypointAction" params="Hotel"/>
    45     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    4646  </button>
    4747  <button label="Restaurant" hotkey="R" icon="restaurant">
     48    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    4849    <action class="SetNodeAction" params="amenity=restaurant"/>
    4950    <action class="SetWaypointAction" params="Restaurant"/>
    50     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
     51  </button>
     52  <button label="Shopping" hotkey="S" icon="shopping">
     53    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
     54    <action class="SetWaypointAction" params="Info"/>
     55  </button>
     56  <button label="WC" hotkey="W" icon="toilet">
     57    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
     58    <action class="SetWaypointAction" params="Info"/>
     59  </button>
     60  <button label="Camping" hotkey="Z" icon="caravan">
     61    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
     62    <action class="SetWaypointAction" params="Camping"/>
     63  </button>
     64  <button label="Info" hotkey="I">
     65    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
     66    <action class="SetWaypointAction" params="Info"/>
    5167  </button>
    5268  <button label="Exit" hotkey="E">
     69    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    5370    <action class="SetWaypointAction" params="Exit"/>
    54     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    5571  </button>
    5672  <button label="Motorway" hotkey="1">
     73    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    5774    <action class="SetWaypointAction" params="Motorway"/>
    58     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    5975  </button>
    6076  <button label="Primary" hotkey="2">
     77    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    6178    <action class="SetWaypointAction" params="Primary"/>
    62     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    6379  </button>
    6480  <button label="Secondary" hotkey="3">
     81    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    6582    <action class="SetWaypointAction" params="Secondary"/>
    66     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    6783  </button>
    6884  <button label="Unclassified" hotkey="4">
     85    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    6986    <action class="SetWaypointAction" params="Unclassified"/>
    70     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
    7187  </button>
    7288  <button label="Residential" hotkey="5">
     89    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
    7390    <action class="SetWaypointAction" params="Residential"/>
    74     <action class="PlayAudioAction" params="/usr/share/sounds/KDE_Window_Iconify.wav"/>
     91  </button>
     92  <button label="Test" hotkey="F12">
     93    <action class="PlayAudioAction" params="resource://audio/KDE_Window_Iconify.wav"/>
     94    <action class="SetWaypointAction" params="Test"/>
    7595  </button>
    7696</surveyor>
Note: See TracChangeset for help on using the changeset viewer.