2017-12-07 15:49:57 +00:00
|
|
|
#ifndef __intensitymenuitem
|
|
|
|
#define __intensitymenuitem
|
|
|
|
|
|
|
|
#include "screen/menu.h"
|
|
|
|
|
|
|
|
class IntensityMenuItem : public MenuItem
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
IntensityMenuItem() : MenuItem() { }
|
|
|
|
|
2017-12-07 16:32:59 +00:00
|
|
|
const char* getTitle();
|
|
|
|
const char* getValue();
|
2017-12-07 15:49:57 +00:00
|
|
|
|
|
|
|
bool editable() { return true; }
|
|
|
|
|
2017-12-08 21:32:04 +00:00
|
|
|
bool canIncrement();
|
|
|
|
bool canDecrement();
|
|
|
|
void incrementValue();
|
|
|
|
void decrementValue();
|
2017-12-07 15:49:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|