1 // This file is part of the "Irrlicht Engine".
\r
2 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
4 #ifndef E_FOCUS_FLAGS_H_INCLUDED__
\r
5 #define E_FOCUS_FLAGS_H_INCLUDED__
\r
12 //! Bitflags for defining the the focus behavior of the gui
\r
13 // (all names start with SET as we might add REMOVE flags later to control that behavior as well)
\r
16 //! When set the focus changes when the left mouse-button got clicked while over an element
\r
17 EFF_SET_ON_LMOUSE_DOWN = 0x1,
\r
19 //! When set the focus changes when the right mouse-button got clicked while over an element
\r
20 //! Note that elements usually don't care about right-click and that won't change with this flag
\r
21 //! This is mostly to allow taking away focus from elements with right-mouse additionally.
\r
22 EFF_SET_ON_RMOUSE_DOWN = 0x2,
\r
24 //! When set the focus changes when the mouse-cursor is over an element
\r
25 EFF_SET_ON_MOUSE_OVER = 0x4,
\r
27 //! When set the focus can be changed with TAB-key combinations.
\r
28 EFF_SET_ON_TAB = 0x8,
\r
30 //! When set it's possible to set the focus to disabled elements.
\r
31 EFF_CAN_FOCUS_DISABLED = 0x16
\r