summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5d2a28)
raw | patch | inline | side by side (parent: e5d2a28)
author | joncruz <joncruz@users.sourceforge.net> | |
Fri, 23 Mar 2007 06:37:37 +0000 (06:37 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Fri, 23 Mar 2007 06:37:37 +0000 (06:37 +0000) |
src/ege-adjustment-action.cpp | patch | blob | history |
index 54cde1d1d71e87937533ba96e0dcb6e1bee2c931..c898cfd7ea03a5bdad913c7a49239c64381bfba0 100644 (file)
action->private_data->focusWidget = 0;
action->private_data->climbRate = 0.0;
action->private_data->digits = 2;
- action->private_data->epsilon = 0.01;
+ action->private_data->epsilon = 0.009;
action->private_data->format = g_strdup_printf("%%0.%df%%s%%s", action->private_data->digits);
action->private_data->selfId = 0;
action->private_data->toolPost = 0;
@@ -348,11 +348,11 @@ void ege_adjustment_action_set_property( GObject* obj, guint propId, const GValu
/* TODO pass on */
action->private_data->digits = g_value_get_uint( value );
switch ( action->private_data->digits ) {
- case 0: action->private_data->epsilon = 1.0; break;
- case 1: action->private_data->epsilon = 0.1; break;
- case 2: action->private_data->epsilon = 0.01; break;
- case 3: action->private_data->epsilon = 0.001; break;
- case 4: action->private_data->epsilon = 0.0001; break;
+ case 0: action->private_data->epsilon = 0.9; break;
+ case 1: action->private_data->epsilon = 0.09; break;
+ case 2: action->private_data->epsilon = 0.009; break;
+ case 3: action->private_data->epsilon = 0.0009; break;
+ case 4: action->private_data->epsilon = 0.00009; break;
}
if ( action->private_data->format ) {
g_free( action->private_data->format );