Johnathan
|
2008-12-26
, 05:06
|
Posts: 2 |
Thanked: 3 times |
Joined on Dec 2008
|
#111
|
|
2008-12-26
, 09:07
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#112
|
I have what I believe to be a fix to the "ghost lines" problem, but I can't seem to get the project to compile (the compiler complaining about python this and that... I have no idea how to fix that. I'm using the Maemo Dev VMWare image which is supposedly configured correctly but seems that isn't so). Anyway, if anyone else is able to compile the project and can test my changes, please let me know. I changed the function 'gtk_my_draw_widget_button_updown' in gtkmydrawwidget.c as follows, in order to enforce zero-pressure events when the pen is pressed to or lifted from the tablet:
Code:static gint gtk_my_draw_widget_button_updown (GtkWidget *widget, GdkEventButton *event) { GtkMyDrawWidget * mdw; g_return_val_if_fail (widget != NULL, FALSE); g_return_val_if_fail (GTK_IS_MY_DRAW_WIDGET (widget), FALSE); mdw = GTK_MY_DRAW_WIDGET (widget); double pressure; if (!gdk_event_get_axis ((GdkEvent *)event, GDK_AXIS_PRESSURE, &pressure)) { pressure = (event->state & GDK_BUTTON1_MASK) ? 0.5 : 0; } if (event->state & GDK_BUTTON1_MASK) gtk_my_draw_widget_process_motion_or_button (widget, event->time, event->x, event->y, 0); gtk_my_draw_widget_process_motion_or_button (widget, event->time, event->x, event->y, pressure); if ((event->state & GDK_BUTTON1_MASK) == 0) gtk_my_draw_widget_process_motion_or_button (widget, event->time, event->x, event->y, 0); return TRUE; }
#Maemo extras
deb http://repository.maemo.org/extras/ diablo free non-free
deb-src http://repository.maemo.org/extras/ diablo free
deb http://repository.maemo.org/extras-devel/ diablo free non-free
deb-src http://repository.maemo.org/extras-devel/ diablo free
|
2008-12-31
, 19:09
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#113
|
|
2009-01-03
, 22:24
|
Posts: 2 |
Thanked: 3 times |
Joined on Dec 2008
|
#114
|
The Following User Says Thank You to Johnathan For This Useful Post: | ||
|
2009-01-27
, 05:27
|
Posts: 5 |
Thanked: 2 times |
Joined on Dec 2008
|
#115
|
|
2009-02-25
, 20:52
|
Posts: 5 |
Thanked: 2 times |
Joined on Dec 2008
|
#116
|
|
2009-08-19
, 17:17
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#117
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-08-19
, 17:22
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#118
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2009-08-19
, 17:32
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#119
|
I'm bumping the thread, because the upstream version is up to 0.7.1, Fremantle is coming, and nobody compiled a version with a fix for the ghost lines.
Could someone please pick up the ball here?
The Following 4 Users Say Thank You to lcuk For This Useful Post: | ||
|
2009-08-20
, 08:16
|
Posts: 118 |
Thanked: 297 times |
Joined on Nov 2007
|
#120
|
I'm bumping the thread, because the upstream version is up to 0.7.1, Fremantle is coming, and nobody compiled a version with a fix for the ghost lines.
Could someone please pick up the ball here?