We've countered application's requirements multiple times to they have the object handle from the elm_object_item.
Now we introduce it for their convenient but they should use it carefully.
1. Use image variables in smart way.
2. Fixed function parameter formatting.
3. Changed callback function names.
4. Reordered control panel buttons logically.
On a move start signal, set the mouse cursor to "move".
Add hook for "move stop" to unset cursor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
1. Fixed formatting.
2. Used EINA_TRUE/FALSE for Eina_Bool type parameter.
3. Made item size scalable.
4. Changed Item Data structure name Testitem -> Item_Data
5. Used elm_image for gengrid icon instead of bg.
6. Removed unnecessary casting.
7. Moved code around to the proper place.
multibuttonentry really didnt follow elm conventions - it didnt use
namespacing for most singals/swallows - it dug into objects reading
object part geometry where it just should have calced min size and be
done. it did all sorts of other things it shouldnt/didnt need to.. so
i fixed that now... and dark theme has the support.
NB: Use a rectangle, swallowed into the frame object, to calculate
framespace values.
Thanks Raster !! :)
This also fixes zmike's Fat-Frame issue ;) (ie: frame size and
framespace will be adjusted now for different font sizes in the
titlebar)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Genlist will now emit the following signals to item view related to
their position in the whole list:
- elm,state,list,first: first item of the whole list
- elm,state,list,last: last item of the whole list
- elm,state,list,middle: any item that is not first or last.
- elm,state,list,single: when the item is the only element of list.
And the following related to a group (considering its given 'parent'):
- elm,state,group,first: first item of the group
- elm,state,group,last: last item of the group
- elm,state,group,middle: any item that is not first or last.
- elm,state,group,single: when the item is the only element of group.
Unlike odd/even the signals have an extra namespace "list" or "group"
to avoid conflicts with applications that may have declared these
signals themselves for other purposes.
With this patch one can implement easily something like this:
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/tableview_iphone/Art/tv_grouped_style.jpg
It prevents applying themes more strictly if it tries to apply same theme.
This increases the performance hugely in case that user applies a specific theme to the window object.