Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
244 chris 1
#ifndef __BUTTONLISTENER_H__
2
#define __BUTTONLISTENER_H__
3
 
4
namespace Sexy
5
{
6
 
7
class ButtonListener
8
{      
9
public:
10
        virtual void                    ButtonPress(int theId) {}
11
        virtual void                    ButtonPress(int theId, int theClickCount) { ButtonPress(theId); }
12
        virtual void                    ButtonDepress(int theId) {}
13
        virtual void                    ButtonDownTick(int theId) {}
14
        virtual void                    ButtonMouseEnter(int theId) {}
15
        virtual void                    ButtonMouseLeave(int theId) {}
16
        virtual void                    ButtonMouseMove(int theId, int theX, int theY) {}
17
};
18
 
19
}
20
 
21
#endif //__BUTTONLISTENER_H__