From: Niki Roo Date: Sun, 3 May 2020 20:17:27 +0000 (+0200) Subject: NewViewerImages -> ViewerImages X-Git-Tag: fanfix-swing-1.1.1~5 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=cce6a652ceeadacf97e2d5d7d8ae12f901a36596;p=fanfix-swing.git NewViewerImages -> ViewerImages --- diff --git a/src/be/nikiroo/fanfix_swing/Actions.java b/src/be/nikiroo/fanfix_swing/Actions.java index 5b8f0d3e..aebe309f 100644 --- a/src/be/nikiroo/fanfix_swing/Actions.java +++ b/src/be/nikiroo/fanfix_swing/Actions.java @@ -26,7 +26,7 @@ import be.nikiroo.fanfix.library.LocalLibrary; import be.nikiroo.fanfix_swing.gui.book.BookInfo; import be.nikiroo.fanfix_swing.gui.utils.CoverImager; import be.nikiroo.fanfix_swing.gui.utils.UiHelper; -import be.nikiroo.fanfix_swing.gui.viewer.NewViewerImages; +import be.nikiroo.fanfix_swing.gui.viewer.ViewerImages; import be.nikiroo.fanfix_swing.gui.viewer.Viewer; import be.nikiroo.utils.Progress; import be.nikiroo.utils.StringUtils; @@ -138,7 +138,7 @@ public class Actions { */ static private void openInternal(Story story) { if (story.getMeta().isImageDocument()) { - NewViewerImages viewer = new NewViewerImages(story); + ViewerImages viewer = new ViewerImages(story); viewer.setVisible(true); } else { Viewer viewer = new Viewer(Instance.getInstance().getLibrary(), diff --git a/src/be/nikiroo/fanfix_swing/gui/viewer/NewViewerImages.java b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java similarity index 99% rename from src/be/nikiroo/fanfix_swing/gui/viewer/NewViewerImages.java rename to src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java index e8b3d560..47de816b 100644 --- a/src/be/nikiroo/fanfix_swing/gui/viewer/NewViewerImages.java +++ b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java @@ -54,7 +54,7 @@ import be.nikiroo.utils.ui.UIUtils; * * @author niki */ -public class NewViewerImages extends JFrame { +public class ViewerImages extends JFrame { private enum ZoomLevel { FIT_TO_WIDTH(-1, true), // FIT_TO_HEIGHT(-1, false), // @@ -126,7 +126,7 @@ public class NewViewerImages extends JFrame { * @param story * the {@link Story} to display */ - public NewViewerImages(Story story) { + public ViewerImages(Story story) { setTitle(MainFrame.trans(StringIdGui.TITLE_STORY, story.getMeta().getLuid(), story.getMeta().getTitle()));