]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.h
* completion cursor
[lyx.git] / src / frontends / qt4 / GuiWorkArea.h
index 5f73b3178ca380bf224c4100a73a8926ab6fa683..6c808677e43eb59a9b759af2e7f9a0ed54585f83 100644 (file)
@@ -50,16 +50,6 @@ namespace frontend {
 class GuiView;
 class GuiWorkArea;
 
-/// types of cursor in work area
-enum CursorShape {
-       /// normal I-beam
-       BAR_SHAPE,
-       /// L-shape for locked insets of a different language
-       L_SHAPE,
-       /// reverse L-shape for RTL text
-       REVERSED_L_SHAPE
-};
-
 /// for emulating triple click
 class DoubleClick {
 public:
@@ -116,6 +106,8 @@ public:
 
        ///
        void setFullScreen(bool full_screen);
+       /// is LyXView in fullscreen mode?
+       bool isFullScreen();
        ///
        void scheduleRedraw() { schedule_redraw_ = true; }
        ///
@@ -165,7 +157,8 @@ private:
        void updateScreen();
 
        /// paint the cursor and store the background
-       virtual void showCursor(int x, int y, int h, CursorShape shape);
+       virtual void showCursor(int x, int y, int h,
+               bool l_shape, bool rtl, bool completable);
 
        /// hide the cursor
        virtual void removeCursor();