Commit Graph

117 Commits

Author SHA1 Message Date
Mike Blumenkrantz f163b10a05 _item_create -> _item_new
SVN revision: 64221
2011-10-21 01:39:14 +00:00
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Mike Blumenkrantz 52ed887687 more internal renames
SVN revision: 64215
2011-10-20 22:45:38 +00:00
Mike Blumenkrantz f0bbab78b8 more internal renames
SVN revision: 64214
2011-10-20 22:23:48 +00:00
Mike Blumenkrantz 4607b50c5e more unnoticeable internal movements
SVN revision: 64211
2011-10-20 21:49:54 +00:00
Mike Blumenkrantz 3bd72bfe23 rename some internal variables for consistency
SVN revision: 64210
2011-10-20 21:41:24 +00:00
Daniel Juyung Seo a9e92c7bc3 elm genlist/list/gengrid: Changed edge smart callback name. 'edge' callback is not scrolling. So "scroll,edge,up" -> "edge,up". elm_scroller already used this name.
SVN revision: 64200
2011-10-20 16:42:42 +00:00
Michael BOUCHAUD 1381cd24e2 elementary: fix typo that causes incorrect horizontal item positioning on horizontal gengrids. From Benjamin Drucker
SVN revision: 63912
2011-10-07 08:25:18 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Daniel Juyung Seo 4206dddfff elm gengrid: Propagate Gengrid signals to the internal edje view. Patch by Benjamin Drucker <benjamin.t.drucker@alum.mit.edu>
On Tue, Oct 4, 2011 at 7:54 AM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Right now, signals coming from the gengrid's internal edje object are
> propagated up to the gengrid object.
> This patch enables the other direction as well: you can use the
functions
>
>  elm_object_signal_callback_add(grid, ...)
>  elm_object_signal_callback_del(grid, ...)
>
> to signal the gengrid's internal edje object.
>
> Please review, thanks.
> -Ben


SVN revision: 63784
2011-10-04 01:24:08 +00:00
Jeonghyun Yun 628eab467c From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: Re: [E-devel] [Patch] elm_gengrid reorder bug patch

I found a gengrid bug about reordering.

It sometimes happens that some gengrid item disappear when reorder item.



SVN revision: 63783
2011-10-04 00:59:18 +00:00
Daniel Juyung Seo 52da836d78 elm gengrid: Added "scroll,edge,top/bottom/left/right" smart callbacks.
SVN revision: 63625
2011-09-27 15:04:57 +00:00
Daniel Juyung Seo 45372847f9 elm gengrid: Added page feature to gengrid. Patch by Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu>. Thanks a lot!

