geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 801 forks source link

Add ShowProgressAsPercentage option #360

Closed danieroux closed 9 years ago

danieroux commented 9 years ago

If progress is show: This toggles between showing the percentage completed and the number of pages completed.

Also added a battery unicode symbol in front of the battery display, to clearly show the point of that percentage.

geometer commented 9 years ago

Good update, thanks. 2 questions:

1) That could be confusing for users, to have both page number & page percentage checkboxes in the preferences, nope? May be it makes sense to create option for 'position displaying format', with options

2) What will happen if there is no battery symbol in the font? (This symbol is great idea, thanks, but this question...)

danieroux commented 9 years ago

I've changed it to a list of options, like you suggested. This does have a translation impact, so I've removed the old resource key.

Most fonts will have the symbol. If it doesn't, it should render as a rectangle, meaning "missing glyph". Which would still sort of look like a battery!

danieroux commented 9 years ago

Should I make this change on the 2.6 branch instead?

geometer commented 9 years ago

Sorry, I'm currently on holidays till 19th September. Still working some evenings, but not too much. I remember about your patch, and plan to merge it (still not sure about battery symbol). It's not necessary to change something for 2.6.

geometer commented 9 years ago

Here is how the battery symbol looks on Galaxy Tab: battery_symbol