fix(Label): reverse only battery states

This commit is contained in:
Alex
2019-05-13 11:36:34 +02:00
parent fcb23d3104
commit 92967c7c06
3 changed files with 6 additions and 4 deletions

View File

@ -31,7 +31,7 @@ class ALabel : public IModule {
virtual bool handleToggle(GdkEventButton *const &ev);
virtual bool handleScroll(GdkEventScroll *);
virtual std::string getState(uint8_t value);
virtual std::string getState(uint8_t value, bool reverse = false);
private:
std::vector<int> pid_;