View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#373
I've uploaded an initial version of the FBReader Customiser. This currently allows customising the main and popup menus - I'll be adding toolbar customisation at some point but that's a bit more complex, so I need to plan it through first.

The initial view allows selection of which menu to edit:


You're then presented with a list of Available actions (sorted alphabetically), and a list of currently Selected actions (in the order they'll be shown on the menu). The labels are the same as those shown in the menus in FBReader (and it should pick up the localised versions, but I've not tested that), so some of them may be context-sensitive (and some actions may not work at all):


You can scroll through the items using the normal touch scrolling, and move items between the lists (or reorder the Selected actions) using drag & drop. In order to get these two functions working together, a drag has to move sideways initially.

The main menu is limited to 14 actions (which is all that can fit on the screen), after which it won't allow you to drag any more from the Available list. The popup menu isn't limited at all.

Press the Save button to write out the custom configuration file. To revert to the default configuration, just remove the appropriate xml file (popupmenu,xml or menubar.xml) from ~/.FBReader (I'll add this functionality into the app for a future release).

Let me know if you find any issues, or have any suggestions. I'm not entirely happy with the current interface, so this may well be changing in a future version, but I thought I'd let you have what I've done currently (it's functional at least).
 

The Following 4 Users Say Thank You to Rob1n For This Useful Post: