view Renderer/Engine/Button.h @ 986:ac437c3cf766 akira

double buffering of spanpack/polgonpack not yet worked.
author root@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 01 Oct 2010 03:42:25 +0900
parents 735f76483bb2
children b067fd5d8859
line wrap: on
line source

#ifndef INCLUDED_BUTTON
#define INCLUDED_BUTTON

class Button {
public:
    int push;
    int hold;
    int release;

    Button(void) : push(0), hold(0), release(0) {}

    void push_work(void);
    void release_work(void);
    int isPush(void);
    int isHold(void);
    int isRelease(void);
};

#endif