4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * \author Abdelrazak Younes
11 * Full author contact details are available in file CREDITS.
14 // X11 use a define called CursorShape, and we really want to use
15 // that name our selves. Therefore we do something similar to what is done
19 #ifndef FIXX11H_CursorShape
20 #define FIXX11H_CursorShape
21 int const XCursorShape = CursorShape;
23 int const CursorShape = CursorShape;
37 class ViewMetricsInfo;
44 /// types of cursor in work area
48 /// L-shape for locked insets of a different language
50 /// reverse L-shape for RTL text
55 * GuiCursor - document rendering management
57 * The blinking cursor is handled here.
65 void connect(WorkArea * work_area);
67 /// hide the visible cursor, if it is visible
70 /// show the cursor if it is not visible
71 void show(BufferView & bv);
73 /// toggle the cursor's visibility
74 void toggle(BufferView & bv);
76 /// set cursor_visible_ to false in prep for re-display
80 /// is the cursor currently displayed
83 WorkArea * work_area_;
86 } // namespace frontend
89 #endif // GUI_CURSOR_H