Subversion Repositories AndroidProjects

Rev

Blame | Last modification | View Log | RSS feed

#ifndef __BUTTONLISTENER_H__
#define __BUTTONLISTENER_H__

namespace Sexy
{

class ButtonListener
{      
public:
        virtual void                    ButtonPress(int theId) {}
        virtual void                    ButtonPress(int theId, int theClickCount) { ButtonPress(theId); }
        virtual void                    ButtonDepress(int theId) {}
        virtual void                    ButtonDownTick(int theId) {}
        virtual void                    ButtonMouseEnter(int theId) {}
        virtual void                    ButtonMouseLeave(int theId) {}
        virtual void                    ButtonMouseMove(int theId, int theX, int theY) {}
};

}

#endif //__BUTTONLISTENER_H__