Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Monochrome Icons for FBReader


wallcraft
09-20-2007, 10:08 PM
Most modern icon sets are designed for large icons and many colors. One exception is Monochrome (http://www.kde-look.org/content/show.php?content=18317), which, despite its lack of color, is one of my favorite icon sets. Unfortunately, it is for KDE only (and iLiad apps tend to be GTK/Gnome based). In any case, I enclose a set of FBReader icons using Monochrome icons. I did not update the filetype icons.

One way to switch to these icons is to connect the CF card that contains FBReader to a PC and then:

a) On the CF card, goto _local\share\pixmaps\
b) Rename the directory FBReader to (say) FBReader_orig
c) unzip mono-32, and copy directory FBReader into _local\share\pixmaps\ on the CF card
d) Reinstall the CF card on the iLiad

The FBReader directory now contains the Monochrome icons, and so these will be used by FBReader from now on. I have switched FBReader icons many times, and the worse that can happen is that you get the default "missing" icon for any icons that can't be found.

Note that if you update FBReader you should first move FBReader to FBReader_mono and FBReader_orig back to FBReader. That way you won't overwrite the Monochrome icons. This is also how you switch back to the original icons if you prefer them.

nekokami
09-21-2007, 09:36 AM
Thanks! Could this method be used to increase the size of icons, particularly the little "plus" icons in the library view? It can be quite hard to hit those with the stylus sometimes.

wallcraft
09-21-2007, 09:54 AM
The "+" and "-" icons used in expanding and collapsing directory (and TOC) trees appear to be built in GTK features (and perhaps not even icons at all). Even when there are no icons in the pixmaps/FBReader directory these still show up. Most of GTK is themable, so there may be a way to make these larger. The trick would be to work out exactly what part of GTK this is, and then discover how to change its properties. The other suggestion I made on FBReader's Google Group was to treat selection anywhere on the row containing the "+" as the same as selecting the "+", but that probably involves extra coding.

I left the library view icons as 16x16, but they could be replaced by 24x24 icons. I'll look into doing that.

wallcraft
09-25-2007, 08:21 AM
The "+" and "-" boxes are line drawing code inside FBReader, so themes won't help. There is definitely a bug, because if you increase the size of the library view fonts the boxes should get bigger and they don't. I have updated FBReader's Bug Tracker (http://www.fbreader.org/mantis/view.php?id=25) to reflect this. The bug might in fact be fixed in the latest code (at least it does not happen on other machines now, if it ever did). It is easy to test for the bug: if the boxes stay small even with a large font then we know the bug is still present.

wallcraft
09-27-2007, 09:23 PM
Adam added nextsection (and close/quit) to the standard set of FBReader icons. This is a useful addition, but with the standard icon size (as in mono-32) the panel runs out of space and close falls off the end. One fix is to turn off rotation, which removes one icon from the panel. An alternative is to reduce the size of one or more icons. Adam reduced the size of nextsection, but in v2 (above) I reduced the size of find+ and find- instead.

The v2 icons also have 24x24 Monochrome file icons (vs the standard 22x22 Tango-based originals). Most filetypes show up as the generic "text" icon, since Monospace does not have e-book type icons.