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;
*/
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(),
*
* @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), //
* @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()));