Dear all,
After several days study, I do a little modify for the community IPDF source code
https://www.mobileread.com/forums/showthread.php?t=14915, and make a touch screen version IPDF, the function currently implemented as separate the screen to 3*3 square, every area will do exactly one function,I use top 6 square to do the following:
prev page(simulate short press left flipbar)
enter(exit) full screen mode(simulate long press prev key/short press up key)
next page(simulate short right flipbar)
prev 5 page(simulate long left flipbar)
exit IPDF(simulate short press up key)
next 5 page(simulate long right flipbar)
the bottom 3 area I don't used now, when I have time I want implement forward/backward and maybe shutdown function.
The idea is fully use the touch screen's ability, sometimes my flipbar won't do what I want it to do exactly. Now,when I read pdf I can use full screen function and change page by touch screen, it's very nice.
Known problem:
the exit time will longer than normal way(short press up key), don't know why
some icons does not reflect the click action until you refresh the screen.
I don't know whether this kind of work can be implement on fbreader too? I think it's more difficult to be done.
Last:
It take me long time to correct compile the IPDF on Adam.B's virtual machine, because the LD_LIBRARY_PATH and PKG_CONFIG_PATH environment variable, I set it on scratch user .bash_profile as follow:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export LD_LIBRARY_PATH=/usr/local/arm/oe/arm-linux/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
export PATH=$PATH:/usr/local/arm/oe/arm-linux/bin
export PKG_CONFIG_PATH=/usr/local/arm/oe/arm-linux/lib/pkgconfig
but I meet problem when use ./configure, then I change back the LD_LIBRARY_PATH to
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
and when do 'make' change it again
export LD_LIBRARY_PATH=/usr/local/arm/oe/arm-linux/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
then everything is OK.
Attach is the binary with striped, and the modified PDFPortraitView.cpp code.
install is as easy as put the unrar ipdf to /usr/bin/ directory. or you unrar the fulltouch to sd/cf card, then click it on contentlist, it should install it for you, before do it I recomment you first use
https://www.mobileread.com/forums/showthread.php?t=22152
to backup the original ipdf, this installer will have more choice to select.
thanks everybody.

Mike