From: <el_...@us...> - 2007-10-28 22:35:15
|
Revision: 751 http://ddccontrol.svn.sourceforge.net/ddccontrol/?rev=751&view=rev Author: el_cubano Date: 2007-10-28 15:35:13 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Remove jitter from sliders (patch from Ulrich Mierendorff) Modified Paths: -------------- trunk/ddccontrol/TODO trunk/ddccontrol/src/gddccontrol/notebook.c Modified: trunk/ddccontrol/TODO =================================================================== --- trunk/ddccontrol/TODO 2007-10-28 08:39:42 UTC (rev 750) +++ trunk/ddccontrol/TODO 2007-10-28 22:35:13 UTC (rev 751) @@ -13,10 +13,3 @@ - Fix Samsung 740BF (not detected as LCD) - Fix Mitsubishi DiamondPro 930SB (not detected as CRT (type(CRT_AG))) - - When changing a control value quickly (moving the mouse outside the control), - the value on the scale does not correspond to the real value. - - "My only criticism is that the slider - controls in the GUI seem a bit "jittery." They jump a little when you - slide them. This is most noticable if you are trying to move it only a - short distance. I am not sure what the cause of this is, but I though I - should let you know." Modified: trunk/ddccontrol/src/gddccontrol/notebook.c =================================================================== --- trunk/ddccontrol/src/gddccontrol/notebook.c 2007-10-28 08:39:42 UTC (rev 750) +++ trunk/ddccontrol/src/gddccontrol/notebook.c 2007-10-28 22:35:13 UTC (rev 751) @@ -401,11 +401,11 @@ gtk_range_set_increments(GTK_RANGE(widget), 100.0/(double)currentMaximum, - 10.0*100.0/(double)currentMaximum); + 100.0/(double)currentMaximum); gtk_range_set_value(GTK_RANGE(widget), (double)100.0*currentDefault/(double)currentMaximum); - g_signal_connect_after(G_OBJECT(widget), "value-changed", G_CALLBACK(range_callback), NULL); + g_signal_connect_after(G_OBJECT(widget), "change-value", G_CALLBACK(range_callback), NULL); } break; case command: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |