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
Subject: [E-devel] [Patch][elm_map] Fix zoom & rotated coordinates bug
In my point of view, elm_map did not consider zooming & rotation by
using Evas_Map initially.
There are no problems if you use only elm_map_zoom_set(). But if you
use pinch gesture or wheel to do subtle zooming & rotating, the
calculations of coordinates are not correct currently.
I have fixed these problem and also made some utility APIs for user
convenience.
I made following 3 APIs.
1. elm_map_utils_size_get()
Currently users can only get integer zoom level by using
elm_map_zoom_get().
So if user want to calculate full map size, user should calculate
pow(2.0, zoom level) * tile size. Furthermore, user assumes tile size
as 256. (tile size can be changed!!)
Also it's not correct sometimes because Evas_map is used for subtle
zooming between zoom levels.
Above APIs return correct full map size.
2. elm_map_utils_region_get()
It can used for getting left top coordinates, center coordinates and
width, height of currently shown map area.
3. elm_map_utils_convert_canvas_into_geo()
Currently it is hard to converting x, y coordinates to geographical
longitude, latitude because of subtle zooming & rotating.
If use wants to get it, user uses combination of above functions and
more. It is harsh job.
This function is used for getting longitude, latitude from x, y
coordinates of current viewport.
SVN revision: 67286
application can use ecore extn socket easyily
by using elm_window_add with ELM_WIN_SOCKET_IMAGE style.
And new widget Elm plug is similar with Elm image.
it can show socket's image using connect API.
I add test code also(test_win_socket/plug).
SVN revision: 67245
Subject: [E-devel] [patch] elm_layout - set default style to new cursor obj
Date: Thu, 12 Jan 2012 17:29:39 +0900
Dear all.
I made a small patch to add default style to new cursor obj.
Normally it's not useful but sometimes _part_cursor_part_apply() is needed.
Also duplicated layout setting is removed in cursor testing at elementary_test.
Thanks.
SVN revision: 67189
Subject: Re: [E-devel] [Patch] elc_ctxpopup, add restacking feature
I have attached example code for checking restacking feature of ctxpopup.
Please review the code and give any feedbacks. Thanks.
SVN revision: 67037
<hyoyoung@gmail.com>
On Tue, Jan 10, 2012 at 8:40 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> It's another patch file that describes a method to get a store
example files.
> If it's ok, plz commit it.
> Thanks
SVN revision: 67032
Sad, but it's unusable if you use it with subitems:
* insert top-level item sorted mixes with children;
* insert children item sorted screws the order
This is also true for groups, is holding my changes to enjoy :-(
SVN revision: 66947
Subject: [E-devel] [patch] elm_photo - add aspect_ratio_retained_{set/get}
Date: Fri, 6 Jan 2012 12:20:33 +0900
Dear all.
elm_photo doesn't have resizing functions which are not follow
original photo file ratio (vertical/horizontal).
so i copied aspect_ration_reatined functions from elm_image.
also it fixes photo menu bug in elementary_test.
currently photo window has a bug which cannot display non-square
images correctly.
Thanks
SVN revision: 66924