#include <boost/signals/trackable.hpp>
-// FIXME: defined in X.h, spuriously pulled in by Qt 3 headers
-#undef CursorShape
namespace lyx {
///
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;
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