Enlightenment CVS committal
Author : englebass
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_color_class.c e_color_dialog.c e_int_border_menu.c
e_int_config_imc.c e_int_config_shelf.c
e_int_config_wallpaper_gradient.c e_intl.c e_object.c
e_shelf.c e_spectrum.c e_widget_csel.c e_widget_cslider.c
e_widget_desk_preview.c e_widget_spectrum.c e_zone.c
Log Message:
Formatting.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_color_class.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_color_class.c 26 Jan 2006 21:25:54 -0000 1.4
+++ e_color_class.c 8 Apr 2007 21:00:30 -0000 1.5
@@ -1,25 +1,27 @@
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
#include "e.h"
-
EAPI int
e_color_class_init(void)
{
Evas_List *l;
for (l = e_config->color_classes; l; l = l->next)
- {
- E_Color_Class *cc;
+ {
+ E_Color_Class *cc;
- cc = l->data;
- if (!cc) continue;
+ cc = l->data;
+ if (!cc) continue;
- printf("INIT CC: %s, %d %d %d %d\n", cc->name, cc->r, cc->g, cc->b, cc->a);
- edje_color_class_set(cc->name,
- cc->r, cc->g, cc->b, cc->a,
- cc->r2, cc->g2, cc->b2, cc->a2,
- cc->r3, cc->g3, cc->b3, cc->a3);
+ printf("INIT CC: %s, %d %d %d %d\n", cc->name, cc->r, cc->g, cc->b,
cc->a);
+ edje_color_class_set(cc->name,
+ cc->r, cc->g, cc->b, cc->a,
+ cc->r2, cc->g2, cc->b2, cc->a2,
+ cc->r3, cc->g3, cc->b3, cc->a3);
- }
+ }
return 1;
}
@@ -36,14 +38,14 @@
cc = e_color_class_find(color_class);
if (!cc)
- {
- cc = E_NEW(E_Color_Class, 1);
- e_config->color_classes = evas_list_append(e_config->color_classes, cc);
- cc->name = evas_stringshare_add(color_class);
- cc->r = cc->g = cc->b = cc->a = 255;
- cc->r2 = cc->g2 = cc->b2 = cc->a2 = 255;
- cc->r3 = cc->g3 = cc->b3 = cc->a3 = 255;
- }
+ {
+ cc = E_NEW(E_Color_Class, 1);
+ e_config->color_classes = evas_list_append(e_config->color_classes, cc);
+ cc->name = evas_stringshare_add(color_class);
+ cc->r = cc->g = cc->b = cc->a = 255;
+ cc->r2 = cc->g2 = cc->b2 = cc->a2 = 255;
+ cc->r3 = cc->g3 = cc->b3 = cc->a3 = 255;
+ }
if (r != -1) cc->r = E_CLAMP(r, 0, 255);
if (g != -1) cc->g = E_CLAMP(g, 0, 255);
@@ -72,14 +74,14 @@
cc = e_color_class_find(name);
if (cc)
- {
- e_config->color_classes = evas_list_remove(e_config->color_classes, cc);
- edje_color_class_del(cc->name);
- evas_stringshare_del(cc->name);
- E_FREE(cc);
+ {
+ e_config->color_classes = evas_list_remove(e_config->color_classes, cc);
+ edje_color_class_del(cc->name);
+ evas_stringshare_del(cc->name);
+ E_FREE(cc);
- e_config_save_queue();
- }
+ e_config_save_queue();
+ }
}
EAPI E_Color_Class *
@@ -88,17 +90,17 @@
Evas_List *l;
E_Color_Class *cc = NULL;
- for(l = e_config->color_classes; l; l = l->next)
- {
- cc = l->data;
- if (!cc) continue;
-
- if (!strcmp(cc->name, name))
+ for (l = e_config->color_classes; l; l = l->next)
{
- return cc;
- break;
+ cc = l->data;
+ if (!cc) continue;
+
+ if (!strcmp(cc->name, name))
+ {
+ return cc;
+ break;
+ }
}
- }
return NULL;
}
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_color_dialog.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_color_dialog.c 25 Jan 2007 16:20:18 -0000 1.11
+++ e_color_dialog.c 8 Apr 2007 21:00:30 -0000 1.12
@@ -24,7 +24,7 @@
Evas_Coord mw, mh;
dia = E_OBJECT_ALLOC(E_Color_Dialog, E_COLOR_DIALOG_TYPE,
_e_color_dialog_free);
- if(!dia) return NULL;
+ if (!dia) return NULL;
dia->dia = e_dialog_new(con, "E", "_color_dialog");
e_dialog_title_set(dia->dia, "Color Selector");
@@ -105,7 +105,7 @@
E_Color_Dialog *dia;
dia = data;
- if(dia->select_func && dia->color)
+ if (dia->select_func && dia->color)
dia->select_func(dia, dia->color, dia->select_data);
_e_color_dialog_free(dia);
}
@@ -116,7 +116,7 @@
E_Color_Dialog *dia;
dia = data;
- if(dia->cancel_func && dia->initial)
+ if (dia->cancel_func && dia->initial)
dia->cancel_func(dia, dia->initial, dia->cancel_data);
_e_color_dialog_free(data);
}
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- e_int_border_menu.c 25 Mar 2007 17:23:49 -0000 1.59
+++ e_int_border_menu.c 8 Apr 2007 21:00:30 -0000 1.60
@@ -367,7 +367,7 @@
bd->border_stacking_menu = NULL;
was_menu = 1;
}
- if( bd->border_maximize_menu )
+ if (bd->border_maximize_menu)
{
e_object_del(E_OBJECT(bd->border_maximize_menu));
bd->border_maximize_menu = NULL;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_imc.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_int_config_imc.c 25 Mar 2007 17:36:21 -0000 1.15
+++ e_int_config_imc.c 8 Apr 2007 21:00:30 -0000 1.16
@@ -121,7 +121,7 @@
const char *path;
path = e_intl_imc_system_path_get();
- if(!strncmp(cfdata->imc_current, path, strlen(path)))
+ if (!strncmp(cfdata->imc_current, path, strlen(path)))
cfdata->fmdir = 1;
cfdata->imc_disable = 0;
}
@@ -328,7 +328,7 @@
}
i = 0;
- while(imc_basic_list)
+ while (imc_basic_list)
{
E_Input_Method_Config *imc;
Eet_File *imc_ef;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_shelf.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_int_config_shelf.c 2 Mar 2007 17:00:20 -0000 1.30
+++ e_int_config_shelf.c 8 Apr 2007 21:00:30 -0000 1.31
@@ -133,7 +133,7 @@
snprintf(buf, sizeof(buf), "%s %i", label, es->id);
ob = edje_object_add(evas);
- switch(es->cfg->orient)
+ switch (es->cfg->orient)
{
case E_GADCON_ORIENT_LEFT:
e_util_edje_icon_set(ob, "enlightenment/shelf_position_left");
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_wallpaper_gradient.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_int_config_wallpaper_gradient.c 14 Dec 2006 19:42:21 -0000 1.18
+++ e_int_config_wallpaper_gradient.c 8 Apr 2007 21:00:30 -0000 1.19
@@ -442,7 +442,7 @@
evas_object_gradient_color_stop_add(grad, import->cfdata->color1->r,
import->cfdata->color1->g, import->cfdata->color1->b, 255, 1);
evas_object_gradient_color_stop_add(grad, import->cfdata->color2->r,
import->cfdata->color2->g, import->cfdata->color2->b, 255, 1);
- switch(import->cfdata->mode)
+ switch (import->cfdata->mode)
{
case GRAD_H:
evas_object_gradient_type_set(grad, "linear", NULL);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- e_intl.c 24 Mar 2007 12:53:55 -0000 1.90
+++ e_intl.c 8 Apr 2007 21:00:30 -0000 1.91
@@ -499,7 +499,7 @@
static void
_e_intl_locale_hash_free(Evas_Hash *locale_hash)
{
- if(!locale_hash) return;
+ if (!locale_hash) return;
evas_hash_foreach(locale_hash, _e_intl_locale_hash_free_cb, NULL);
evas_hash_free(locale_hash);
}
@@ -730,11 +730,11 @@
locale_char = locale[locale_idx];
/* we have finished scanning the locale string */
- if(locale_char == 0)
+ if (!locale_char)
break;
/* scan this character based on the current start */
- switch(state)
+ switch (state)
{
case 0: /* Gathering Language */
if (tmp_idx == 2 && locale_char == '_')
@@ -759,14 +759,14 @@
territory[tmp_idx] = 0;
tmp_idx = 0;
}
- else if(tmp_idx == 2 && locale_char == '@')
+ else if ((tmp_idx == 2) && (locale_char == '@'))
{
state += 2;
territory[tmp_idx] = 0;
codeset[0] = 0;
tmp_idx = 0;
}
- else if(tmp_idx < 2 && isupper(locale_char))
+ else if ((tmp_idx < 2) && isupper(locale_char))
{
territory[tmp_idx++] = locale_char;
}
@@ -999,7 +999,7 @@
all_locales = _e_intl_locale_system_locales_get();
/* Match locale with one from the list */
- while(all_locales)
+ while (all_locales)
{
char *locale_next;
locale_next = all_locales->data;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_object.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_object.c 25 Mar 2007 22:45:00 -0000 1.20
+++ e_object.c 8 Apr 2007 21:00:30 -0000 1.21
@@ -162,7 +162,7 @@
{
/* try access magic value */
magic = obj->magic;
- /* if pointer is bogus we'd segv and so jump to the if() above */
+ /* if pointer is bogus we'd segv and so jump to the if () above */
/* contents, and thus reset segv handler and set segv flag. */
/* if not we just continue moving along here and reset handler */
sigaction(SIGSEGV, &oact, NULL);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_shelf.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- e_shelf.c 8 Apr 2007 09:32:48 -0000 1.54
+++ e_shelf.c 8 Apr 2007 21:00:30 -0000 1.55
@@ -280,7 +280,7 @@
}
else
{
- if(!es->hide_animator)
+ if (!es->hide_animator)
es->hide_animator =
ecore_animator_add(_e_shelf_cb_hide_animator, es);
}
if (es->hide_timer)
@@ -291,7 +291,7 @@
}
else if (!show && es->cfg->autohide && !es->hidden)
{
- if(!es->hide_timer)
+ if (!es->hide_timer)
es->hide_timer = ecore_timer_add(1.0, _e_shelf_cb_hide_timer, es);
}
}
@@ -1107,7 +1107,7 @@
}
else
{
- if(!es->hide_animator)
+ if (!es->hide_animator)
es->hide_animator = ecore_animator_add(_e_shelf_cb_hide_animator, es);
}
if (es->hide_timer)
@@ -1127,14 +1127,14 @@
es = data;
- switch(es->gadcon->orient)
+ switch (es->gadcon->orient)
{
case E_GADCON_ORIENT_TOP:
case E_GADCON_ORIENT_CORNER_TL:
case E_GADCON_ORIENT_CORNER_TR:
/* TODO: step coefficient needs to be configurable */
step = ((es->h - es->hidden_state_size) / e_config->framerate) * 2;
- if(es->hidden)
+ if (es->hidden)
{
if (es->hide_origin == -1) es->hide_origin = es->y;
if (es->hide_step < es->h - es->hidden_state_size)
@@ -1155,7 +1155,7 @@
}
else
{
- if(es->hide_step > 0)
+ if (es->hide_step > 0)
{
if (es->hide_step < step)
{
@@ -1176,7 +1176,7 @@
case E_GADCON_ORIENT_CORNER_BL:
case E_GADCON_ORIENT_CORNER_BR:
step = ((es->h - es->hidden_state_size) / e_config->framerate) * 2;
- if(es->hidden)
+ if (es->hidden)
{
if (es->hide_origin == -1) es->hide_origin = es->y;
if (es->hide_step < es->h - es->hidden_state_size)
@@ -1197,7 +1197,7 @@
}
else
{
- if(es->hide_step > 0)
+ if (es->hide_step > 0)
{
if (es->hide_step < step)
{
@@ -1219,7 +1219,7 @@
case E_GADCON_ORIENT_CORNER_LB:
case E_GADCON_ORIENT_CORNER_LT:
step = ((es->w - es->hidden_state_size) / e_config->framerate) * 2;
- if(es->hidden)
+ if (es->hidden)
{
if (es->hide_origin == -1) es->hide_origin = es->x;
if (es->hide_step < es->w - es->hidden_state_size)
@@ -1262,7 +1262,7 @@
case E_GADCON_ORIENT_CORNER_RB:
case E_GADCON_ORIENT_CORNER_RT:
step = ((es->w - es->hidden_state_size) / e_config->framerate) * 2;
- if(es->hidden)
+ if (es->hidden)
{
if (es->hide_origin == -1) es->hide_origin = es->x;
if (es->hide_step < es->w - es->hidden_state_size)
@@ -1318,13 +1318,13 @@
es = data;
- switch(es->gadcon->orient)
+ switch (es->gadcon->orient)
{
case E_GADCON_ORIENT_TOP:
case E_GADCON_ORIENT_CORNER_TL:
case E_GADCON_ORIENT_CORNER_TR:
/* TODO: step coefficient needs to be configurable */
- if(es->hidden)
+ if (es->hidden)
e_shelf_move(es, es->x, es->y - es->h + es->hidden_state_size);
else
e_shelf_move(es, es->x, es->y + es->h - es->hidden_state_size);
@@ -1332,7 +1332,7 @@
case E_GADCON_ORIENT_BOTTOM:
case E_GADCON_ORIENT_CORNER_BL:
case E_GADCON_ORIENT_CORNER_BR:
- if(es->hidden)
+ if (es->hidden)
e_shelf_move(es, es->x, es->y + es->h - es->hidden_state_size);
else
e_shelf_move(es, es->x, es->y - es->h + es->hidden_state_size);
@@ -1340,7 +1340,7 @@
case E_GADCON_ORIENT_LEFT:
case E_GADCON_ORIENT_CORNER_LB:
case E_GADCON_ORIENT_CORNER_LT:
- if(es->hidden)
+ if (es->hidden)
e_shelf_move(es, es->x - es->w + es->hidden_state_size, es->y);
else
e_shelf_move(es, es->x + es->w - es->hidden_state_size, es->y);
@@ -1348,7 +1348,7 @@
case E_GADCON_ORIENT_RIGHT:
case E_GADCON_ORIENT_CORNER_RB:
case E_GADCON_ORIENT_CORNER_RT:
- if(es->hidden)
+ if (es->hidden)
e_shelf_move(es, es->x + es->w - es->hidden_state_size, es->y);
else
e_shelf_move(es, es->x - es->w + es->hidden_state_size, es->y);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_spectrum.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_spectrum.c 25 Mar 2007 22:45:00 -0000 1.12
+++ e_spectrum.c 8 Apr 2007 21:00:30 -0000 1.13
@@ -269,7 +269,7 @@
return 0;
}
- switch(sp->mode)
+ switch (sp->mode)
{
case E_COLOR_COMPONENT_R:
vz = (float)sp->cv->r / 255;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_csel.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_widget_csel.c 25 Mar 2007 22:45:00 -0000 1.10
+++ e_widget_csel.c 8 Apr 2007 21:00:30 -0000 1.11
@@ -59,12 +59,12 @@
wd->changing = 1;
/* entry changed */
- for(l = wd->entries, i = 0; l; l = l->next, i++)
+ for (l = wd->entries, i = 0; l; l = l->next, i++)
{
if (o == l->data)
{
changed = i;
- switch(i)
+ switch (i)
{
case E_COLOR_COMPONENT_R:
wd->cv->r = atoi(wd->values[i]);
@@ -143,11 +143,11 @@
e_widget_color_well_update(wd->well);
/* now update the text fields to show current values */
- for(l = wd->entries, i = 0; l; l = l->next, i++)
+ for (l = wd->entries, i = 0; l; l = l->next, i++)
{
char buf[10];
if (o == l->data) continue;
- switch(i)
+ switch (i)
{
case E_COLOR_COMPONENT_R:
snprintf(buf, 10, "%i", wd->cv->r);
@@ -205,10 +205,10 @@
wd->values = calloc(E_COLOR_COMPONENT_MAX, sizeof(char *));
- for(i = 0; i < E_COLOR_COMPONENT_MAX; i++)
+ for (i = 0; i < E_COLOR_COMPONENT_MAX; i++)
{
wd->values[i] = calloc(10, sizeof(char));
- switch(i)
+ switch (i)
{
case E_COLOR_COMPONENT_R:
snprintf(wd->values[i], 10, "%i", wd->cv->r);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_cslider.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_widget_cslider.c 25 Mar 2007 22:45:00 -0000 1.11
+++ e_widget_cslider.c 8 Apr 2007 21:00:30 -0000 1.12
@@ -123,7 +123,7 @@
E_Widget_Data *wd;
wd = e_widget_data_get(o);
- switch(wd->mode)
+ switch (wd->mode)
{
case E_COLOR_COMPONENT_R:
wd->color->r = 255 * vx;
@@ -207,7 +207,7 @@
evas_object_gradient_clear(wd->o_grad);
- switch(wd->mode)
+ switch (wd->mode)
{
case E_COLOR_COMPONENT_R:
evas_object_gradient_color_stop_add(wd->o_grad, 0, wd->color->g,
wd->color->b, 255, 1);
@@ -265,59 +265,59 @@
if (!wd) return;
evas_object_gradient_clear(wd->o_grad);
- switch(wd->mode)
- {
- case E_COLOR_COMPONENT_R:
- evas_object_gradient_color_stop_add(wd->o_grad, 255, 0, 0, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
- vx = wd->color->r / 255.0;
- break;
- case E_COLOR_COMPONENT_G:
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 255, 0, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
- vx = wd->color->g / 255.0;
- break;
- case E_COLOR_COMPONENT_B:
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 255, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
- vx = wd->color->b / 255.0;
- break;
- case E_COLOR_COMPONENT_H:
-/*
- * Color Stops:
- * 0 x n n
- * 60 x x n
- * 120 n x n
- * 180 n x x
- * 240 n n x
- * 300 x n x
- * 360 x n n
- */
- min = 0;
- max = 255;
-
- evas_object_gradient_color_stop_add(wd->o_grad, max, min, min, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, max, min, max, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, min, min, max, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, min, max, max, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, min, max, min, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, max, max, min, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, max, min, min, 255, 1);
- vx = wd->color->h / 360.0;
- break;
- case E_COLOR_COMPONENT_S:
- evas_object_gradient_color_stop_add(wd->o_grad, 255, 255, 255, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
- vx = wd->color->s;
- break;
- case E_COLOR_COMPONENT_V:
- evas_object_gradient_color_stop_add(wd->o_grad, 255, 255, 255, 255, 1);
- evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
- vx = wd->color->v;
- break;
- case E_COLOR_COMPONENT_MAX:
- break;
- }
+ switch (wd->mode)
+ {
+ case E_COLOR_COMPONENT_R:
+ evas_object_gradient_color_stop_add(wd->o_grad, 255, 0, 0, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
+ vx = wd->color->r / 255.0;
+ break;
+ case E_COLOR_COMPONENT_G:
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 255, 0, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
+ vx = wd->color->g / 255.0;
+ break;
+ case E_COLOR_COMPONENT_B:
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 255, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
+ vx = wd->color->b / 255.0;
+ break;
+ case E_COLOR_COMPONENT_H:
+ /*
+ * Color Stops:
+ * 0 x n n
+ * 60 x x n
+ * 120 n x n
+ * 180 n x x
+ * 240 n n x
+ * 300 x n x
+ * 360 x n n
+ */
+ min = 0;
+ max = 255;
+
+ evas_object_gradient_color_stop_add(wd->o_grad, max, min, min, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, max, min, max, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, min, min, max, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, min, max, max, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, min, max, min, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, max, max, min, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, max, min, min, 255, 1);
+ vx = wd->color->h / 360.0;
+ break;
+ case E_COLOR_COMPONENT_S:
+ evas_object_gradient_color_stop_add(wd->o_grad, 255, 255, 255, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
+ vx = wd->color->s;
+ break;
+ case E_COLOR_COMPONENT_V:
+ evas_object_gradient_color_stop_add(wd->o_grad, 255, 255, 255, 255, 1);
+ evas_object_gradient_color_stop_add(wd->o_grad, 0, 0, 0, 255, 1);
+ vx = wd->color->v;
+ break;
+ case E_COLOR_COMPONENT_MAX:
+ break;
+ }
edje_object_part_drag_value_set(wd->o_cslider, "e.dragable.cursor", vx, vx);
}
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_desk_preview.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_widget_desk_preview.c 14 Dec 2006 19:28:36 -0000 1.11
+++ e_widget_desk_preview.c 8 Apr 2007 21:00:30 -0000 1.12
@@ -275,7 +275,7 @@
wd = data;
ev = event;
- for(l = wd->desks; l; l = l->next)
+ for (l = wd->desks; l; l = l->next)
{
Evas_Object *o;
E_Widget_Desk_Data *dd;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_spectrum.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_widget_spectrum.c 25 Mar 2007 22:45:00 -0000 1.8
+++ e_widget_spectrum.c 8 Apr 2007 21:00:30 -0000 1.9
@@ -100,7 +100,7 @@
if (redraw)
e_spectrum_update(wd->o_spectrum);
- switch(wd->mode)
+ switch (wd->mode)
{
case E_COLOR_COMPONENT_R:
vy = wd->cv->g / 255.0;
@@ -235,7 +235,7 @@
edje_object_part_drag_value_set(wd->o_edje, "e.dragable.cursor", vx, vy);
- switch(wd->mode)
+ switch (wd->mode)
{
case E_COLOR_COMPONENT_R:
wd->cv->g = vy * 255;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- e_zone.c 24 Mar 2007 17:42:12 -0000 1.112
+++ e_zone.c 8 Apr 2007 21:00:30 -0000 1.113
@@ -635,7 +635,7 @@
/* free desks */
for (x = 0; x < zone->desk_x_count; x++)
{
- for(y = 0; y < zone->desk_y_count; y++)
+ for (y = 0; y < zone->desk_y_count; y++)
e_object_del(E_OBJECT(zone->desks[x + (y * zone->desk_x_count)]));
}
free(zone->desks);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs