What I'm thinking of is something like:
In settings.h
Take the #define JumpWidth out and add it as an int in the CSettings class.
Then in settings.cpp
Add JumpWidth to the load/save routines for the manifest.
Create a getJumpWidth() method that returns the value.
In PDFPortraitView.cpp and PDFLandscapeView.cpp
Change the references from JumpWidth to settings.getJumpWidth().
That would make controlling the behavior of the long press jump easier on the users (just modify the manifest on their iLiad), rather than having to install a specific binary version that is hard coded to the behavior they want.
|