Commit Graph

166 Commits

Author SHA1 Message Date
Pau Espin Pedrol cc268617ab elm_slideshow: Deprecate elm_slideshow_show() and rename it to elm_slideshow_item_show()
SVN revision: 68567
2012-03-01 11:50:56 +00:00
Sanjeev BA e0efa2e5ad Change enabled_get/set to disabled_get/set.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68540
2012-02-29 07:54:57 +00:00
Jiyoun Park ac79e76aea remove deprecated function related with
anchorview and block's text set/get


SVN revision: 68451
2012-02-26 12:05:28 +00:00
Sanjeev BA 8a496e93ab Fix elm_photocam API and cnp documentation.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68373
2012-02-24 02:26:03 +00:00
Bluezery acf31ec4cd From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Refactoring Elementary Map

I have done refactoring & code clean-up in elm_map.  Event if this
patch have much changes, refactoring & code clean-up jobs almost
always do.
Anyway, code is shortened and optimized I think.
 I have done following jobs in my patch.
 
 (1) Always change child size
 Scroller Child size is changed when integer zoom level is changed
 before. This makes bugs which mouse pointer is not correct on the map
 when map is dragging.
 Now, scroller child size is always changed when double zoom level is
changed.

(2) Evas map
Evas map is used for rotation & zooming before. But now it is used for
only rotation. evas_object_resize() can do zooming because (1) makes
child size always changed.

(3) Grid & Marker & Route, etc.
Because of (1), all coordinate calculations are all changed. So grid &
marker & route should be changed.
When I have fixed these, I have these split into small function
(create, free, update, place, etc.)
So these can be easily reused for other purpose ( I will add overlay
later.)
Also marker size is not changed and is not rotated anymore because
marker's coordinate is just rotated and evas_map is not used for
marker.

And grouping algorithm is somewhat changed. Each marker can be group
leader and if other markers (followers) are closed to leader, markers
are grouped.

Actually _marker_place() function do almost everything. (place marker,
bubble, group & make group, etc.)

Bubbles go along with parent object. (show, hide, move) and this is
created when marker & group are opened.
At now, bubble display bugs are all fixed.

As before, grid is created when elm_map_add() or tile source is
changed. And I add _grid_item_* functions for each 256x256 tile
management.  So grid_place() function can be simple now.

(4) Download idler
Before download is not a job or idler and is integrated with grid
calculation.
I have separated this into independent idler. So now, download idler
do download jobs when idler time.

(5) Zoom
I have made one zoom_do() function.  This does all zoom jobs. At now,
pinch_zoom & wheel_zoom & animated zoom do not much jobs. just call
zoom_do().

(6) Delayed jobs
As I know, evas is based on a retained mode and calculation can be do
later. So sometimes elm_map APIs can not  do the jobs correctly.
For example, elm_map_marker_list_show() or elm_map_zoom_set() can not
be used right after elm_map_add()  because window size and pan size
can be 0.   (refer map_example_02.c)
So when APIs related such calculation are called. These are deferred
and calculated later when _pan_calculate() is called.

5) Code clean-up
I have removed unused variables & functions.  and rearranged struct &
functions & declaration & static variables, etc.
Instead of "if (!wd) return; ", I changed this by macro,
"EINA_SAFETY_ON_NULL_RETURN(wd);". This is better for function
entrance check. Also ELM_NEW is used instead of calloc or malloc.

