Am 05.01.2011 21:30, schrieb Andruk Tatum:
> The input not working properly in portrait mode is probably due to how
> you rotated Xournal or the screen.  In X, the output and the input
> have to be rotated independently (the commands are 'xrandr -o right'
> and 'xsetwacom set stylus Rotate CCW'), and in Maemo, this is probably
> already handled correctly.  A project to try to fix this is in the
> works (I have a few patches for it):
>
> TabletTray - https://launchpad.net/tablettray
>
> Hope this helps.
> -- @
I didn't find code?

Anyway, I didn't find good information about GTK extended event
handling. I copied all the code from Xournal, If anybody know a good
description or example code I'm interested in.

I'm tried to use the current Xournal code to fix input coordinates, but
it is not working at the moment.

If somebody has time to look into my code, you can find the event
handling in src/gui/PageView.cpp, the input fix things are at the end of
the file.

I do input handling different from Xournal, in my application each page
has it's own Widget, so each page handle it's own events.


I checked in a new Version, which handles now Images in Xournal pages.
If you used the Xournal image path before this will be displayed
correctly, I also save the PNG images embedded in the XML file, so I'm
compatible with the current patch.




Andreas

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to