Changeset 560 in josm for trunk


Ignore:
Timestamp:
2008-02-25T12:05:29+01:00 (17 years ago)
Author:
david
Message:

Add shortcut keys for audio actions

Location:
trunk/src/org/openstreetmap/josm/actions/audio
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioBackAction.java

    r547 r560  
    2020       
    2121        public AudioBackAction() {
    22                 super(tr("Back"), "audio-back", tr("Jump back."), 0, 0, true);
     22                super(tr("Back"), "audio-back", tr("Jump back."), KeyEvent.VK_F6, 0, true);
    2323                try {
    2424                        amount = - Double.parseDouble(Main.pref.get("audio.forwardbackamount","10.0"));
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioFwdAction.java

    r547 r560  
    2020       
    2121        public AudioFwdAction() {
    22                 super(tr("Forward"), "audio-fwd", tr("Jump forward"), 0, 0, true);
     22                super(tr("Forward"), "audio-fwd", tr("Jump forward"), KeyEvent.VK_F7, 0, true);
    2323                try {
    2424                        amount = Double.parseDouble(Main.pref.get("audio.forwardbackamount","10.0"));
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioNextAction.java

    r547 r560  
    1717
    1818        public AudioNextAction() {
    19                 super(tr("Next Marker"), "audio-next", tr("Play next marker."), 0, 0, true);
     19                super(tr("Next Marker"), "audio-next", tr("Play next marker."), KeyEvent.VK_F8, 0, true);
    2020        }
    2121
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioPrevAction.java

    r547 r560  
    1717
    1818        public AudioPrevAction() {
    19                 super(tr("Previous Marker"), "audio-prev", tr("Play previous marker."), 0, 0, true);
     19                super(tr("Previous Marker"), "audio-prev", tr("Play previous marker."), KeyEvent.VK_F5, 0, true);
    2020        }
    2121
Note: See TracChangeset for help on using the changeset viewer.