TDME2 1.9.121
GUIFocusListener.h
Go to the documentation of this file.
1#pragma once
2
3#include <tdme/tdme.h>
6
8
9/**
10 * GUI focus listener interface
11 * @author Andreas Drewke
12 * @version $Id$
13 */
15{
16
17 /**
18 * Destructor
19 */
20 virtual ~GUIFocusListener() {}
21
22 /**
23 * On focus
24 * @param node node
25 */
26 virtual void onFocus(GUIElementNode* node) = 0;
27
28 /**
29 * On unfocus
30 * @param node node
31 */
32 virtual void onUnfocus(GUIElementNode* node) = 0;
33
34};
GUI focus listener interface.
virtual void onUnfocus(GUIElementNode *node)=0
On unfocus.
virtual void onFocus(GUIElementNode *node)=0
On focus.
virtual ~GUIFocusListener()
Destructor.