outputs: replace enterPressed with toggleOutput
This commit is contained in:
@@ -56,7 +56,7 @@ enum class Type
|
||||
ToggleAddMode, ToggleMouse, ToggleBitrateVisibility,
|
||||
AddRandomItems, ToggleBrowserSortMode, ToggleLibraryTagType,
|
||||
ToggleMediaLibrarySortMode, RefetchLyrics,
|
||||
SetSelectedItemsPriority, ToggleVisualizationType, SetVisualizerSampleMultiplier,
|
||||
SetSelectedItemsPriority, ToggleOutput, ToggleVisualizationType, SetVisualizerSampleMultiplier,
|
||||
ShowSongInfo, ShowArtistInfo, ShowLyrics, Quit, NextScreen, PreviousScreen,
|
||||
ShowHelp, ShowPlaylist, ShowBrowser, ChangeBrowseMode, ShowSearchEngine,
|
||||
ResetSearchEngine, ShowMediaLibrary, ToggleMediaLibraryColumnsMode,
|
||||
@@ -1045,6 +1045,15 @@ private:
|
||||
virtual void run() OVERRIDE;
|
||||
};
|
||||
|
||||
struct ToggleOutput: BaseAction
|
||||
{
|
||||
ToggleOutput(): BaseAction(Type::ToggleOutput, "toggle_output") { }
|
||||
|
||||
private:
|
||||
virtual bool canBeRun() OVERRIDE;
|
||||
virtual void run() OVERRIDE;
|
||||
};
|
||||
|
||||
struct ToggleVisualizationType: BaseAction
|
||||
{
|
||||
ToggleVisualizationType()
|
||||
|
||||
Reference in New Issue
Block a user