hint-overlay-pos-right and hint-overlay-pos-bottom

svn path=/trunk/KDE/kdelibs/; revision=1054731
This commit is contained in:
Marco Martin 2009-11-26 16:28:06 +00:00
parent e61aac9d91
commit 861fbc9538

View File

@ -430,6 +430,10 @@ void FrameSvgPrivate::generateBackground(FrameData *frame)
//Random pos, stretched and tiled are mutually exclusive
if (q->hasElement(prefix + "hint-overlay-random-pos")) {
pos = overlayPos;
} else if (q->hasElement(prefix + "hint-overlay-pos-right")) {
pos.setX(frame->frameSize.width() - overlaySize.width());
} else if (q->hasElement(prefix + "hint-overlay-pos-bottom")) {
pos.setY(frame->frameSize.height() - overlaySize.height());
//Stretched or Tiled?
} else if (q->hasElement(prefix + "hint-overlay-stretch")) {
overlaySize = frameSize(frame).toSize();