outputs: replace enterPressed with toggleOutput

This commit is contained in:
Andrzej Rybczak
2015-09-27 14:24:30 +02:00
parent c6506d77fd
commit 0ee09fb109
8 changed files with 48 additions and 22 deletions

View File

@@ -43,14 +43,15 @@ struct Outputs: Screen<NC::Menu<MPD::Output>>, Tabbable
virtual void update() OVERRIDE { }
virtual void enterPressed() OVERRIDE;
virtual void enterPressed() OVERRIDE { }
virtual void mouseButtonPressed(MEVENT me) OVERRIDE;
virtual bool isLockable() OVERRIDE { return true; }
virtual bool isMergable() OVERRIDE { return true; }
// private members
void FetchList();
void fetchList();
void toggleOutput();
};
extern Outputs *myOutputs;