[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] E SVN: titan IN trunk/ephoto/src/bin: . .deps
From:       Stephen Houston <unixtitan () gmail ! com>
Date:       2009-02-18 17:10:43
Message-ID: 5427d5750902180910k23a53441wd8c1a451edf99325 () mail ! gmail ! com
[Download RAW message or body]

Right on, Thank you.

On Wed, Feb 18, 2009 at 1:18 AM, Vincent Torri <vtorri@univ-evry.fr> wrote:

>
> The .deps directory should not be in svn. It is generated by automake.
>
> Vincent
>
>
> On Tue, 17 Feb 2009, Enlightenment SVN wrote:
>
> Log:
>>  Changes, especially to the single view
>>
>> Author:       titan
>> Date:         2009-02-17 16:10:56 -0800 (Tue, 17 Feb 2009)
>> New Revision: 39065
>>
>> Modified:
>>  trunk/ephoto/src/bin/.deps/ephoto-ephoto.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_fsystem.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_global.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_imaging.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_main.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_normal_view.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_single_view.Po
>> trunk/ephoto/src/bin/.deps/ephoto-ephoto_utils.Po
>> trunk/ephoto/src/bin/ephoto.h trunk/ephoto/src/bin/ephoto_global.c
>> trunk/ephoto/src/bin/ephoto_single_view.c
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto.Po 2009-02-17 22:12:07 UTC
>> (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto.Po 2009-02-18 00:10:56 UTC
>> (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -152,8 +151,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_fsystem.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_fsystem.Po 2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_fsystem.Po 2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -152,8 +151,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_global.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_global.Po  2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_global.Po  2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -152,8 +151,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_imaging.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_imaging.Po 2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_imaging.Po 2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -154,8 +153,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_main.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_main.Po    2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_main.Po    2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -152,8 +151,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_normal_view.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_normal_view.Po     2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_normal_view.Po     2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -155,8 +154,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_single_view.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_single_view.Po     2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_single_view.Po     2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -154,8 +153,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/.deps/ephoto-ephoto_utils.Po
>> ===================================================================
>> --- trunk/ephoto/src/bin/.deps/ephoto-ephoto_utils.Po   2009-02-17
>> 22:12:07 UTC (rev 39064)
>> +++ trunk/ephoto/src/bin/.deps/ephoto-ephoto_utils.Po   2009-02-18
>> 00:10:56 UTC (rev 39065)
>> @@ -2,7 +2,6 @@
>>  /usr/local/include/Ecore_Data.h /usr/local/include/eina-0/Eina.h \
>>  /usr/local/include/eina-0/eina_config.h \
>>  /usr/local/include/eina-0/eina/eina_types.h \
>> -  /usr/local/include/eina-0/eina/eina_main.h \
>>  /usr/local/include/eina-0/eina/eina_f16p16.h /usr/include/stdint.h \
>>  /usr/include/features.h /usr/include/sys/cdefs.h \
>>  /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
>> @@ -66,8 +65,6 @@
>>
>> /usr/local/include/eina-0/eina/eina_types.h:
>>
>> -/usr/local/include/eina-0/eina/eina_main.h:
>> -
>> /usr/local/include/eina-0/eina/eina_f16p16.h:
>>
>> /usr/include/stdint.h:
>>
>> Modified: trunk/ephoto/src/bin/ephoto.h
>> ===================================================================
>> --- trunk/ephoto/src/bin/ephoto.h       2009-02-17 22:12:07 UTC (rev
>> 39064)
>> +++ trunk/ephoto/src/bin/ephoto.h       2009-02-18 00:10:56 UTC (rev
>> 39065)
>> @@ -16,6 +16,7 @@
>> typedef struct _Ephoto Ephoto;
>> struct _Ephoto {
>>        Ewl_Widget *win;
>> +       Ewl_Widget *ewin;
>>        Ewl_Widget *view_box;
>>        Ewl_Widget *normal_vbox;
>>        Ewl_Widget *fbox;
>> @@ -29,6 +30,7 @@
>> };
>>
>> void ephoto_set_main_window(Ewl_Widget *w);
>> +void ephoto_set_effects_window(Ewl_Widget *w);
>> void ephoto_set_view_box(Ewl_Widget *w);
>> void ephoto_set_normal_vbox(Ewl_Widget *w);
>> void ephoto_set_fbox(Ewl_Widget *w);
>> @@ -40,6 +42,7 @@
>> void ephoto_set_current_directory(char *dir);
>> void ephoto_set_thumb_size(int i);
>> Ewl_Widget *ephoto_get_main_window(void);
>> +Ewl_Widget *ephoto_get_effects_window(void);
>> Ewl_Widget *ephoto_get_view_box(void);
>> Ewl_Widget *ephoto_get_normal_vbox(void);
>> Ewl_Widget *ephoto_get_fbox(void);
>>
>> Modified: trunk/ephoto/src/bin/ephoto_global.c
>> ===================================================================
>> --- trunk/ephoto/src/bin/ephoto_global.c        2009-02-17 22:12:07 UTC
>> (rev 39064)
>> +++ trunk/ephoto/src/bin/ephoto_global.c        2009-02-18 00:10:56 UTC
>> (rev 39065)
>> @@ -8,6 +8,14 @@
>>        return em->win;
>> }
>>
>> +void ephoto_set_effects_window(Ewl_Widget *w) {
>> +               em->ewin = w;
>> +}
>> +
>> +Ewl_Widget *ephoto_get_effects_window(void) {
>> +               return em->ewin;
>> +}
>> +
>> void ephoto_set_view_box(Ewl_Widget *w) {
>>        em->view_box = w;
>> }
>>
>> Modified: trunk/ephoto/src/bin/ephoto_single_view.c
>> ===================================================================
>> --- trunk/ephoto/src/bin/ephoto_single_view.c   2009-02-17 22:12:07 UTC
>> (rev 39064)
>> +++ trunk/ephoto/src/bin/ephoto_single_view.c   2009-02-18 00:10:56 UTC
>> (rev 39065)
>> @@ -1,6 +1,8 @@
>> #include "ephoto.h"
>> #include "ephoto_imaging.h"
>>
>> +static void show_effects(Ewl_Widget *w, void *event, void *data);
>> +static void destroy_window(Ewl_Widget *w, void *event, void *data);
>> static void return_to_normal(Ewl_Widget *w, void *event, void *data);
>> static void zoom_in(Ewl_Widget *w, void *event, void *data);
>> static void zoom_out(Ewl_Widget *w, void *event, void *data);
>> @@ -8,6 +10,8 @@
>> static void rotate_image_right(Ewl_Widget *w, void *event, void *data);
>> static void flip_horiz(Ewl_Widget *w, void *event, void *data);
>> static void flip_vert(Ewl_Widget *w, void *event, void *data);
>> +static void image_grayscale(Ewl_Widget *w, void *event, void *data);
>> +static void image_sepia(Ewl_Widget *w, void *event, void *data);
>>
>> void add_single_view(Ewl_Widget *c) {
>>        Ewl_Widget *sbox, *box, *hbox, *ibox, *image, *button;
>> @@ -52,59 +56,146 @@
>>        ewl_widget_show(hbox);
>>
>>        button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Back");
>>        ewl_button_image_set(EWL_BUTTON(button),
>>                                PACKAGE_DATA_DIR
>> "/images/media-seek-backward.png",
>>                                NULL);
>>        ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> -       ewl_object_fill_policy_set(EWL_OBJECT(button),
>> EWL_FLAG_FILL_NONE);
>>        ewl_container_child_append(EWL_CONTAINER(hbox), button);
>>        ewl_callback_append(button, EWL_CALLBACK_CLICKED, return_to_normal,
>>                                NULL);
>>        ewl_widget_show(button);
>>
>> +        button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Zoom In");
>> +       ewl_button_image_set(EWL_BUTTON(button),
>> +                       PACKAGE_DATA_DIR "/images/add.png",
>> +                       NULL);
>> +       ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> +       ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_callback_append(button, EWL_CALLBACK_CLICKED, zoom_in,
>> +                       NULL);
>> +       ewl_widget_show(button);
>> +
>>        button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Zoom Out");
>> +       ewl_button_image_set(EWL_BUTTON(button),
>> +                       PACKAGE_DATA_DIR "/images/remove.png",
>> +                       NULL);
>> +       ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> +       ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_callback_append(button, EWL_CALLBACK_CLICKED, zoom_out,
>> +                       NULL);
>> +       ewl_widget_show(button);
>> +
>> +       button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Effects");
>> +       ewl_button_image_set(EWL_BUTTON(button),
>> +                       PACKAGE_DATA_DIR "/images/image.png",
>> +                       NULL);
>> +       ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> +       ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_callback_append(button, EWL_CALLBACK_CLICKED, show_effects,
>> +                       NULL);
>> +       ewl_widget_show(button);
>> +}
>> +
>> +static void destroy_window(Ewl_Widget *w, void *event, void *data) {
>> +       ewl_widget_destroy(ephoto_get_effects_window());
>> +       ephoto_set_effects_window(NULL);
>> +}
>> +
>> +static void show_effects(Ewl_Widget *w, void *event, void *data) {
>> +       Ewl_Widget *window, *freebox, *button;
>> +
>> +       if (ephoto_get_effects_window())
>> +               return;
>> +
>> +       window = ewl_window_new();
>> +       ewl_window_dialog_set(EWL_WINDOW(window), TRUE);
>> +       ewl_window_title_set(EWL_WINDOW(window), "Ephoto Effects");
>> +       ewl_object_size_request(EWL_OBJECT(window), 370, 100);
>> +       ewl_callback_append(window, EWL_CALLBACK_DELETE_WINDOW,
>> +                               destroy_window, NULL);
>> +       ewl_widget_show(window);
>> +       ephoto_set_effects_window(window);
>> +
>> +       freebox = ewl_hfreebox_new();
>> +       ewl_object_fill_policy_set(EWL_OBJECT(freebox),
>> EWL_FLAG_FILL_ALL);
>> +       ewl_container_child_append(EWL_CONTAINER(window), freebox);
>> +       ewl_widget_show(freebox);
>> +
>> +       button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Rotate Left");
>>        ewl_button_image_set(EWL_BUTTON(button),
>>                                PACKAGE_DATA_DIR "/images/undo.png",
>>                                NULL);
>>        ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> -        ewl_object_fill_policy_set(EWL_OBJECT(button),
>> EWL_FLAG_FILL_NONE);
>> -        ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_object_minimum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_object_maximum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_container_child_append(EWL_CONTAINER(freebox), button);
>>        ewl_callback_append(button, EWL_CALLBACK_CLICKED,
>> rotate_image_left,
>>                                NULL);
>>        ewl_widget_show(button);
>>
>>        button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Rotate Right");
>>        ewl_button_image_set(EWL_BUTTON(button),
>>                                PACKAGE_DATA_DIR "/images/redo.png",
>>                                NULL);
>>        ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> -        ewl_object_fill_policy_set(EWL_OBJECT(button),
>> EWL_FLAG_FILL_NONE);
>> -        ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_object_minimum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_object_maximum_size_set(EWL_OBJECT(button), 85, 20);
>> +        ewl_container_child_append(EWL_CONTAINER(freebox), button);
>>        ewl_callback_append(button, EWL_CALLBACK_CLICKED,
>> rotate_image_right,
>>                                NULL);
>>        ewl_widget_show(button);
>>
>>        button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Flip Horizontal");
>>        ewl_button_image_set(EWL_BUTTON(button),
>>                                PACKAGE_DATA_DIR "/images/go-next.png",
>>                                NULL);
>>        ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> -        ewl_object_fill_policy_set(EWL_OBJECT(button),
>> EWL_FLAG_FILL_NONE);
>> -        ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_object_minimum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_object_maximum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_container_child_append(EWL_CONTAINER(freebox), button);
>>        ewl_callback_append(button, EWL_CALLBACK_CLICKED, flip_horiz,
>>                                NULL);
>>        ewl_widget_show(button);
>>
>>        button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Flip Vertical");
>>        ewl_button_image_set(EWL_BUTTON(button),
>>                                PACKAGE_DATA_DIR "/images/go-down.png",
>>                                NULL);
>>        ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> -        ewl_object_fill_policy_set(EWL_OBJECT(button),
>> EWL_FLAG_FILL_NONE);
>> -        ewl_container_child_append(EWL_CONTAINER(hbox), button);
>> +       ewl_object_minimum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_object_maximum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_container_child_append(EWL_CONTAINER(freebox), button);
>>        ewl_callback_append(button, EWL_CALLBACK_CLICKED, flip_vert,
>>                                NULL);
>>        ewl_widget_show(button);
>> +
>> +       button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Grayscale");
>> +       ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> +       ewl_object_minimum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_object_maximum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_container_child_append(EWL_CONTAINER(freebox), button);
>> +       ewl_callback_append(button, EWL_CALLBACK_CLICKED, image_grayscale,
>> +                       NULL);
>> +       ewl_widget_show(button);
>> +
>> +       button = ewl_button_new();
>> +       ewl_button_label_set(EWL_BUTTON(button), "Sepia");
>> +       ewl_button_image_size_set(EWL_BUTTON(button), 18, 18);
>> +       ewl_object_minimum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_object_maximum_size_set(EWL_OBJECT(button), 85, 20);
>> +       ewl_container_child_append(EWL_CONTAINER(freebox), button);
>> +       ewl_callback_append(button, EWL_CALLBACK_CLICKED, image_sepia,
>> +                       NULL);
>> +       ewl_widget_show(button);
>> }
>>
>> void show_single_view(Ewl_Widget *w, void *event, void *data) {
>> @@ -117,16 +208,29 @@
>> }
>>
>> static void return_to_normal(Ewl_Widget *w, void *event, void *data) {
>> +       destroy_window(NULL, NULL, NULL);
>>        ewl_notebook_visible_page_set(EWL_NOTEBOOK(ephoto_get_view_box()),
>>                                ephoto_get_normal_vbox());
>> }
>>
>> static void zoom_in(Ewl_Widget *w, void *event, void *data) {
>> +       Ewl_Widget *simage;
>> +       int wid, h;
>>
>> +       simage = ephoto_get_single_image();
>> +       wid = ewl_object_current_w_get(EWL_OBJECT(simage));
>> +       h = ewl_object_current_h_get(EWL_OBJECT(simage));
>> +       ewl_image_size_set(EWL_IMAGE(simage), wid*1.5, h*1.5);
>> }
>>
>> static void zoom_out(Ewl_Widget *w, void *event, void *data) {
>> +       Ewl_Widget *simage;
>> +       int wid, h;
>>
>> +       simage = ephoto_get_single_image();
>> +       wid = ewl_object_current_w_get(EWL_OBJECT(simage));
>> +       h = ewl_object_current_h_get(EWL_OBJECT(simage));
>> +       ewl_image_size_set(EWL_IMAGE(simage), wid/1.5, h/1.5);
>> }
>>
>> static void rotate_image_left(Ewl_Widget *w, void *event, void *data) {
>> @@ -201,3 +305,35 @@
>>        return;
>> }
>>
>> +static void image_grayscale(Ewl_Widget *w, void *event, void *data) {
>> +       unsigned int *image_data;
>> +       int nw, nh;
>> +
>> +       Ewl_Widget *simage;
>> +
>> +       simage = ephoto_get_single_image();
>> +
>> +       image_data = grayscale_image(simage);
>> +       evas_object_image_size_get(EWL_IMAGE(simage)->image, &nw, &nh);
>> +       update_image(simage, nw, nh, image_data);
>> +       ewl_widget_configure(simage->parent);
>> +
>> +       return;
>> +}
>> +
>> +static void image_sepia(Ewl_Widget *w, void *event, void *data) {
>> +       unsigned int *image_data;
>> +       int nw, nh;
>> +
>> +       Ewl_Widget *simage;
>> +
>> +       simage = ephoto_get_single_image();
>> +
>> +       image_data = sepia_image(simage);
>> +       evas_object_image_size_get(EWL_IMAGE(simage)->image, &nw, &nh);
>> +       update_image(simage, nw, nh, image_data);
>> +       ewl_widget_configure(simage->parent);
>> +
>> +       return;
>> +}
>> +
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> enlightenment-svn mailing list
>> enlightenment-svn@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>>
>> --
>> Ce message a été vérifié par MailScanner
>> pour des virus ou des polluriels et rien de
>> suspect n'a été trouvé.
>> Message délivré par le serveur de messagerie de l'Université d'Evry.
>>
>>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic