mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23311 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cfb2fe0a8f
commit
0ca318af55
@ -124,17 +124,21 @@ public:
|
||||
if (show_ && rect_.isValid()) {
|
||||
switch (shape_) {
|
||||
case L_SHAPE:
|
||||
painter.fillRect(rect_.x(), rect_.y(), CursorWidth, rect_.height(), color_);
|
||||
painter.fillRect(rect_.x(), rect_.y(),
|
||||
CursorWidth, rect_.height(), color_);
|
||||
painter.setPen(color_);
|
||||
painter.drawLine(rect_.bottomLeft().x() + CursorWidth, rect_.bottomLeft().y(),
|
||||
rect_.bottomRight().x(), rect_.bottomLeft().y());
|
||||
painter.drawLine(rect_.bottomLeft().x() + CursorWidth,
|
||||
rect_.bottomLeft().y(),
|
||||
rect_.bottomRight().x(), rect_.bottomLeft().y());
|
||||
break;
|
||||
|
||||
case REVERSED_L_SHAPE:
|
||||
painter.fillRect(rect_.x() + rect_.height() / 3, rect_.y(), CursorWidth, rect_.height(), color_);
|
||||
painter.fillRect(rect_.x() + rect_.height() / 3, rect_.y(),
|
||||
CursorWidth, rect_.height(), color_);
|
||||
painter.setPen(color_);
|
||||
painter.drawLine(rect_.bottomRight().x() - CursorWidth, rect_.bottomLeft().y(),
|
||||
rect_.bottomLeft().x(), rect_.bottomLeft().y());
|
||||
painter.drawLine(rect_.bottomRight().x() - CursorWidth,
|
||||
rect_.bottomLeft().y(),
|
||||
rect_.bottomLeft().x(), rect_.bottomLeft().y());
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user