From: Niki Roo Date: Mon, 4 May 2020 07:57:56 +0000 (+0200) Subject: move Navbar into nikiroo-utils X-Git-Tag: fanfix-swing-1.2.0~37 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=768331440dc2be16005f2ba56800b784a8a02d6b;p=fanfix-swing.git move Navbar into nikiroo-utils --- 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.