Last change
on this file since 13891 was 6380, checked in by Don-vip, 10 years ago |
update license/copyright information
|
-
Property svn:eol-style
set to
native
|
File size:
931 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.actions.audio;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
|
---|
5 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
6 | import static org.openstreetmap.josm.tools.I18n.trc;
|
---|
7 |
|
---|
8 | import java.awt.event.KeyEvent;
|
---|
9 |
|
---|
10 | import org.openstreetmap.josm.tools.Shortcut;
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Increase the speed of audio playback.
|
---|
14 | * Each use increases the speed further until one of the other controls is used.
|
---|
15 | * @since 563
|
---|
16 | */
|
---|
17 | public class AudioFasterAction extends AudioFastSlowAction {
|
---|
18 |
|
---|
19 | /**
|
---|
20 | * Constructs a new {@code AudioFasterAction}.
|
---|
21 | */
|
---|
22 | public AudioFasterAction() {
|
---|
23 | super(trc("audio", "Faster"), "audio-faster", trc("audio", "Faster Forward"),
|
---|
24 | Shortcut.registerShortcut("audio:faster", tr("Audio: {0}", trc("audio", "Faster")), KeyEvent.VK_F9, Shortcut.DIRECT), true);
|
---|
25 | this.putValue("help", ht("/Action/AudioFaster"));
|
---|
26 | }
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.