On Wed, Aug 31, 2011 at 1:52 PM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Earlier this month, there was a svn commit
> (http://trac.enlightenment.org/e/changeset/62496) which added a few
> page-related APIs to the elm scroller.  These should probably also be
> added to gengrid, genlist and maybe even grid and list.  Right now,
> though, I need them for gengrid.  So I propose this patch, based
> entirely on the change that went in before.  I've built it and I'm
> using these new gengrid APIs in my code now.

On Fri, Sep 9, 2011 at 4:45 PM, Benjamin Drucker
<benjamin.t.drucker@alum.mit.edu> wrote:
> Slowly but surely....
>
> This version of the gengrid page APIs patch has the following changes:
> 1. fixed spacing issues
> 2. add const where needed
> 3. submitted a gengrid longpressed change in a separate patch
>
> I really want to try to squeak this in the upcoming release if at all
> possible. If I have an extra space in some file, I promise I'll not do
> it again for the next patch!
>
> Thanks!!
> Ben


SVN revision: 63403
2011-09-15 02:16:37 +00:00
Daniel Juyung Seo 821ad97778 elm gengrid: Gengrid longpress documentation. Patch by Benjamin Drucker <benjamin.t.drucker@alum.mit.edu>
On Fri, Sep 9, 2011 at 4:18 PM, Benjamin Drucker <benjamin.t.drucker@alum.mit.edu> wrote:
> gengrid already emits "longpressed" signals, but it is not currently
> documented nor demonstrated in the examples.  See the attached patch,
> please.


SVN revision: 63323
2011-09-11 12:24:40 +00:00
Michael BOUCHAUD 17748b5a0f elementary: welcome to group in gengrid. Still need some work with reorder...
SVN revision: 63306
2011-09-09 12:43:34 +00:00
Cedric BAIL 8cd01e8068 elementary: use sorted state to improve gengrid and genlist.
SVN revision: 63217
2011-09-05 20:31:51 +00:00
Daniel Juyung Seo 9692d6d2d4 elm list/gengrid: Fixed typo in internal functions and variables. hilight -> highlight.
Hilight is a common mis-spelling of highlight. http://en.wiktionary.org/wiki/hilight 


SVN revision: 62830
2011-08-25 17:19:22 +00:00
Daniel Juyung Seo f8cddb17e6 elm gengrid: Oops, I added more changes to the previous commit.
SVN revision: 62711
2011-08-23 04:04:44 +00:00
Daniel Juyung Seo f899277816 elm genlist: Added "scroll,anim,start", "scroll,anim,stop",
"scroll,drag,start", "scroll,drag,stop" smart callbacks to genlist.
elm gengrid: Added "scroll,anim,start", "scroll,anim,stop" smart
callbacks to genlist.


SVN revision: 62710
2011-08-23 04:02:26 +00:00
Mike Blumenkrantz 5bde9e619c fix elm_object_item_text_part_get for genlist and gengrid
SVN revision: 62323
2011-08-10 23:51:20 +00:00
Mike Blumenkrantz 5d9cc6c464 properly set tooltip freesizing when object has not been realized in genlist/gengrid
SVN revision: 61834
2011-07-28 02:22:37 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
Daniel Juyung Seo 3b486bd56c elm gengrid: Fixed indentation for signal description.
SVN revision: 61729
2011-07-26 07:00:19 +00:00
Mike Blumenkrantz 47574fccbf add new signal for list/genlist/gengrid: "activated"
this signal is called whenever an item receives either a double click or selection+(enter/spacebar/return)

this commit also unifies the click/enter/spacebar/etc event api for these widgets, including removing the double click signal from keypress events and removing the 'clicked' signal from double click events


SVN revision: 61720
2011-07-26 01:49:24 +00:00
Gustavo Lima Chaves 64a31f0f47 [elementary] Documenting the following:
- elm_gengrid_item_cursor_engine_only_get
 - elm_gengrid_item_cursor_engine_only_set
 - elm_gengrid_item_cursor_get
 - elm_gengrid_item_cursor_set
 - elm_gengrid_item_cursor_style_get
 - elm_gengrid_item_cursor_style_set
 - elm_gengrid_item_cursor_unset
 - elm_gengrid_item_data_get
 - elm_gengrid_item_data_set
 - elm_gengrid_item_del
 - elm_gengrid_item_disabled_get
 - elm_gengrid_item_disabled_set
 - elm_gengrid_item_gengrid_get
 - elm_gengrid_item_next_get
 - elm_gengrid_item_object_get
 - elm_gengrid_item_pos_get
 - elm_gengrid_item_prev_get
 - elm_gengrid_item_selected_get
 - elm_gengrid_item_selected_set
 - elm_gengrid_item_tooltip_content_cb_set
 - elm_gengrid_item_tooltip_style_get
 - elm_gengrid_item_tooltip_style_set
 - elm_gengrid_item_tooltip_text_set
 - elm_gengrid_item_tooltip_unset
 - elm_gengrid_item_update



SVN revision: 61706
2011-07-25 19:52:31 +00:00
Gustavo Lima Chaves ddc04e41b4 [elm] Documenting/exemplifying the following:
- elm_gengrid_add
 - elm_gengrid_align_get
 - elm_gengrid_align_set
 - elm_gengrid_always_select_mode_get
 - elm_gengrid_always_select_mode_set
 - elm_gengrid_bounce_get
 - elm_gengrid_bounce_set
 - elm_gengrid_clear
 - elm_gengrid_horizontal_get
 - elm_gengrid_horizontal_set
 - elm_gengrid_multi_select_get
 - elm_gengrid_multi_select_set
 - elm_gengrid_no_select_mode_get
 - elm_gengrid_no_select_mode_set
 - elm_gengrid_page_relative_get
 - elm_gengrid_page_relative_set
 - elm_gengrid_page_size_set



SVN revision: 61704
2011-07-25 19:51:57 +00:00
Gustavo Lima Chaves e86e02b9f9 [elementary] Missing calc. on a gengrid's call.
SVN revision: 61703
2011-07-25 19:51:40 +00:00
Daniel Juyung Seo aa0bd38522 elm gengrid: Removed elm_gengrid_item_update() from elm_gengrid_item_data_set(). So please call elm_gengrid_item_update() when you need it.
This change is same as a genlist change in the following link.
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg33855.html


SVN revision: 61674
2011-07-25 09:02:41 +00:00
Daniel Juyung Seo 053b225250 elm: Fixed document typo.
SVN revision: 61664
2011-07-25 06:36:59 +00:00
Daniel Juyung Seo bc07b91b0e elm genlist/list/gengrid: Removed deprecated signal "clicked". Use
"clicked,double" instead.

The name was wrong and I added a proper signals few months ago. Not I
removed wrong signals.


SVN revision: 61115
2011-07-07 12:49:39 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Cedric BAIL 74dd82cf60 elementary: add some usefull function around sorted insert.
SVN revision: 60691
2011-06-25 23:20:22 +00:00
Cedric BAIL 6f4ff6e812 elementary: add elm_gengrid_item_sorted_insert.
Original patch from Thiery.



SVN revision: 60686
2011-06-25 15:39:05 +00:00
Cedric BAIL 099bcb9a9f elementary: elm_gengrid_clear should be the last called.
SVN revision: 60640
2011-06-23 16:05:42 +00:00
Jeonghyun Yun 908cb7e56f From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel]  [Patch] elm_gengrid reorder mode moving effect added

