[Uml-devel] kdesdk/umbrello/umbrello
Jonathan Riddell
jr at jriddell.org
Thu Dec 2 08:19:05 UTC 2004
CVS commit by jriddell:
nicer resize corner
M +5 -1 umlwidget.cpp 1.111
--- kdesdk/umbrello/umbrello/umlwidget.cpp #1.110:1.111
@@ -634,6 +634,10 @@ void UMLWidget::drawSelected(QPainter *
if (resizeable) {
brush.setColor(red);
- }
+ p->drawLine(offsetX + w - s, offsetY + h - 1, offsetX + w - 1, offsetY + h - s);
+ p->drawLine(offsetX + w - (s*2), offsetY + h - 1, offsetX + w - 1, offsetY + h - (s*2) );
+ p->drawLine(offsetX + w - (s*3), offsetY + h - 1, offsetX + w - 1, offsetY + h - (s*3) );
+ } else {
p->fillRect(offsetX + w - s, offsetY + h - s, s, s, brush);
+ }
}
More information about the umbrello-devel
mailing list