elementary/label - patched by kimcinoo@gmail.com
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 26 Jul 2011 05:57:32 +0000 (05:57 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 26 Jul 2011 05:57:32 +0000 (05:57 +0000)
-----Original Message-----
From: "cnook"<kimcinoo@gmail.com>
To: "EFL"<enlightenment-devel@lists.sourceforge.net>
Cc:
Sent: 11-07-26(화) 13:58:55
Subject: [E-devel] [Patch] Elm_Label, Incompatible Widget Data TypeHi All,

The Elm_Wrap_Type have been added, and APIs have been changed also.
But there are some remains have to be changed as the attached patch.

Sincerely,
Shinwoo Kim.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_label.c

index df3c45d..89ac41f 100644 (file)
@@ -14,7 +14,7 @@ struct _Widget_Data
    Evas_Coord lastw;
    Evas_Coord wrap_w;
    Evas_Coord wrap_h;
-   Eina_Bool linewrap : 1;
+   Elm_Wrap_Type linewrap;
    Eina_Bool changed : 1;
    Eina_Bool bgcolor : 1;
    Eina_Bool ellipsis : 1;
@@ -556,7 +556,7 @@ elm_label_add(Evas_Object *parent)
    wd->bg = evas_object_rectangle_add(e);
    evas_object_color_set(wd->bg, 0, 0, 0, 0);
 
-   wd->linewrap = EINA_FALSE;
+   wd->linewrap = ELM_WRAP_NONE;
    wd->ellipsis = EINA_FALSE;
    wd->slidingmode = EINA_FALSE;
    wd->slidingellipsis = EINA_FALSE;