]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/KeyModifier.h
Move the global formats and system_formats variables into the
[lyx.git] / src / frontends / KeyModifier.h
index db5beffd431f3b17129b0a51f18a29fd93568aaf..fba80bec2a5977843ac15a31f2bc12bee83f698e 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file key_state.h
+ * \file KeyModifier.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -19,10 +19,11 @@ namespace lyx {
 /// modifier key states
 
 enum KeyModifier {
-       NoModifier  = 0, //< no modifiers held
+       NoModifier       = 0, //< no modifiers held
        ControlModifier  = 1, //< control button held
-       AltModifier   = 2, //< alt/meta key held
-       ShiftModifier = 4  //< shift key held
+       AltModifier      = 2, //< alt key held
+       ShiftModifier    = 4, //< shift key held
+       MetaModifier     = 8  //< meta key held
 };
 
 
@@ -42,4 +43,4 @@ inline void operator|=(KeyModifier & s1, KeyModifier s2)
 
 } // namespace lyx
 
-#endif // KEY_STATE_H
+#endif // KEYMODIFIER_H