]> git.lizzy.rs Git - irrlicht.git/blob - include/EFocusFlags.h
Use qualifed id instead of virtual function calls in CVertexBuffer constructors
[irrlicht.git] / include / EFocusFlags.h
1 // This file is part of the "Irrlicht Engine".\r
2 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
3 \r
4 #ifndef E_FOCUS_FLAGS_H_INCLUDED__\r
5 #define E_FOCUS_FLAGS_H_INCLUDED__\r
6 \r
7 namespace irr\r
8 {\r
9 namespace gui\r
10 {\r
11 \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
14 enum EFOCUS_FLAG\r
15 {\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
18 \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
23 \r
24         //! When set the focus changes when the mouse-cursor is over an element\r
25         EFF_SET_ON_MOUSE_OVER = 0x4,\r
26 \r
27         //! When set the focus can be changed with TAB-key combinations.\r
28         EFF_SET_ON_TAB = 0x8,\r
29 \r
30         //! When set it's possible to set the focus to disabled elements.\r
31         EFF_CAN_FOCUS_DISABLED = 0x16\r
32 };\r
33 \r
34 } // namespace gui\r
35 } // namespace irr\r
36 \r
37 #endif\r
38 \r