19 lines
293 B
C++
19 lines
293 B
C++
#ifndef __PCF_BUTT__
|
|
#define __PCF_BUTT__
|
|
|
|
class pcf_butt
|
|
{
|
|
private:
|
|
bool lastState;
|
|
bool curState;
|
|
public:
|
|
pcf_butt();
|
|
pcf_butt(bool state);
|
|
void update(bool state);
|
|
bool chngUp(bool state);
|
|
bool chngDown(bool state);
|
|
~pcf_butt();
|
|
};
|
|
|
|
#endif
|