git://git.nikiroo.be
/
fanfix-swing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7683314
)
use icons on the navbar also for images viewer
author
Niki Roo
<niki@nikiroo.be>
Mon, 4 May 2020 07:58:37 +0000
(09:58 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Mon, 4 May 2020 07:58:37 +0000
(09:58 +0200)
src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java
b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java
index 36f2e3db89afbf69989a1c6db21632c4ba45b23a..db072ddcc258a9141018151cd38da2ef60ff6fda 100644
(file)
--- a/
src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java
+++ b/
src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java
@@
-184,6
+184,12
@@
public class ViewerImages extends JFrame {
// Page navigation
navbar = new NavBar(1, images.size());
+ navbar.setIcons( //
+ IconGenerator.get(Icon.arrow_double_left, Size.x32), //
+ IconGenerator.get(Icon.arrow_left, Size.x32), //
+ IconGenerator.get(Icon.arrow_right, Size.x32), //
+ IconGenerator.get(Icon.arrow_double_right, Size.x32) //
+ );
// Rotate
JButton left = new JButton(IconGenerator.get(Icon.turn_left, Size.x32));