move Navbar into nikiroo-utils
authorNiki Roo <niki@nikiroo.be>
Mon, 4 May 2020 07:57:56 +0000 (09:57 +0200)
committerNiki Roo <niki@nikiroo.be>
Mon, 4 May 2020 07:57:56 +0000 (09:57 +0200)
src/be/nikiroo/fanfix_swing/gui/search/SearchFrame.java
src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java
src/be/nikiroo/fanfix_swing/gui/viewer/ViewerNonImages.java
src/be/nikiroo/utils/ui/NavBar.java [moved from src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java with 98% similarity]

index 80b42941d90484ed2050093c99d3c509544bc282..da757c4f14659506986d5b30ceb1b54a77e0ee5a 100644 (file)
@@ -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;
 
 /**
index 0abd459a228d5814e6b2701f4512d1fbe1d94330..36f2e3db89afbf69989a1c6db21632c4ba45b23a 100644 (file)
@@ -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;
 
index 564b599587d73a766b08367b3a4674e333371718..53175b13e597562cf58a9c44e065bea2b1dd0a00 100644 (file)
@@ -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;
 
 /**
similarity index 98%
rename from src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java
rename to src/be/nikiroo/utils/ui/NavBar.java
index 152fcc9aa2407a0945f2e4cf2adc1ad346c8126d..ba788f367d8fa92c4cfb6b4ae648baa8338b4ba2 100644 (file)
@@ -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.