forked from enlightenment/efl
Spelling cleanup, though it feels kinda dirty "correcting spelling" on a word
that doesn't exist. SVN revision: 7767
This commit is contained in:
parent
5f39b106a0
commit
2042be6db7
|
@ -415,7 +415,7 @@ _edje_part_recalc_single(Edje *ed,
|
||||||
|
|
||||||
if ((ep->part->text_class) && (strlen(ep->part->text_class) > 0))
|
if ((ep->part->text_class) && (strlen(ep->part->text_class) > 0))
|
||||||
{
|
{
|
||||||
Ejde_Text_Class *tc;
|
Edje_Text_Class *tc;
|
||||||
|
|
||||||
tc = _edje_text_class_find(ed, ep->part->text_class);
|
tc = _edje_text_class_find(ed, ep->part->text_class);
|
||||||
if (tc->font) font = tc->font;
|
if (tc->font) font = tc->font;
|
||||||
|
@ -699,7 +699,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep)
|
||||||
|
|
||||||
if ((chosen_desc->color_class) && (strlen(chosen_desc->color_class) > 0))
|
if ((chosen_desc->color_class) && (strlen(chosen_desc->color_class) > 0))
|
||||||
{
|
{
|
||||||
Ejde_Color_Class *cc;
|
Edje_Color_Class *cc;
|
||||||
|
|
||||||
cc = _edje_color_class_find(ed, chosen_desc->color_class);
|
cc = _edje_color_class_find(ed, chosen_desc->color_class);
|
||||||
if (cc)
|
if (cc)
|
||||||
|
|
|
@ -51,7 +51,7 @@ _edje_del(Edje *ed)
|
||||||
}
|
}
|
||||||
while (ed->color_classes)
|
while (ed->color_classes)
|
||||||
{
|
{
|
||||||
Ejde_Color_Class *cc;
|
Edje_Color_Class *cc;
|
||||||
|
|
||||||
cc = ed->color_classes->data;
|
cc = ed->color_classes->data;
|
||||||
ed->color_classes = evas_list_remove(ed->color_classes, cc);
|
ed->color_classes = evas_list_remove(ed->color_classes, cc);
|
||||||
|
@ -60,7 +60,7 @@ _edje_del(Edje *ed)
|
||||||
}
|
}
|
||||||
while (ed->text_classes)
|
while (ed->text_classes)
|
||||||
{
|
{
|
||||||
Ejde_Text_Class *tc;
|
Edje_Text_Class *tc;
|
||||||
|
|
||||||
tc = ed->text_classes->data;
|
tc = ed->text_classes->data;
|
||||||
ed->text_classes = evas_list_remove(ed->text_classes, tc);
|
ed->text_classes = evas_list_remove(ed->text_classes, tc);
|
||||||
|
|
|
@ -351,9 +351,9 @@ typedef struct _Edje_Signal_Callback Edje_Signal_Callback;
|
||||||
typedef struct _Edje_Calc_Params Edje_Calc_Params;
|
typedef struct _Edje_Calc_Params Edje_Calc_Params;
|
||||||
typedef struct _Edje_Emission Edje_Emission;
|
typedef struct _Edje_Emission Edje_Emission;
|
||||||
typedef struct _Edje_Pending_Program Edje_Pending_Program;
|
typedef struct _Edje_Pending_Program Edje_Pending_Program;
|
||||||
typedef struct _Ejde_Text_Style Ejde_Text_Style;
|
typedef struct _Edje_Text_Style Edje_Text_Style;
|
||||||
typedef struct _Ejde_Color_Class Ejde_Color_Class;
|
typedef struct _Edje_Color_Class Edje_Color_Class;
|
||||||
typedef struct _Ejde_Text_Class Ejde_Text_Class;
|
typedef struct _Edje_Text_Class Edje_Text_Class;
|
||||||
|
|
||||||
struct _Edje
|
struct _Edje
|
||||||
{
|
{
|
||||||
|
@ -514,7 +514,7 @@ struct _Edje_Pending_Program
|
||||||
Ecore_Timer *timer;
|
Ecore_Timer *timer;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _Ejde_Text_Style
|
struct _Edje_Text_Style
|
||||||
{
|
{
|
||||||
struct {
|
struct {
|
||||||
unsigned char x, y;
|
unsigned char x, y;
|
||||||
|
@ -530,7 +530,7 @@ struct _Ejde_Text_Style
|
||||||
} members[32];
|
} members[32];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _Ejde_Color_Class
|
struct _Edje_Color_Class
|
||||||
{
|
{
|
||||||
char *name;
|
char *name;
|
||||||
unsigned char r, g, b, a;
|
unsigned char r, g, b, a;
|
||||||
|
@ -538,7 +538,7 @@ struct _Ejde_Color_Class
|
||||||
unsigned char r3, g3, b3, a3;
|
unsigned char r3, g3, b3, a3;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _Ejde_Text_Class
|
struct _Edje_Text_Class
|
||||||
{
|
{
|
||||||
char *name;
|
char *name;
|
||||||
char *font;
|
char *font;
|
||||||
|
@ -585,8 +585,8 @@ void _edje_text_part_on_del(Edje *ed, Edje_Real_Part *ep);
|
||||||
void _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *params, Edje_Part_Description *chosen_desc);
|
void _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *params, Edje_Part_Description *chosen_desc);
|
||||||
|
|
||||||
Edje_Real_Part *_edje_real_part_get(Edje *ed, char *part);
|
Edje_Real_Part *_edje_real_part_get(Edje *ed, char *part);
|
||||||
Ejde_Color_Class *_edje_color_class_find(Edje *ed, char *color_class);
|
Edje_Color_Class *_edje_color_class_find(Edje *ed, char *color_class);
|
||||||
Ejde_Text_Class *_edje_text_class_find(Edje *ed, char *text_class);
|
Edje_Text_Class *_edje_text_class_find(Edje *ed, char *text_class);
|
||||||
Edje *_edje_fetch(Evas_Object *obj);
|
Edje *_edje_fetch(Evas_Object *obj);
|
||||||
int _edje_glob_match(char *str, char *glob);
|
int _edje_glob_match(char *str, char *glob);
|
||||||
int _edje_freeze(Edje *ed);
|
int _edje_freeze(Edje *ed);
|
||||||
|
@ -614,7 +614,7 @@ extern Eet_Data_Descriptor *_edje_edd_edje_part_image_id;
|
||||||
extern int _edje_anim_count;
|
extern int _edje_anim_count;
|
||||||
extern Ecore_Timer *_edje_timer;
|
extern Ecore_Timer *_edje_timer;
|
||||||
extern Evas_List *_edje_animators;
|
extern Evas_List *_edje_animators;
|
||||||
extern Ejde_Text_Style _edje_text_styles[EDJE_TEXT_EFFECT_LAST];
|
extern Edje_Text_Style _edje_text_styles[EDJE_TEXT_EFFECT_LAST];
|
||||||
extern Evas_List *_edje_edjes;
|
extern Evas_List *_edje_edjes;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "Edje.h"
|
#include "Edje.h"
|
||||||
#include "edje_private.h"
|
#include "edje_private.h"
|
||||||
|
|
||||||
Ejde_Text_Style _edje_text_styles[EDJE_TEXT_EFFECT_LAST];
|
Edje_Text_Style _edje_text_styles[EDJE_TEXT_EFFECT_LAST];
|
||||||
|
|
||||||
void
|
void
|
||||||
_edje_text_init(void)
|
_edje_text_init(void)
|
||||||
|
@ -247,7 +247,7 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
|
||||||
|
|
||||||
if ((ep->part->text_class) && (strlen(ep->part->text_class) > 0))
|
if ((ep->part->text_class) && (strlen(ep->part->text_class) > 0))
|
||||||
{
|
{
|
||||||
Ejde_Text_Class *tc;
|
Edje_Text_Class *tc;
|
||||||
|
|
||||||
tc = _edje_text_class_find(ed, ep->part->text_class);
|
tc = _edje_text_class_find(ed, ep->part->text_class);
|
||||||
if (tc->font) font = tc->font;
|
if (tc->font) font = tc->font;
|
||||||
|
|
|
@ -64,7 +64,7 @@ edje_object_color_class_set(Evas_Object *obj, const char *color_class, int r, in
|
||||||
{
|
{
|
||||||
Edje *ed;
|
Edje *ed;
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
Ejde_Color_Class *cc;
|
Edje_Color_Class *cc;
|
||||||
|
|
||||||
ed = _edje_fetch(obj);
|
ed = _edje_fetch(obj);
|
||||||
if ((!ed) || (!color_class)) return;
|
if ((!ed) || (!color_class)) return;
|
||||||
|
@ -105,7 +105,7 @@ edje_object_color_class_set(Evas_Object *obj, const char *color_class, int r, in
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cc = malloc(sizeof(Ejde_Color_Class));
|
cc = malloc(sizeof(Edje_Color_Class));
|
||||||
cc->name = strdup(color_class);
|
cc->name = strdup(color_class);
|
||||||
if (!cc->name)
|
if (!cc->name)
|
||||||
{
|
{
|
||||||
|
@ -134,7 +134,7 @@ edje_object_text_class_set(Evas_Object *obj, const char *text_class, const char
|
||||||
{
|
{
|
||||||
Edje *ed;
|
Edje *ed;
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
Ejde_Text_Class *tc;
|
Edje_Text_Class *tc;
|
||||||
|
|
||||||
ed = _edje_fetch(obj);
|
ed = _edje_fetch(obj);
|
||||||
if ((!ed) || (!text_class)) return;
|
if ((!ed) || (!text_class)) return;
|
||||||
|
@ -160,7 +160,7 @@ edje_object_text_class_set(Evas_Object *obj, const char *text_class, const char
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tc = malloc(sizeof(Ejde_Text_Class));
|
tc = malloc(sizeof(Edje_Text_Class));
|
||||||
tc->name = strdup(text_class);
|
tc->name = strdup(text_class);
|
||||||
if (!tc->name)
|
if (!tc->name)
|
||||||
{
|
{
|
||||||
|
@ -871,7 +871,7 @@ _edje_real_part_get(Edje *ed, char *part)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ejde_Color_Class *
|
Edje_Color_Class *
|
||||||
_edje_color_class_find(Edje *ed, char *color_class)
|
_edje_color_class_find(Edje *ed, char *color_class)
|
||||||
{
|
{
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
|
@ -879,7 +879,7 @@ _edje_color_class_find(Edje *ed, char *color_class)
|
||||||
if (!color_class) return NULL;
|
if (!color_class) return NULL;
|
||||||
for (l = ed->color_classes; l; l = l->next)
|
for (l = ed->color_classes; l; l = l->next)
|
||||||
{
|
{
|
||||||
Ejde_Color_Class *cc;
|
Edje_Color_Class *cc;
|
||||||
|
|
||||||
cc = l->data;
|
cc = l->data;
|
||||||
if (!strcmp(color_class, cc->name)) return cc;
|
if (!strcmp(color_class, cc->name)) return cc;
|
||||||
|
@ -887,7 +887,7 @@ _edje_color_class_find(Edje *ed, char *color_class)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ejde_Text_Class *
|
Edje_Text_Class *
|
||||||
_edje_text_class_find(Edje *ed, char *text_class)
|
_edje_text_class_find(Edje *ed, char *text_class)
|
||||||
{
|
{
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
|
@ -895,7 +895,7 @@ _edje_text_class_find(Edje *ed, char *text_class)
|
||||||
if (!text_class) return NULL;
|
if (!text_class) return NULL;
|
||||||
for (l = ed->text_classes; l; l = l->next)
|
for (l = ed->text_classes; l; l = l->next)
|
||||||
{
|
{
|
||||||
Ejde_Text_Class *tc;
|
Edje_Text_Class *tc;
|
||||||
|
|
||||||
tc = l->data;
|
tc = l->data;
|
||||||
if (!strcmp(text_class, tc->name)) return tc;
|
if (!strcmp(text_class, tc->name)) return tc;
|
||||||
|
|
Loading…
Reference in New Issue