Dear All.

I made a patch for elm_gengrid moving effect on reorder mode.

You can see reorder moving effect when you reorder item.

Please review this patch.

... I like! in svn! :)



SVN revision: 60301
2011-06-14 08:36:03 +00:00
Daniel Juyung Seo dcd3c7da42 Elementary gengrid: Use Evas_Smart_Cb_Description for smart callbacks.
SVN revision: 60014
2011-06-07 01:01:29 +00:00
Daniel Juyung Seo b1185c152c Elementary gengrid,genlist: Sync genlist/gengrid signal name for
reorder.


SVN revision: 60013
2011-06-07 00:46:22 +00:00
Jeonghyun Yun 732f99f2b7 From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel] [Patch] elm_gengrid - added new feature : gengrid
reorder mode

I added a new feature "reorder mode" of gengrid refer to genlist
reorder mode.

After set this reorder API, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reordered in gengrid.



SVN revision: 59892
2011-06-02 07:09:17 +00:00
Daniel Juyung Seo 4f6017e25e Elementary gengrid: Fixed bug. Patch by Jeonghyun Yun
<hj0506.yun@smasung.com>

From Jeonghyun Yun.
Hello.

I attached the patch file for calc_job bug.

I found ecore_magic_fail problem when ecore_job_del(wd->calc_job).
wd->calc_job should also to be NULL when pan_smart's cvw and cvh is 0 in
calc_job().

Please check about this patch.

Thanks.


SVN revision: 59034
2011-04-29 10:50:55 +00:00
Daniel Juyung Seo 22aeea6acf Elementary: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 58968
2011-04-27 16:06:11 +00:00
ChunEon Park 628d558cde elementary/gengrid - made to use signal callback descriptions table.
SVN revision: 58817
2011-04-22 00:57:15 +00:00
Daniel Juyung Seo 415b221632 Elementary gengrid: Fixed a warning.
SVN revision: 58721
2011-04-19 00:58:39 +00:00
Michael BOUCHAUD 0642a6c1cc elementary: add page_relative and horizontal getters to gengrid
SVN revision: 58705
2011-04-18 10:54:25 +00:00
Daniel Juyung Seo de8ecd6ff8 Elementary gengrid: Fixed doxygen typo.
SVN revision: 58597
2011-04-12 17:32:36 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park 3761fc17f5 elementary / menu, gengrid, slider, separator, photocam, index, toggle
updated signal callback list in the doxygen



SVN revision: 58347
2011-04-05 07:04:09 +00:00
ChunEon Park c7c99ddea6 elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector

	    updated signal callback list in the  doxygen. 

            should update genlist, progressbar ... 



SVN revision: 58335
2011-04-04 16:34:18 +00:00
Daniel Juyung Seo 6dc86966fd Elementary elm_gengrid.c: Fixed doxygen.
SVN revision: 58303
2011-04-03 16:06:06 +00:00
Daniel Juyung Seo 16848f903d Elementary: Fixed wrong smart callback signal name. clicked -> clicked,double
Unified double-click smart callback signal name to "clicked,double".
Wrong signal name "clicked" is still there.
But this will be removed soon after fixing all codes in trunk.


SVN revision: 58293
2011-04-03 09:36:47 +00:00