X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FKeyModifier.h;h=fba80bec2a5977843ac15a31f2bc12bee83f698e;hb=50060053e36b3e9dfe03bc33ed3abac1eacc54b0;hp=db5beffd431f3b17129b0a51f18a29fd93568aaf;hpb=c4033d401202ffc57b5a04ef9cf83b494b7ddfa0;p=lyx.git diff --git a/src/frontends/KeyModifier.h b/src/frontends/KeyModifier.h index db5beffd43..fba80bec2a 100644 --- a/src/frontends/KeyModifier.h +++ b/src/frontends/KeyModifier.h @@ -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