]> Shamusworld >> Repos - architektonas/blobdiff - src/arc.cpp
Initial stab at getting Circle to respond to selection rectangle.
[architektonas] / src / arc.cpp
index c29e38db2a54c79a2fc47dfec6eef2be737f4f03..8fc66319bbe540ef96a153ed193c6ec4635993e9 100644 (file)
@@ -102,14 +102,16 @@ Arc::~Arc()
                        pen = QPen(QColor(0x00, 0xFF, 0x00), 1.0, Qt::SolidLine);
                        painter->SetPen(pen);
                        painter->SetBrush(QBrush(QColor(0x40, 0xFF, 0x40, 0x9F)));
-                       QRectF textRect(10.0, 10.0, 260.0, 60.0);       // x, y, w, h
+                       QRectF textRect(10.0, 10.0, 270.0, 70.0);       // x, y, w, h
                        painter->DrawRoundedRect(textRect, 7.0, 7.0);
 
                        textRect.setLeft(textRect.left() + 14);
                        painter->SetFont(*Object::font);
-                       pen = QPen(QColor(0xDF, 0x5F, 0x00), 1.0, Qt::SolidLine);
+//                     pen = QPen(QColor(0xDF, 0x5F, 0x00), 1.0, Qt::SolidLine);
+                       pen = QPen(QColor(0x00, 0x5F, 0xDF));
                        painter->SetPen(pen);
                        painter->DrawText(textRect, Qt::AlignVCenter, text);
+                       painter->SetPen(QPen(QColor(0xDF, 0x5F, 0x00)));
                }
        }
        else