efl/legacy/elementary/src/bin
Daniel Juyung Seo 5229aed40b Elementary genlist: Added genlist mode feature.
I introduce a new concept to genlist.
I named it "genlist mode" after I discussed it with raster.
Using this feature, one can activate/deactivate any mode(effect) to an item.
The mode is defined in genlist item edc.

You can watch a sample video on youtube.
http://www.youtube.com/watch?v=ZPbwpzwwiS8
I created two sample mode: Slide and Rotate.

[Feature Description]
 - One can activate a specific mode to an item.
 - One item is activated at one time while others are deactivated.
 - Genlist handles deactivating other items when one item is activated.
 - There are two different view: before activated, after activated.
 - Genlist creates the second view when the first view is activated. Usually the first view is animated.
 - Genlist destroys the second view when the item finishes deactivating.
 - Creating/Destroying the second view on the fly gives performance enhancement because there is no reason to hold all objects in two views all the time.
 - Mode is defined in genlist edc so one can easily add it more.
 - Mode edc style is separated from normal genlist styles. One can combine any genlist style with mode edc style.

[API]
 - EAPI void elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
   Activate/Deactivate a mode to an item.
 - EAPI const char *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
   Get activated mode name.
 - EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
   Get activated item.
      
[Structure]
 - Elm_Genlist_Item 
   Added const char *mode_item_style;
	     
[Usage]
 - Set mode style name to genlist item class.
   itc.mode_item_style = "mode";
 - Activated mode to an item whenever you want.
   elm_genlist_item_mode_set(it, "slide", EINA_TRUE);


SVN revision: 58791
2011-04-21 11:47:36 +00:00
..
.cvsignore elementary becomes its own tree/lib/test binary 2008-09-30 06:58:56 +00:00
Makefile.am mm.... new widget options/modes for win... u can put a window.. 2011-04-14 10:48:43 +00:00
config.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
quicklaunch.c aaah fix non quicklaunch mode too. 2010-10-21 04:05:35 +00:00
run.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
test.c Elementary genlist: Added genlist mode feature. 2011-04-21 11:47:36 +00:00
test_actionslider.c Elementary test_actionslider.c: Fixed wrong variable names. 2011-04-20 17:20:15 +00:00
test_anchorblock.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_anchorview.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_anim.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_bg.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_box.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_bubble.c Elementary test-bubble: Modified the test to include a 'no-icon' style. 2011-02-22 16:33:18 +00:00
test_button.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_calendar.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_check.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_clock.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_colorselector.c Changing size hints in color selector and action slider tests. 2010-12-09 15:59:17 +00:00
test_conform.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_ctxpopup.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_cursor.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_diskselector.c wrn-- 2011-04-08 05:53:37 +00:00
test_entry.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_fileselector.c New Fileselector mode: GRID. 2010-12-10 13:01:51 +00:00
test_fileselector_button.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_fileselector_entry.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_flip.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_flipselector.c Rename elm_flippicker to elm_flipselector 2010-11-10 13:43:34 +00:00
test_floating.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_focus.c Replace focus_jump by focus_cycle in disabled_set 2010-12-09 13:07:39 +00:00
test_focus2.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
test_focus3.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_gengrid.c Elementary: Applied "clicked" signal name change for gengrid/list/genlist. 2011-04-12 17:29:59 +00:00
test_genlist.c Elementary genlist: Added genlist mode feature. 2011-04-21 11:47:36 +00:00
test_hover.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_hoversel.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_icon.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_icon_desktops.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_index.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_inwin.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_label.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_launcher.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_layout.c I wonder how I managed to remove those before committing. 2010-10-28 17:46:47 +00:00
test_list.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_map.c - add rotate feature 2011-04-21 08:55:02 +00:00
test_menu.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_multi.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_notify.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_pager.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_panel.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_panes.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_photo.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_photocam.c Elm photocam now back to life. 2010-11-25 06:27:42 +00:00
test_progressbar.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_radio.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_scaling.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_scroller.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00
test_segment_control.c Elementary segment_control: Introduced new widget by Govindaraju and Prince. 2011-04-07 16:44:54 +00:00
test_separator.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_slider.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_slideshow.c Elementary test: Fixed window name and window title name. 2011-02-21 15:33:40 +00:00
test_spinner.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_store.c Elementary genlist: Added genlist mode feature. 2011-04-21 11:47:36 +00:00
test_table.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_thumb.c Fix some Wextra complains on elm bin 2010-10-19 18:25:22 +00:00
test_toggle.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_toolbar.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_tooltip.c Just indenting this file. 2010-12-06 12:46:02 +00:00
test_transit.c elementary/transit - updated test_transit for the chain transit 2011-04-12 05:49:47 +00:00
test_weather.c Elementary src/bin: Removed all trailing whitespaces. 2011-04-08 14:30:48 +00:00
test_win_inline.c Elementary: Removed trailing whitespaces. 2011-04-20 14:16:51 +00:00
test_win_state.c Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters. 2011-04-15 11:44:05 +00:00