3 * Copyright 2002 the LyX Team
4 * Read the file COPYING
6 * GUII representation of mouse presses and
9 * \author John Levon <moz@compsoc.man.ac.uk>
15 /// used both for presses and held during motion
16 namespace mouse_button {
19 none = 0, //< no buttons held
20 button1 = 1, //< mouse button 1 pressed
27 inline void operator|=(state & s1, state s2)
29 s1 = static_cast<state>(s1 | s2);
32 } // namespace mouse_button
34 #endif // MOUSE_STATE_H