View Single Post
Old 08-21-2009, 07:59 AM   #125
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
I see some problem in your code:
1. It's not necessary to call erIpcStartClient() everytime doPaint() is called. Just put erIpcStartClient() in main() should be enough.
2. I guess the flickering problem does not occur during excuting doPaint(). It should occur after doPaint() is finished, so it is useless to call xepdmgrclient api there. Maybe you should try putting those function calls in individual function in FBReaderActions.cpp, such as void ScrollingAction::run().
ericshliao is offline   Reply With Quote