Quote:
Originally Posted by pwarren
So I thought that instead of trying to find every instance of things that needed porting there, I'd try and use a mixed approach, use xepdmgr for the menu button dialogues, and the erdm style for page flipping.
To my questions then
Is that pretty much what the EPDCancel() function is for?
and
How do I use that in FBReader? (or other code for that matter)
|
Well, really it's EpdRefreshAuto() the one that enables/disables the autorefresh.
See post 98 in this thread:
https://www.mobileread.com/forums/sho...5&postcount=98
That code sample is what you are looking for, if I'm not mistaken: when you want to refresh the main viewing area of FBReader, disable xepdmgr (with "EpdRefreshAuto(Epd,0)"), then do the update and refresh manually (using either "EpdRefreshFull(Epd)" or the functions in erdm -- I think that here there should be no difference in elapsed time between these functions) and then re-enable the auto-refresh (with "EpdCancel(Epd),EpdRefreshAuto(Epd,1)".