From 768331440dc2be16005f2ba56800b784a8a02d6b Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 4 May 2020 09:57:56 +0200 Subject: [PATCH] move Navbar into nikiroo-utils --- src/be/nikiroo/fanfix_swing/gui/search/SearchFrame.java | 2 +- src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java | 1 + src/be/nikiroo/fanfix_swing/gui/viewer/ViewerNonImages.java | 1 + .../nikiroo/{fanfix_swing/gui/viewer => utils/ui}/NavBar.java | 4 +--- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/be/nikiroo/{fanfix_swing/gui/viewer => utils/ui}/NavBar.java (98%) diff --git a/src/be/nikiroo/fanfix_swing/gui/search/SearchFrame.java b/src/be/nikiroo/fanfix_swing/gui/search/SearchFrame.java index 80b42941..da757c4f 100644 --- a/src/be/nikiroo/fanfix_swing/gui/search/SearchFrame.java +++ b/src/be/nikiroo/fanfix_swing/gui/search/SearchFrame.java @@ -23,7 +23,7 @@ import be.nikiroo.fanfix.supported.SupportType; import be.nikiroo.fanfix_swing.gui.book.BookInfo; import be.nikiroo.fanfix_swing.gui.search.GRBook.BookActionListener; import be.nikiroo.fanfix_swing.gui.utils.UiHelper; -import be.nikiroo.fanfix_swing.gui.viewer.NavBar; +import be.nikiroo.utils.ui.NavBar; import be.nikiroo.utils.ui.UIUtils; /** diff --git a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java index 0abd459a..36f2e3db 100644 --- a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java +++ b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java @@ -45,6 +45,7 @@ import be.nikiroo.fanfix_swing.images.IconGenerator.Size; import be.nikiroo.utils.Image; import be.nikiroo.utils.ui.DelayWorker; import be.nikiroo.utils.ui.ImageUtilsAwt; +import be.nikiroo.utils.ui.NavBar; import be.nikiroo.utils.ui.ImageUtilsAwt.Rotation; import be.nikiroo.utils.ui.UIUtils; diff --git a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerNonImages.java b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerNonImages.java index 564b5995..53175b13 100644 --- a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerNonImages.java +++ b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerNonImages.java @@ -30,6 +30,7 @@ import be.nikiroo.fanfix_swing.images.IconGenerator; import be.nikiroo.fanfix_swing.images.IconGenerator.Icon; import be.nikiroo.fanfix_swing.images.IconGenerator.Size; import be.nikiroo.utils.ui.DelayWorker; +import be.nikiroo.utils.ui.NavBar; import be.nikiroo.utils.ui.UIUtils; /** diff --git a/src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java b/src/be/nikiroo/utils/ui/NavBar.java similarity index 98% rename from src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java rename to src/be/nikiroo/utils/ui/NavBar.java index 152fcc9a..ba788f36 100644 --- a/src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java +++ b/src/be/nikiroo/utils/ui/NavBar.java @@ -1,4 +1,4 @@ -package be.nikiroo.fanfix_swing.gui.viewer; +package be.nikiroo.utils.ui; import java.awt.Dimension; import java.awt.LayoutManager; @@ -11,8 +11,6 @@ import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JTextField; -import be.nikiroo.utils.ui.ListenerPanel; - /** * A Swing-based navigation bar, that displays first/previous/next/last page * buttons. -- 2.27.0