diff options
author | fred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local> | 2016-07-19 10:53:40 -0700 |
---|---|---|
committer | fred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local> | 2016-08-08 14:20:56 -0700 |
commit | 5e6e1793723b139a7ed702cf6dc48955fb27300e (patch) | |
tree | 62908437f3aeae2da759de02e5e10c65cf7a66e5 /platform/java/src | |
parent | d0fcfca2a309623a04809f64de2846c439761c1d (diff) | |
download | mupdf-5e6e1793723b139a7ed702cf6dc48955fb27300e.tar.xz |
Android example - collected changes
- move UI into the "mupdf" module.
The app simply sets up a DocView and starts it with a file path.
The app can call DocView.showUI to determine whether the built-in UI
is used. The plan is for apps to be able to use the built-in UI,
or supply their own.
Also includes some rudimentary UI for show/hiding annotations, and
listing links and outlines. Just for testing JNI features.
- add toolbar and tabs at the top of the view.
- refactoring
DocView becomes DocActivityView, DocViewInner becomes DocView.
- add Pages toolbar and page list view.
make the page list a little narrower.
give the document view and the pages view separate bitmaps,
and have DocPageView implement clipping when it draws.
- fix tabbing and brace style.
- add simple text selection and highlighting.
This is still a work in progress.
- various code review items.
fix tabs and brace styles
remove function calls from loop statements
use "highlight", not "hilight"
put a few strings into resources
avoid Right Hand Drift (tm)
Rects are inclusive...exclusive for the purpose of testing limits
put "else" on a separate line
put "catch" and "finally" on separate lines
Diffstat (limited to 'platform/java/src')
0 files changed, 0 insertions, 0 deletions