Wednesday, April 25, 2007

Xournal Porting Woes

I’m attempting to port Xournal (http://xournal.sourceforge.net/) to the iLiad.  It’s going pretty well, everything works *almost* as expected.  The show stopper here is screen updates when writing.  I can’t seem to get the screen to constantly update as I’m writing.  It will update after a brief period, and when I lift the stylus off of the screen, but not while I’m writing.  So far, I’ve tried using dmDisplay(dmCmdPriorUrgent, dmQTyping); to initiate the updates.  I’m starting to think I need to go about it a different way, or create a loop to continuously run that while it’s drawing the line.  I can release it now, but it may be too annoying for people.

 

1 comments:

jharker said...

Hi! This is an older post, so I dunno if you're still having this problem or even still interested. But for what it's worth, you might check out the functions in iRex's proprietary library liberscribble. Scribbling in ipdf is accomplished using this library. Check out the code in ipdf-0.29/src/ScribbleMgr.cpp, particularly the function addPoint. The continual scribbling process is called from event handlers in PDFPortraitView.cpp (and the landscape one too).

You probably know all of this by now. :-)