Aboves are all related each other. So it can be hard to split this
file. If these should be splitted, I'm going to freak ;D.
This patch does no harm!!!! :D.
 After this patch, I will add overlay APIs based on this patch.  I
 doubt whether I will add this before elementary 1.0 release.  :(
 


SVN revision: 68207
2012-02-21 08:01:22 +00:00
Carsten Haitzler 6636c616bf aah we'll take bluz' patch then instead of my fixing
SVN revision: 68206
2012-02-21 07:59:19 +00:00
Carsten Haitzler d893dbbc69 hmmm i missed the other part of bluez map commit. here it is.
SVN revision: 68192
2012-02-21 03:24:59 +00:00
Cedric BAIL 3a400e288e elementary: fix typo.
I am the only one who build everything every morning ?


SVN revision: 68062
2012-02-17 10:11:22 +00:00
ChunEon Park fb2e56a254 elementary/flip - more *INTERACTON*
SVN revision: 68023
2012-02-16 11:37:54 +00:00
Tom Hacohen 11f6738a6c Elm pager: remove all references from elm's tree.
SVN revision: 68016
2012-02-16 09:26:35 +00:00
ChunEon Park 536f8ec51f elementary/flip - deprecated APIs
elm_flip_content_front_set
elm_flip_content_back_set
elm_flip_content_front_unset
elm_flip_content_back_unset
elm_flip_content_front_get
elm_flip_content_back_get



SVN revision: 68009
2012-02-16 07:31:55 +00:00
ChunEon Park c49d5f27cb elementary - deprecated elm_engine_current_get API
Please use elm_engine_get instead



SVN revision: 67947
2012-02-15 02:29:57 +00:00
WooHyun Jung 8ce314ddf5 [elementary/entry_example] Change elm_entry_text_filter_append to
elm_entry markup_filter_append.


SVN revision: 67749
2012-02-08 07:48:59 +00:00
ChunEon Park 40e51b5fea elementary/gengrid - deprecated elm_gengrid_item_del()
please use elm_object_item_del() instead



SVN revision: 67621
2012-01-31 03:03:17 +00:00
ChunEon Park b1f436569c elementary/gengrid - deprecated 3 APIs.
elm_gengrid_item_data_set -> elm_object_item_data_set
elm_gengrid_item_data_get -> elm_object_item_data_get
elm_gengrid_item_gengrid_get -> elm_object_item_widget_get



SVN revision: 67619
2012-01-31 01:22:16 +00:00
ChunEon Park 7c0738c762 elementary/gengrid - Elm_Gengrid_Item -> Elm_Object_Item
Be happy! now all widgets are using the Elm_Object_Item interface.



SVN revision: 67599
2012-01-30 10:29:51 +00:00
ChunEon Park fd909fc341 elementary/list - deprecated elm_list_item_del()
please use elm_object_item_del().



SVN revision: 67598
2012-01-30 06:06:03 +00:00
ChunEon Park 42ddca9f31 elementary/genlist - deprecated elm_genlist_item_genlist_get()
please use elm_object_item_widget_get() instead.



SVN revision: 67596
2012-01-30 04:37:41 +00:00
ChunEon Park 1a9deee7df elementary/genlist - deprecated elm_genlist_item_del()
now let's use elm_object_item_del() API.

and deprecated elm_genlist_horizontal_get() APIS also.



SVN revision: 67566
2012-01-27 11:59:22 +00:00
ChunEon Park 749e8e2642 elementary/genlist - fixed indentation
SVN revision: 67563
2012-01-27 07:37:47 +00:00
ChunEon Park 4ee72ae553 elementary/genlsit, gengrid - removed duplicated disabled field.
deprecated elm_genlist_item_disabled_set/get, 
please use elm_object_item_disabled_set/get instead.



SVN revision: 67562
2012-01-27 07:36:36 +00:00
ChunEon Park d4ffe4c8c2 elementary/genlist - deprecated elm_genlist_item_data_set/get
but please use elm_object_item_data_set/get instead.


and what was purpose of this double casting? 

(int)(long) elm_genlist_item_data_get(gli);

these calls are used in some places. 

I removed the (long) casting because it looks useless.



SVN revision: 67546
2012-01-26 07:31:30 +00:00
ChunEon Park 640caff765 elementary/genlist - update to use new APIs
SVN revision: 67525
2012-01-25 09:25:12 +00:00
Cedric BAIL c9b5551660 elementary: match elm_list API.
SVN revision: 67499
2012-01-24 15:15:43 +00:00
Cedric BAIL dab18349e2 elementary: fix build of elementary genlist examples.
SVN revision: 67462
2012-01-23 10:09:46 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00
ChunEon Park 11282d3953 Elementary/list - Elm_List_Item -> Elm_Object_Item
SVN revision: 67110
2012-01-12 03:03:56 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park 0640b3d90b elementary/entry - more deprecated APIs
elm_entry_icon_set/get/unset
elm_entry_end_set/get/unset



SVN revision: 66991
2012-01-09 10:33:59 +00:00
ChunEon Park 3d40877da4 elementary/hover - deprecated elm_hover_content_set/get/unset
SVN revision: 66989
2012-01-09 08:37:29 +00:00
ChunEon Park e75c2a8333 elementary/fileselector_button, fileselector_entry - deprecated APIs.
elm_fileselector_button_icon_set
elm_fileselector_button_icon_get
elm_fileselector_button_icon_unset
elm_fileselector_entry_button_icon_set
elm_fileselector_entry_button_icon_get
elm_fileselector_entry_button_icon_unset



SVN revision: 66988
2012-01-09 08:06:43 +00:00
Daniel Juyung Seo 31f21e31ec elm toolbar: Changed elm_toolbar_mode_shrink_set/get ->
elm_toolbar_shrink_mode_set/get.
Also updated http://trac.enlightenment.org/e/wiki/ElementaryChanges

SVN revision: 66927
2012-01-06 06:42:10 +00:00
Mike Blumenkrantz 8638957866 aspect_ratio_retained -> aspect_fixed
SVN revision: 66926
2012-01-06 05:55:51 +00:00
Daniel Juyung Seo 4a50aafa60 elm list: Applied recent list changes.
SVN revision: 66823
2012-01-04 01:28:33 +00:00
ChunEon Park 569e56e904 elementary - Added 1 more API elm_object_item_del_cb_set()
also deprecated below APIs  

   elm_hoversel_item_del_cb_set()
   elm_diskselector_item_del_cb_set()
   elm_toolbar_item_del_cb_set()
   elm_index_item_del_cb_set()
   elm_menu_item_del_cb_set()                  



SVN revision: 66748
2012-01-02 11:46:32 +00:00
ChunEon Park 176fc43fc4 elementary/segment_control - deprecates 2 APIs and supports elm_object_common APIs.
*deprecated
elm_segment_control_item_label_set
elm_segment_control_item_icon_set



SVN revision: 66731
2012-01-02 06:54:18 +00:00
ChunEon Park 6b127fc932 elementary/segment_control - Elm_Segment_Item -> Elm_Object_Item
SVN revision: 66730
2012-01-02 06:01:24 +00:00
ChunEon Park c19672a89f elementary/diskselector - deprecated APIs. Now let's use elm_object_item APIs
elm_diskselector_item_label_set()
elm_diskselector_item_label_get()
elm_diskselector_item_icon_set()
elm_diskselector_item_icon_get()
elm_diskselector_item_data_get()



SVN revision: 66685
2011-12-30 10:53:37 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +00:00
ChunEon Park 9f29d3d6f3 elementary/diskselector - updated example
SVN revision: 66677
2011-12-30 09:03:26 +00:00
ChunEon Park 4f95bc60b5 elementary/diskselector - Elm_Diskselector_Item -> Elm_Object_Item
Suddently splitted header files. :(



SVN revision: 66671
2011-12-30 08:33:50 +00:00
ChunEon Park 6f07cf3ea0 elementary/index - Elm_Index_Item -> Elm_Object_Item
SVN revision: 66659
2011-12-30 04:57:28 +00:00
Iván Briano 502c4284a1 Don't override standard variables, it looks weird. In turn, fix building with automake 1.11.2
SVN revision: 66599
2011-12-28 14:13:30 +00:00
ChunEon Park b62129c878 elemenatry/hoversel - updated doc. deprecated APIs
elm_hoversel_icon_set
elm_hoversel_icon_get
elm_hoversel_icon_unset
elm_hoversel_item_data_get
elm_hoversel_item_label_get



SVN revision: 66350
2011-12-20 02:44:46 +00:00
ChunEon Park 49fa96affe elementary/hoversel - Elm_Hoversel_Item -> Elm_Object_Item
**This may break your application compilation**



SVN revision: 66343
2011-12-20 01:03:17 +00:00
Cedric BAIL 32cf20b7a5 elementary: fix typos.
SVN revision: 66113
2011-12-12 08:53:22 +00:00
ChunEon Park 04baf7d1a0 elementary/slideshow - deprecated API
elm_slideshow_item_data_get



SVN revision: 66060
2011-12-09 07:08:49 +00:00
ChunEon Park 1120f143aa elementary/toolbar - deprecate APIs.
elm_toolbar_item_data_get
elm_toolbar_item_data_set
elm_toolbar_item_toolbar_get
elm_toolbar_item_label_get
elm_toolbar_item_label_set
elm_toolbar_item_disabled_get
elm_toolbar_item_disabled_set



SVN revision: 66057
2011-12-09 05:26:33 +00:00
ChunEon Park fdc7cd86a4 elementary/slideshow - Elm_Slideshow_Item -> Elm_Object_Item
WARNING. This may cause build breaks. 



SVN revision: 66021
2011-12-08 11:01:01 +00:00
Cedric BAIL fbe34af38f elementary: fix massive breakage.
Someone learned to well from me...


SVN revision: 65784
2011-12-01 16:53:57 +00:00