Enlightenment CVS committal
Author : pfritz
Project : e17
Module : apps/examine
Dir : e17/apps/examine/src
Modified Files:
examine.c examine_client.c
Log Message:
make it compile again
===================================================================
RCS file: /cvs/e/e17/apps/examine/src/examine.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- examine.c 30 Apr 2006 07:36:15 -0000 1.38
+++ examine.c 16 Aug 2006 10:01:30 -0000 1.39
@@ -157,7 +157,7 @@
examine_prop *change;
change = (examine_prop *) user_data;
- change->value.val = (int) ewl_spinner_value_get(EWL_SPINNER(w));
+ change->value.val = (int) ewl_range_value_get(EWL_RANGE(w));
}
static void
@@ -166,7 +166,7 @@
examine_prop *change;
change = (examine_prop *) user_data;
- change->value.fval = (float) ewl_spinner_value_get(EWL_SPINNER(w));
+ change->value.fval = (float) ewl_range_value_get(EWL_RANGE(w));
}
static void
@@ -272,26 +272,26 @@
entries[1] = ewl_spinner_new();
ewl_spinner_digits_set(EWL_SPINNER(entries[1]), 0);
- ewl_spinner_step_set(EWL_SPINNER(entries[1]), 1);
+ ewl_range_step_set(EWL_RANGE(entries[1]), 1);
if (prop_item->bound & BOUND_BOUND) {
- ewl_spinner_min_val_set(EWL_SPINNER(entries[1]), prop_item->min);
- ewl_spinner_max_val_set(EWL_SPINNER(entries[1]), prop_item->max);
+ ewl_range_minimum_value_set(EWL_RANGE(entries[1]), prop_item->min);
+ ewl_range_maximum_value_set(EWL_RANGE(entries[1]), prop_item->max);
}
if (prop_item->bound & BOUND_STEPPED)
- ewl_spinner_step_set(EWL_SPINNER(entries[1]), prop_item->step);
+ ewl_range_step_set(EWL_RANGE(entries[1]), prop_item->step);
ewl_callback_append(entries[1], EWL_CALLBACK_VALUE_CHANGED, cb_set_int,
prop_item);
} else if (prop_item->type == ECORE_CONFIG_FLT) {
entries[1] = ewl_spinner_new();
/* ewl_spinner_digits_set(EWL_SPINNER(input), 0);
- ewl_spinner_step_set(EWL_SPINNER(input), 1);*/
+ ewl_range_step_set(EWL_RANGE(input), 1);*/
if (prop_item->bound & BOUND_BOUND) {
- ewl_spinner_min_val_set(EWL_SPINNER(entries[1]), prop_item->fmin);
- ewl_spinner_max_val_set(EWL_SPINNER(entries[1]), prop_item->fmax);
+ ewl_range_minimum_value_set(EWL_RANGE(entries[1]), prop_item->fmin);
+ ewl_range_maximum_value_set(EWL_RANGE(entries[1]), prop_item->fmax);
}
if (prop_item->bound & BOUND_STEPPED)
- ewl_spinner_step_set(EWL_SPINNER(entries[1]), prop_item->fstep);
+ ewl_range_step_set(EWL_RANGE(entries[1]), prop_item->fstep);
ewl_callback_append(entries[1], EWL_CALLBACK_VALUE_CHANGED, cb_set_float,
prop_item);
} else if (prop_item->type == ECORE_CONFIG_RGB) {
===================================================================
RCS file: /cvs/e/e17/apps/examine/src/examine_client.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- examine_client.c 30 Apr 2006 07:36:15 -0000 1.30
+++ examine_client.c 16 Aug 2006 10:01:30 -0000 1.31
@@ -355,7 +355,7 @@
switch (target->type) {
case ECORE_CONFIG_INT:
target->value.val = target->oldvalue.val;
- ewl_spinner_value_set(EWL_SPINNER(target->w), target->value.val);
+ ewl_range_value_set(EWL_RANGE(target->w), target->value.val);
break;
case ECORE_CONFIG_BLN:
target->value.val = target->oldvalue.val;
@@ -363,7 +363,7 @@
break;
case ECORE_CONFIG_FLT:
target->value.fval = target->oldvalue.fval;
- ewl_spinner_value_set(EWL_SPINNER(target->w), target->value.fval);
+ ewl_range_value_set(EWL_RANGE(target->w), target->value.fval);
break;
case ECORE_CONFIG_THM:
free(target->value.ptr);
@@ -501,13 +501,13 @@
sscanf(ret, "%d", &tmpi);
prop->value.val = tmpi;
prop->oldvalue.val = tmpi;
- ewl_spinner_value_set(EWL_SPINNER(prop->w), (double) tmpi);
+ ewl_range_value_set(EWL_RANGE(prop->w), (double) tmpi);
break;
case ECORE_CONFIG_FLT:
sscanf(ret, "%f", &tmpd);
prop->value.fval = tmpd;
prop->oldvalue.fval = tmpd;
- ewl_spinner_value_set(EWL_SPINNER(prop->w), tmpd);
+ ewl_range_value_set(EWL_RANGE(prop->w), tmpd);
break;
case ECORE_CONFIG_THM:
prop->value.ptr = strdup(ret);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs