4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * GUII representation of mouse presses and
12 * Full author contact details are available in file CREDITS.
20 /// used both for presses and held during motion
21 namespace mouse_button
{
24 none
= 0, //< no buttons held
25 button1
= 1, //< mouse button 1 pressed
32 inline void operator|=(state
& s1
, state s2
)
34 s1
= static_cast<state
>(s1
| s2
);
37 } // namespace mouse_button
42 #endif // MOUSE_STATE_H