]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.h
hopefully fix tex2lyx linking.
[lyx.git] / src / frontends / WorkArea.h
index 2916a66760a0f0f544c55a3b83551f21cb64c73a..0db53ceaabda8aea8bfe3f75ef146ef71106b237 100644 (file)
@@ -65,6 +65,9 @@ public:
        ///
        BufferView const & bufferView() const;
 
+       /// \return true if has the keyboard input focus.
+       virtual bool hasFocus() const = 0;
+       
        /// return the width of the work area in pixels
        virtual int width() const = 0;
 
@@ -80,16 +83,12 @@ public:
        virtual void setScrollbarParams(int height, int pos, int line_height) = 0;
 
        /// redraw the screen, without using existing pixmap
-       virtual void redraw();
-       ///
-       void checkAndGreyOut();
+       virtual void redraw(bool singlePar = false);
        ///
        void stopBlinkingCursor();
        void startBlinkingCursor();
 
 protected:
-       /// grey out (no buffer)
-       virtual void greyOut();
        ///
        void processKeySym(LyXKeySymPtr key, key_modifier::state state);
        /// cause the display of the given area of the work area