Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 22332 → Rev 22333

/trunk/Scribus/scribus/plugins/scripter/api_item.cpp
232,12 → 232,12
 
bool ItemAPI::reversed()
{
return item->reversed();
return false; // item->reversed(); FIXME
}
 
void ItemAPI::setReversed(bool value)
{
item->setReversed(value);
// item->setReversed(value); FIXME
}
 
double ItemAPI::cornerRadius()
312,7 → 312,7
}
else
{
ScCore->primaryMainWindow()->doc->MoveItem(ValueToPoint(dx), ValueToPoint(dy), item);
ScCore->primaryMainWindow()->doc->moveItem(ValueToPoint(dx), ValueToPoint(dy), item);
}
// Now restore the selection.
ScCore->primaryMainWindow()->view->Deselect();
346,7 → 346,7
ScCore->primaryMainWindow()->view->endGroupTransaction();
}
else
ScCore->primaryMainWindow()->doc->MoveItem(pageUnitXToDocX(x) - item->xPos(), pageUnitYToDocY(y) - item->yPos(), item);
ScCore->primaryMainWindow()->doc->moveItem(pageUnitXToDocX(x) - item->xPos(), pageUnitYToDocY(y) - item->yPos(), item);
// Now restore the selection.
ScCore->primaryMainWindow()->view->Deselect();
if (hadOrigSelection)
359,7 → 359,7
return;
if (item == NULL)
return;
ScCore->primaryMainWindow()->doc->SizeItem(ValueToPoint(width), ValueToPoint(height), item);
ScCore->primaryMainWindow()->doc->sizeItem(ValueToPoint(width), ValueToPoint(height), item);
}
 
void ItemAPI::rotate(double rot)