]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.h
hopefully fix tex2lyx linking.
[lyx.git] / src / frontends / WorkArea.h
index 6876bf7972726e78058d9e1c538f5e1e5086fd2d..0db53ceaabda8aea8bfe3f75ef146ef71106b237 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <boost/signals/trackable.hpp>
 
-// FIXME: defined in X.h, spuriously pulled in by Qt 3 headers
-#undef CursorShape
 
 namespace lyx {
 
@@ -67,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;
 
@@ -82,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