]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.h
Move Color::color enum to ColorCode.h
[lyx.git] / src / frontends / WorkArea.h
index a541dca6b638e96662c3e4bdb3388e1d7ef5745e..74a875f241f83141cd65b1589b14f4c662d8a192 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef BASE_WORKAREA_H
 #define BASE_WORKAREA_H
 
-#include "frontends/key_state.h"
+#include "frontends/KeyModifier.h"
 #include "frontends/Delegates.h"
 
 #include "support/Timeout.h"
@@ -98,7 +98,7 @@ public:
 
        /// Process Key pressed event.
        /// This needs to be public because it is accessed externally by GuiView.
-       void processKeySym(KeySymbol const & key, key_modifier::state state);
+       void processKeySym(KeySymbol const & key, KeyModifier mod);
 
        /// close this work area.
        /// Slot for Buffer::closing signal.
@@ -108,8 +108,7 @@ protected:
        /// cause the display of the given area of the work area
        virtual void expose(int x, int y, int w, int h) = 0;
        ///
-       void dispatch(FuncRequest const & cmd0,
-               key_modifier::state = key_modifier::none);
+       void dispatch(FuncRequest const & cmd0, KeyModifier = NoModifier);
 
        ///
        void resizeBufferView();