r17652 by jghali - #10750: Spiral icon won't look transparent, Calligraphy icon shows Freehand when drawing

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 30 15:50:06 UTC 2012


Author: jghali
Date: Sat Jun 30 15:50:06 2012
New Revision: 17652

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17652
Log:
#10750: Spiral icon won't look transparent, Calligraphy icon shows Freehand when drawing

Added:
    trunk/Scribus/resources/icons/DrawCalligraphy.xpm
Modified:
    trunk/Scribus/resources/icons/16/draw-spiral.png
    trunk/Scribus/resources/icons/22/draw-spiral.png
    trunk/Scribus/scribus/canvasmode.cpp

Modified: trunk/Scribus/resources/icons/16/draw-spiral.png
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17652&path=/trunk/Scribus/resources/icons/16/draw-spiral.png
==============================================================================
Binary files - no diff available.

Modified: trunk/Scribus/resources/icons/22/draw-spiral.png
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17652&path=/trunk/Scribus/resources/icons/22/draw-spiral.png
==============================================================================
Binary files - no diff available.

Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17652&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp (original)
+++ trunk/Scribus/scribus/canvasmode.cpp Sat Jun 30 15:50:06 2012
@@ -700,8 +700,10 @@
 			qApp->changeOverrideCursor(QCursor(Qt::CrossCursor));
 			break;
 		case modeDrawFreehandLine:
+			qApp->changeOverrideCursor(QCursor(loadIcon("DrawFreeLine.png"), 0, 31));
+			break;
 		case modeDrawCalligraphicLine:
-			qApp->changeOverrideCursor(QCursor(loadIcon("DrawFreeLine.png"), 0, 31));
+			qApp->changeOverrideCursor(QCursor(loadIcon("DrawCalligraphy.xpm"), 4, 4));
 			break;
 		case modeImportObject:
 			qApp->changeOverrideCursor(QCursor(loadIcon("DragPix.xpm")));




More information about the scribus-commit mailing list