Full image dimensions in navigator info

see 1426
This commit is contained in:
Oliver Duis
2012-06-24 11:59:21 +02:00
parent da4dda3530
commit e603fc6864
7 changed files with 23 additions and 9 deletions

View File

@@ -333,6 +333,15 @@ void CropHandler::getSize (int& w, int& h) {
h = cropH;
}
void CropHandler::getFullImageSize (int& w, int& h) {
if (ipc) {
w = ipc->getFullWidth ();
h = ipc->getFullHeight ();
} else {
w=h=0;
}
}
void CropHandler::compDim () {
cropX = cx;