Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto/edje_editor

Dir     : e17/proto/edje_editor/src/bin


Modified Files:
        interface.c 


Log Message:
And make the other bits that required the old realized code work.


===================================================================
RCS file: /cvs/e/e17/proto/edje_editor/src/bin/interface.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -3 -r1.69 -r1.70
--- interface.c 19 Apr 2008 21:24:54 -0000      1.69
+++ interface.c 19 Apr 2008 22:58:48 -0000      1.70
@@ -2143,7 +2143,7 @@
 }
 
 static Etk_Widget*
-create_text_frame(void)
+create_text_frame(Evas *evas)
 {
    Etk_Widget *vbox;
    Etk_Widget *hbox;
@@ -2262,11 +2262,11 @@
    etk_box_append(ETK_BOX(vbox), hbox, ETK_BOX_START, ETK_BOX_EXPAND_FILL, 0);
 
    //Color buttons
-   etk_box_append(ETK_BOX(hbox), 
create_a_color_button("Text",COLOR_OBJECT_TEXT,30,30, NULL),
+   etk_box_append(ETK_BOX(hbox), 
create_a_color_button("Text",COLOR_OBJECT_TEXT,30,30, evas),
                   ETK_BOX_START, ETK_BOX_EXPAND, 0);
-   etk_box_append(ETK_BOX(hbox), 
create_a_color_button("Shadow",COLOR_OBJECT_SHADOW,30,30, NULL),
+   etk_box_append(ETK_BOX(hbox), 
create_a_color_button("Shadow",COLOR_OBJECT_SHADOW,30,30, evas),
                   ETK_BOX_START, ETK_BOX_EXPAND, 0);
-   etk_box_append(ETK_BOX(hbox), 
create_a_color_button("Outline",COLOR_OBJECT_OUTLINE,30,30, NULL),
+   etk_box_append(ETK_BOX(hbox), 
create_a_color_button("Outline",COLOR_OBJECT_OUTLINE,30,30, evas),
                   ETK_BOX_START, ETK_BOX_EXPAND, 0);
 
    etk_signal_connect("clicked", ETK_OBJECT(UI_FontAddButton),
@@ -2953,7 +2953,7 @@
 
    //TextEmbed
    UI_TextEmbed = etk_embed_new(UI_evas);
-   etk_container_add(ETK_CONTAINER(UI_TextEmbed), create_text_frame());
+   etk_container_add(ETK_CONTAINER(UI_TextEmbed), create_text_frame(UI_evas));
    etk_embed_position_method_set(ETK_EMBED(UI_TextEmbed),
                                  _embed_position_set, UI_ecore_MainWin);
    etk_widget_show_all(UI_TextEmbed);



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to