File: ButtonListener.h

package info (click to toggle)
libtuxcap 1.4.0.dfsg2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,176 kB
  • sloc: cpp: 43,203; ansic: 3,095; python: 774; objc: 242; makefile: 100; xml: 87
file content (22 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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__