r16172 by fschmid - Reenabled the display of the surrounding frame for Image and Textframes.
scribus-commit
scribus-commit at lists.scribus.net
Mon Dec 27 19:06:30 CET 2010
Author: fschmid
Date: Mon Dec 27 18:06:30 2010
New Revision: 16172
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16172
Log:
Reenabled the display of the surrounding frame for Image and Textframes.
Modified:
trunk/Scribus/scribus/pageitem_group.cpp
Modified: trunk/Scribus/scribus/pageitem_group.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16172&path=/trunk/Scribus/scribus/pageitem_group.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_group.cpp (original)
+++ trunk/Scribus/scribus/pageitem_group.cpp Mon Dec 27 18:06:30 2010
@@ -192,6 +192,18 @@
}
p->endLayer();
p->restore();
+ if (m_Doc->guidesPrefs().framesShown)
+ {
+ for (int em = 0; em < groupItemList.count(); ++em)
+ {
+ PageItem* embedded = groupItemList.at(em);
+ double x = embedded->xPos();
+ double y = embedded->yPos();
+ embedded->setXYPos(embedded->gXpos, embedded->gYpos, true);
+ embedded->DrawObj_Decoration(p);
+ embedded->setXYPos(x, y, true);
+ }
+ }
}
else
{
More information about the scribus-commit
mailing list