blob: 203622b115828b351275b5702869f0a1cb0225b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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__
|