Subversion Repositories public iLand

Rev

Rev 1034 | Rev 1066 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1034 Rev 1061
Line 543... Line 543...
543
#ifdef ILAND_GUI
543
#ifdef ILAND_GUI
544
    if (mViewerWindow)
544
    if (mViewerWindow)
545
        mViewerWindow->setViewport(center_point, scale_px_per_m);
545
        mViewerWindow->setViewport(center_point, scale_px_per_m);
546
#else
546
#else
547
    Q_UNUSED(center_point);Q_UNUSED(scale_px_per_m);
547
    Q_UNUSED(center_point);Q_UNUSED(scale_px_per_m);
-
 
548
#endif
-
 
549
}
-
 
550
-
 
551
void ModelController::setUIShortcuts(QVariantMap shortcuts)
-
 
552
{
-
 
553
#ifdef ILAND_GUI
-
 
554
    if (mViewerWindow)
-
 
555
        mViewerWindow->setUIshortcuts(shortcuts);
-
 
556
#else
-
 
557
    Q_UNUSED(shortcuts);
548
#endif
558
#endif
549
}
559
}
550
560
551
void ModelController::repaint()
561
void ModelController::repaint()
552
{
562
{