summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index dfd704b..f6b8c32 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -18,9 +18,11 @@ protected:
void resizeEvent(QResizeEvent *event) override;
private:
- void resizePixmap();
+ void fit();
+ void scale(double scale);
Ui::MainWindow *ui;
QPixmap current;
const QString title_format{"qimv [%1]"};
+ const QString scale_format{"%1%"};
};