diff options
author | Luke Dixon <6b8b4567@gmail.com> | 2010-11-16 23:37:09 +0000 |
---|---|---|
committer | Jonas Finnemann Jensen <jopsen@gmail.com> | 2010-11-17 22:21:52 +0100 |
commit | 82018908adb34a02f05e76aef8e4fbbb77762288 (patch) | |
tree | aef7c292eb21b2ccf4345bb74bc964221243d704 /starmath/inc/visitors.hxx | |
parent | 8b74b7f9375fe6775add941330bfb052b2059e8d (diff) |
Draw a visible line under the current line in the visual formula editor.
Diffstat (limited to 'starmath/inc/visitors.hxx')
-rw-r--r-- | starmath/inc/visitors.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index 2b89b6f86143..cff09dcd8a36 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -152,13 +152,14 @@ class SmCaretDrawingVisitor : public SmDefaultingVisitor { public: /** Given position and device this constructor will draw the caret */ - SmCaretDrawingVisitor( OutputDevice& rDevice, SmCaretPos position, Point offset ); + SmCaretDrawingVisitor( OutputDevice& rDevice, SmCaretPos position, Point offset, bool caretVisible ); void Visit( SmTextNode* pNode ); private: OutputDevice &rDev; SmCaretPos pos; /** Offset to draw from */ Point Offset; + bool isCaretVisible; protected: /** Default method for drawing pNodes */ void DefaultVisit( SmNode* pNode ); |