From: Enlightenment S. <no-...@en...> - 2009-09-23 11:16:03
|
Log: elementary new widget: notify. See elementary_test Author: watchwolf Date: 2009-09-23 04:15:55 -0700 (Wed, 23 Sep 2009) New Revision: 42643 Added: trunk/TMP/st/elementary/src/bin/test_notify.c trunk/TMP/st/elementary/src/lib/elm_notify.c Modified: trunk/TMP/st/elementary/data/themes/default.edc trunk/TMP/st/elementary/src/bin/Makefile.am trunk/TMP/st/elementary/src/bin/test.c trunk/TMP/st/elementary/src/lib/Elementary.h.in trunk/TMP/st/elementary/src/lib/Makefile.am Modified: trunk/TMP/st/elementary/data/themes/default.edc =================================================================== --- trunk/TMP/st/elementary/data/themes/default.edc 2009-09-23 08:19:03 UTC (rev 42642) +++ trunk/TMP/st/elementary/data/themes/default.edc 2009-09-23 11:15:55 UTC (rev 42643) @@ -5183,7 +5183,7 @@ rel1.offset: 4 4; rel2.offset: -5 -5; } - } + } part { name: "over"; mouse_events: 0; description { state: "default" 0.0; @@ -5618,6 +5618,767 @@ } /////////////////////////////////////////////////////////////////////////////// + group { name: "elm/notify/base/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/bottom"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/left"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/right"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/top_left"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/top_right"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/bottom_left"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } + group { name: "elm/notify/base/bottom_right"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "hide" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0;} + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "hide" 0.0; + target: "elm.swallow.content"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } + } +/////////////////////////////////////////////////////////////////////////////// group { name: "elm/win/inwin/default"; images { image: "shad_circ.png" COMP; @@ -11482,7 +12243,6 @@ } } } - /////////////////////////////////////////////////////////////////////////////// group { name: "elm/radio/base/default"; images { Modified: trunk/TMP/st/elementary/src/bin/Makefile.am =================================================================== --- trunk/TMP/st/elementary/src/bin/Makefile.am 2009-09-23 08:19:03 UTC (rev 42642) +++ trunk/TMP/st/elementary/src/bin/Makefile.am 2009-09-23 11:15:55 UTC (rev 42643) @@ -60,7 +60,8 @@ test_index.c \ test_photocam.c \ test_photo.c \ -test_icon_desktops.c +test_icon_desktops.c \ +test_notify.c elementary_test_LDADD = $(top_builddir)/src/lib/libelementary.la elementary_test_LDFLAGS = @@ -68,11 +69,11 @@ if BUILD_QUICKLAUNCH elementary_quicklaunch_SOURCES = quicklaunch.c elementary_quicklaunch_LDADD = $(top_builddir)/src/lib/libelementary.la -elementary_quicklaunch_LDFLAGS = +elementary_quicklaunch_LDFLAGS = if BUILD_RUN elementary_run_SOURCES = run.c -elementary_run_LDADD = +elementary_run_LDADD = elementary_run_LDFLAGS = endif @@ -85,7 +86,7 @@ elementary_testql_LTLIBRARIES = elementary_testql.la elementary_testql_la_SOURCES = $(elementary_test_SOURCES) elementary_testql_la_LIBADD = $(top_builddir)/src/lib/libelementary.la -elementary_testql_la_CFLAGS = +elementary_testql_la_CFLAGS = elementary_testql_la_LDFLAGS = -module -avoid-version -no-undefined elementary_testql_SOURCES = $(elementary_test_SOURCES) elementary_testql_LDADD = $(top_builddir)/src/lib/libelementary.la Modified: trunk/TMP/st/elementary/src/bin/test.c =================================================================== --- trunk/TMP/st/elementary/src/bin/test.c 2009-09-23 08:19:03 UTC (rev 42642) +++ trunk/TMP/st/elementary/src/bin/test.c 2009-09-23 11:15:55 UTC (rev 42643) @@ -49,6 +49,7 @@ void test_photocam(void *data, Evas_Object *obj, void *event_info); void test_photo(void *data, Evas_Object *obj, void *event_info); void test_icon_desktops(void *data, Evas_Object *obj, void *event_info); +void test_notify(void *data, Evas_Object *obj, void *event_info); static void my_win_del(void *data, Evas_Object *obj, void *event_info) @@ -139,7 +140,7 @@ elm_list_item_append(li, "Box Vert", NULL, NULL, test_box_vert, NULL); elm_list_item_append(li, "Box Horiz", NULL, NULL, test_box_horiz, NULL); elm_list_item_append(li, "Buttons", NULL, NULL, test_button, NULL); - elm_list_item_append(li, "Toggles", NULL, NULL, test_toggle, NULL); + elm_list_item_append(li, "Toggles", NULL, NULL, test_toggle, NULL); elm_list_item_append(li, "Table", NULL, NULL, test_table, NULL); elm_list_item_append(li, "Clock", NULL, NULL, test_clock, NULL); elm_list_item_append(li, "Layout", NULL, NULL, test_layout, NULL); @@ -180,6 +181,7 @@ elm_list_item_append(li, "Photocam", NULL, NULL, test_photocam, NULL); elm_list_item_append(li, "Photo", NULL, NULL, test_photo, NULL); elm_list_item_append(li, "Icon Desktops", NULL, NULL, test_icon_desktops, NULL); + elm_list_item_append(li, "Notify", NULL, NULL, test_notify, NULL); elm_list_go(li); Added: trunk/TMP/st/elementary/src/bin/test_notify.c Modified: trunk/TMP/st/elementary/src/lib/Elementary.h.in =================================================================== --- trunk/TMP/st/elementary/src/lib/Elementary.h.in 2009-09-23 08:19:03 UTC (rev 42642) +++ trunk/TMP/st/elementary/src/lib/Elementary.h.in 2009-09-23 11:15:55 UTC (rev 42643) @@ -168,7 +168,7 @@ EAPI void elm_quicklaunch_cleanup(void); EAPI int elm_quicklaunch_fallback(int argc, char **argv); EAPI char *elm_quicklaunch_exe_path_get(const char *exe); - + EAPI void elm_need_efreet(void); EAPI void elm_need_e_dbus(void); @@ -185,7 +185,7 @@ EAPI void elm_finger_size_set(Evas_Coord size); EAPI void elm_object_focus(Evas_Object *obj); - + EAPI void elm_object_scroll_hold_push(Evas_Object *obj); EAPI void elm_object_scroll_hold_pop(Evas_Object *obj); EAPI void elm_object_scroll_freeze_push(Evas_Object *obj); @@ -409,6 +409,25 @@ /* smart callbacks called: */ + typedef enum _Elm_Notify_Orient + { + ELM_NOTIFY_ORIENT_TOP, + ELM_NOTIFY_ORIENT_BOTTOM, + ELM_NOTIFY_ORIENT_LEFT, + ELM_NOTIFY_ORIENT_RIGHT, + ELM_NOTIFY_ORIENT_TOP_LEFT, + ELM_NOTIFY_ORIENT_TOP_RIGHT, + ELM_NOTIFY_ORIENT_BOTTOM_LEFT, + ELM_NOTIFY_ORIENT_BOTTOM_RIGHT + } Elm_Notify_Orient; + EAPI Evas_Object *elm_notify_add(Evas_Object *parent); + EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content); + EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); + EAPI void elm_notify_timeout_set(Evas_Object *obj, int timeout); + /* smart callbacks called: + */ + + typedef enum _Elm_Hover_Axis { ELM_HOVER_AXIS_NONE, @@ -815,7 +834,7 @@ * "changed" - when the spinner value changes * "delay,changed" - when the spinner value changed, but a small time after a change (use this if you only want to respond to a change once the spinner is held still for a short while). */ - + EAPI Evas_Object *elm_index_add(Evas_Object *parent); EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active); EAPI void elm_index_item_level_set(Evas_Object *obj, int level); @@ -846,7 +865,7 @@ EAPI int elm_photocam_zoom_get(Evas_Object *obj); EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode); EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(Evas_Object *obj); - + #ifdef __cplusplus } #endif Modified: trunk/TMP/st/elementary/src/lib/Makefile.am =================================================================== --- trunk/TMP/st/elementary/src/lib/Makefile.am 2009-09-23 08:19:03 UTC (rev 42642) +++ trunk/TMP/st/elementary/src/lib/Makefile.am 2009-09-23 11:15:55 UTC (rev 42643) @@ -60,6 +60,7 @@ elm_spinner.c \ elm_index.c \ elm_photocam.c \ +elm_notify.c \ \ elc_notepad.c \ elc_anchorview.c \ Added: trunk/TMP/st/elementary/src/lib/elm_notify.c |