View Single Post
Old 02-26-2009, 02:27 PM   #16
Shaggy
Wizard
Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.
 
Shaggy's Avatar
 
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
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.
Shaggy is offline   Reply With Quote