On Wednesday, December 1, 2010, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > hoverlist -> ctxpopup - as its not just a list really. it is a popup > of arbitrary content. list is one of them.
Okay, the list part was not 100% accurate naming, but now the name is 100% inaccurate and does not match any other efl name... Or is that just me that can't find references for ctx or popup in elm? Going into the abbrev, yes we do use it for genlist/grid, but it is something that is annoying already > > > > Author: raster > Date: 2010-11-30 22:52:46 -0800 (Tue, 30 Nov 2010) > New Revision: 55112 > Trac: http://trac.enlightenment.org/e/changeset/55112 > > Added: > trunk/TMP/st/elementary/src/bin/test_ctxpopup.c > trunk/TMP/st/elementary/src/lib/elm_ctxpopup.c > Removed: > trunk/TMP/st/elementary/src/bin/test_hoverlist.c > trunk/TMP/st/elementary/src/lib/elc_hoverlist.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 2010-12-01 05:28:13 > UTC (rev 55111) > +++ trunk/TMP/st/elementary/data/themes/default.edc 2010-12-01 06:52:46 > UTC (rev 55112) > @@ -6981,7 +6981,7 @@ > } > > /////////////////////////////////////////////////////////////////////////////// > - group { name: "elm/hover/base/hoverlist/default"; > + group { name: "elm/hover/base/ctxpopup/default"; > images { > image: "bt_base2.png" COMP; > image: "bt_hilight.png" COMP; > @@ -7418,10 +7418,10 @@ > } > > /////////////////////////////////////////////////////////////////////////////// > - group { name: "elm/list/item/hoverlist"; > - alias: "elm/list/item_odd/hoverlist"; > - alias: "elm/list/h_item/hoverlist"; > - alias: "elm/list/h_item_odd/hoverlist"; > + group { name: "elm/list/item/ctxpopup"; > + alias: "elm/list/item_odd/ctxpopup"; > + alias: "elm/list/h_item/ctxpopup"; > + alias: "elm/list/h_item_odd/ctxpopup"; > parts { > part { name: "button_image"; > mouse_events: 1; > @@ -7551,7 +7551,7 @@ > } > > /////////////////////////////////////////////////////////////////////////////// > - group { name: "elm/list/base/hoverlist"; > + group { name: "elm/list/base/ctxpopup"; > data { > item: "focus_highlight" "on"; > } > > Modified: trunk/TMP/st/elementary/src/bin/Makefile.am > =================================================================== > --- trunk/TMP/st/elementary/src/bin/Makefile.am 2010-12-01 05:28:13 UTC (rev > 55111) > +++ trunk/TMP/st/elementary/src/bin/Makefile.am 2010-12-01 06:52:46 UTC (rev > 55112) > @@ -91,7 +91,7 @@ > test_flipselector.c \ > test_diskselector.c \ > test_colorselector.c \ > -test_hoverlist.c \ > +test_ctxpopup.c \ > test_bubble.c \ > test_store.c > > > Modified: trunk/TMP/st/elementary/src/bin/test.c > =================================================================== > --- trunk/TMP/st/elementary/src/bin/test.c 2010-12-01 05:28:13 UTC (rev > 55111) > +++ trunk/TMP/st/elementary/src/bin/test.c 2010-12-01 06:52:46 UTC (rev > 55112) > @@ -115,7 +115,7 @@ > void test_flipselector(void *data, Evas_Object *obj, void *event_info); > void test_diskselector(void *data, Evas_Object *obj, void *event_info); > void test_colorselector(void *data, Evas_Object *obj, void *event_info); > -void test_hoverlist(void *data, Evas_Object *obj, void *event_info); > +void test_ctxpopup(void *data, Evas_Object *obj, void *event_info); > void test_bubble(void *data, Evas_Object *obj, void *event_info); > void test_store(void *data, Evas_Object *obj, void *event_info); > > @@ -350,7 +350,7 @@ > ADD_TEST("Flip Selector", test_flipselector); > ADD_TEST("Disk Selector", test_diskselector); > ADD_TEST("Color Selector", test_colorselector); > - ADD_TEST("Hoverlist", test_hoverlist); > + ADD_TEST("Ctxpopup", test_ctxpopup); > ADD_TEST("Bubble", test_bubble); > ADD_TEST("Store", test_store); > #undef ADD_TEST > > Modified: trunk/TMP/st/elementary/src/lib/Elementary.h.in > =================================================================== > --- trunk/TMP/st/elementary/src/lib/Elementary.h.in 2010-12-01 05:28:13 > UTC (rev 55111) > +++ trunk/TMP/st/elementary/src/lib/Elementary.h.in 2010-12-01 06:52:46 > UTC (rev 55112) > @@ -2365,26 +2365,26 @@ > * "changed" - when the color value changes > */ > > - /* hoverlist */ > - typedef struct _Elm_Hoverlist_Item Elm_Hoverlist_Item; > + /* ctxpopup */ > + typedef struct _Elm_Ctxpopup_Item Elm_Ctxpopup_Item; > > - EAPI Evas_Object *elm_hoverlist_add(Evas_Object* parent); > - EAPI void elm_hoverlist_hover_end(Evas_Object *obj); > - EAPI Evas_Object *elm_hoverlist_item_icon_get(const > Elm_Hoverlist_Item *item); > - EAPI void elm_hoverlist_item_icon_set(Elm_Hoverlist_Item > *item, Evas_Object *icon); > - EAPI const char *elm_hoverlist_item_label_get(const > Elm_Hoverlist_Item *item); > - EAPI void elm_hoverlist_item_label_set(Elm_Hoverlist_Item > *item, const char *label); > - EAPI void elm_hoverlist_hover_parent_set(Evas_Object *obj, > Evas_Object *parent); > - EAPI Evas_Object *elm_hoverlist_hover_parent_get(const Evas_Object > *obj); > - EAPI void elm_hoverlist_clear(Evas_Object* obj); > - EAPI void elm_hoverlist_horizontal_set(Evas_Object* obj, > Eina_Bool horizontal); > - EAPI Eina_Bool elm_hoverlist_horizontal_get(const Evas_Object > *obj); > - EAPI Elm_Hoverlist_Item *elm_hoverlist_item_append(Evas_Object *obj, > const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data); > - EAPI void elm_hoverlist_item_del(Elm_Hoverlist_Item *item); > - EAPI void > elm_hoverlist_item_disabled_set(Elm_Hoverlist_Item *item, Eina_Bool disabled); > - EAPI Eina_Bool elm_hoverlist_item_disabled_get(const > Elm_Hoverlist_Item *item); > + EAPI Evas_Object *elm_ctxpopup_add(Evas_Object* parent); > + EAPI void elm_ctxpopup_hover_end(Evas_Object *obj); > + EAPI Evas_Object *elm_ctxpopup_item_icon_get(const > Elm_Ctxpopup_Item *item); > + EAPI void elm_ctxpopup_item_icon_set(Elm_Ctxpopup_Item > *item, Evas_Object *icon); > + EAPI const char *elm_ctxpopup_item_label_get(const > Elm_Ctxpopup_Item *item); > + EAPI void elm_ctxpopup_item_label_set(Elm_Ctxpopup_Item > *item, const char *label); > + EAPI void elm_ctxpopup_hover_parent_set(Evas_Object *obj, > Evas_Object *parent); > + EAPI Evas_Object *elm_ctxpopup_hover_parent_get(const Evas_Object > *obj); > + EAPI void elm_ctxpopup_clear(Evas_Object* obj); > + EAPI void elm_ctxpopup_horizontal_set(Evas_Object* obj, > Eina_Bool horizontal); > + EAPI Eina_Bool elm_ctxpopup_horizontal_get(const Evas_Object > *obj); > + EAPI Elm_Ctxpopup_Item *elm_ctxpopup_item_append(Evas_Object *obj, const > char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data); > + EAPI void elm_ctxpopup_item_del(Elm_Ctxpopup_Item *item); > + EAPI void elm_ctxpopup_item_disabled_set(Elm_Ctxpopup_Item > *item, Eina_Bool disabled); > + EAPI Eina_Bool elm_ctxpopup_item_disabled_get(const > Elm_Ctxpopup_Item *item); > /* smart callbacks called: > - * "dismissed" - the hoverlist was dismissed > + * "dismissed" - the ctxpopup was dismissed > */ > > /* transit */ > > Modified: trunk/TMP/st/elementary/src/lib/Makefile.am > =================================================================== > --- trunk/TMP/st/elementary/src/lib/Makefile.am 2010-12-01 05:28:13 UTC (rev > 55111) > +++ trunk/TMP/st/elementary/src/lib/Makefile.am 2010-12-01 06:52:46 UTC (rev > 55112) > @@ -92,6 +92,7 @@ > elm_flipselector.c \ > elm_diskselector.c \ > elm_colorselector.c \ > +elm_ctxpopup.c \ > \ > elc_anchorblock.c \ > elc_anchorview.c \ > @@ -99,7 +100,6 @@ > elc_fileselector_button.c \ > elc_fileselector_entry.c \ > elc_hoversel.c \ > -elc_hoverlist.c \ > elc_scrolled_entry.c \ > \ > els_tooltip.c \ > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel