Commit Graph

50 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 0a034e8fe5 elm_smart_scroller now propagates the events, fixes tooltips in scrolled stuff.
The els_scroller.c:_smart_add() as disabling event propagation on
itself, that way an owner object (ie: elm_scroller,
elm_scrolled_entry, elm_list, ...) was not getting the mouse events it
gets, thus any evas_object_event_callback_add(..., EVAS_CALLBACK_MOUSE_*...)
were not working (effectively breaking tooltips).

Seems that the reason to do so was double-event reporting. It could
happen as the elm_smart_scroller has an event_obj that repeats event,
thus the object behind it, the edje_object, could get and possibly
repeat them as well.

As we are sure event_obj always get the events, but not sure of the
edje, as it depend on user contents, the logic is now changed to stop
propagation of the edje instead (it still processes the events! just
not propagates to elm_smart_scroller).

I hope this patch does not break anything, but please check your software!



SVN revision: 52350
2010-09-16 21:33:10 +00:00
Gustavo Sverzut Barbieri b5aeff5519 Disconnect from signals if the pan_obj goes away.
IF we're replacing the pan_obj, then we should disconnect from the old
in order to avoid receive useless callbacks... actually if it is an
external pan object and we die and it does not, we may end crashing
due it calling function callbacks with garbage data.



SVN revision: 52117
2010-09-10 02:01:32 +00:00
Christopher Michael bc583d718c Lots of fixes:
Add UNUSED where needed.
  Remove unused variables.
  Fix lots of compiler warnings.
  Formatting.



SVN revision: 51320
2010-08-18 19:18:42 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Fabiano Fidêncio 7746e8b514 From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...



SVN revision: 49470
2010-06-05 13:12:45 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Carsten Haitzler 2ae7757e30 if sub scroller bigger than oparent - it's still usable now - u can get to
edge of child then it stops and now parent moves etc.



SVN revision: 48717
2010-05-09 16:05:18 +00:00
Carsten Haitzler 63f9c12ad1 fix list scroller to use ppropeer internal scroller calls.
remove commented out code from elm_scroller



SVN revision: 48712
2010-05-09 10:46:49 +00:00
Carsten Haitzler 83286a1d84 scroller in scroller.... works! well with scrollers for now (elm_scroller).
need to fix up some other instances of use of elm_smart_scroller. it's a 1
liner.



SVN revision: 48667
2010-05-07 13:21:45 +00:00
Vincent Torri 86d5c41583 * remove shadow declarations
* missing initializer in Evas_Smart_Class (the data field was missing)


SVN revision: 48197
2010-04-21 07:46:03 +00:00
Tiago Rezende Campos Falcao ffaa68c266 Added get functions in elm_genlist and added external Genlist support. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47784
2010-04-06 14:01:04 +00:00
Carsten Haitzler 310810413c and some more warning--
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler f3034c8196 more members for newer struct - init to null.
SVN revision: 47092
2010-03-09 16:56:31 +00:00
Carsten Haitzler 185bec1265 1. fix child stuff .. smart object members.. that was just bad of me.. oops.
swapped params. i should have known better. *spank* and .. add visible "u
clikced here" tests to launcher test.



SVN revision: 46582
2010-02-27 15:14:34 +00:00
Carsten Haitzler 750533f751 fix scroll animator
SVN revision: 45621
2010-01-27 06:12:29 +00:00
Carsten Haitzler 9e085018bf animators should tick off at defined intervals from a 0 point so all
animators from all apps are in sync - or try to be.



SVN revision: 45615
2010-01-27 03:59:23 +00:00
Carsten Haitzler 9427ae2682 move scroll back to event handling - test
SVN revision: 45439
2010-01-22 12:02:39 +00:00
Jonathan Atton 2d68c3558c Elm scroller: Fix _smart_scrollto_x/y_animator(). The callback "scroll" was not called for the last move
SVN revision: 43297
2009-10-26 10:48:09 +00:00
Jonathan Atton 7be1d94aa2 Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Carsten Haitzler 031439f6d7 and another config value
SVN revision: 42668
2009-09-24 07:40:14 +00:00
Carsten Haitzler c9036091d4 make these friction and config values
SVN revision: 42667
2009-09-24 07:35:54 +00:00
Carsten Haitzler 8c7e32b63b add api calls (non-functioning), remove unneeded objects, turn off smooth
scaling while scrolling around



SVN revision: 42619
2009-09-22 14:04:09 +00:00
Carsten Haitzler 51e1595773 index all happy worky fun fun!
SVN revision: 42379
2009-09-10 09:25:11 +00:00
Carsten Haitzler 3167305fa7 fix scroll freeze and propagate to built-in scrollers. also genlist now knows
about dragging items. callbacks for that.



SVN revision: 42342
2009-09-08 06:20:32 +00:00
Carsten Haitzler 14b8de3a18 index not in scroller. better. a start.
SVN revision: 42241
2009-09-04 09:50:25 +00:00
Carsten Haitzler 59fc4b1be8 1. new spinner widget from Viktor Kojouharov <vkojouharov@gmail.com>
2. scroller stop fix in paginated mode
3. scroller docs



SVN revision: 42202
2009-09-03 12:36:39 +00:00
Carsten Haitzler 4686255022 1. scroller uses event timestamps for momentum chrecks
2. fixed paged scrollin to work better
3. entry hoveresel is themable separately
4. entry hofersel is extenstible
5. test improvings



SVN revision: 42181
2009-09-02 12:48:00 +00:00
Carsten Haitzler 5781ad4a3e 1. add scroller test
2. add pagination concept to scroller (only scroll by pages)
3. add longpress callback for list + genlist
4. scroller docs and some empty api calls. 



SVN revision: 42147
2009-09-01 10:42:52 +00:00
Jonathan Atton 9d9f0cb6eb Add a test on hold on in the callback events
SVN revision: 41775
2009-08-14 19:08:54 +00:00
Viktor Kojouharov fdefdcdd8b From: Viktor Kojouharov <vkojouharov@gmail.com>
scroller patch for elm to not scroll while modifier down (ok) and to use
other axis for wheel too.



SVN revision: 41752
2009-08-14 01:53:58 +00:00
Cedric BAIL 29adfe9fc8 * elementary: Full switch to Eina data type.
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Carsten Haitzler 5c7e2ec144 1. fix box as it didnt hide clipper when it gets empty
2. add bouncing at ends for scroller and config for it
3. fix quicklaunch to be cserver-freidnly thanks to its fork tricks
4. add signals to scroller when scrolling and hitting edges
5. pants.



SVN revision: 40549
2009-05-08 11:27:32 +00:00
Carsten Haitzler 7d29bb4cb2 fix horizontal scroll in auto-scroll select mode
SVN revision: 40506
2009-05-05 04:58:25 +00:00
Carsten Haitzler bef9cfb99c a whole bunch of entry+scroller fixes.
SVN revision: 40327
2009-04-23 12:58:34 +00:00
Carsten Haitzler 16a328cba1 and make entry work nicely by freezing/holding scrolling (hold == different
scroll mode).



SVN revision: 39601
2009-03-20 15:08:33 +00:00
Carsten Haitzler e5298074e7 work on bettre touchscreen text selection support. not 100% done yet. been
playing with ideas. this one seems best.



SVN revision: 39579
2009-03-19 13:36:46 +00:00
Carsten Haitzler 6e0c99e69f fixes for some bugs i found, tree ability in genlist (basic not fully done
visually yet), and some win util calls added.



SVN revision: 39456
2009-03-13 05:50:38 +00:00
Carsten Haitzler f9fb1d3f0f make scroller stay in the exact pixel pos when resizign - unless at the end.
SVN revision: 39080
2009-02-18 13:42:56 +00:00
Carsten Haitzler 86ebf4591c more work on slider - i think its complete now vertical mode works. might be
some buglts to clear up though.
fix scroller to scroll only at animator framerate.. using an animator making
scrolling much better.
begin genlist (geeric but complicated) list.



SVN revision: 38979
2009-02-09 11:23:59 +00:00
Carsten Haitzler 9839429917 fix scroller del bug.
SVN revision: 38788
2009-01-26 02:18:41 +00:00
Carsten Haitzler 6505d78bc0 clear up some shutdown/deletion bugs
SVN revision: 38291
2008-12-23 14:05:56 +00:00
Carsten Haitzler 56bb7d664a toolbar in. not 100% done yet.
SVN revision: 38209
2008-12-18 13:38:58 +00:00
Carsten Haitzler ee7131de29 and make elm auto-scale much better on the fly - not perfect... but not to
shabby. also in theory should cover theme changes on the fly... haven't tested.



SVN revision: 37662
2008-11-15 13:58:50 +00:00
Gustavo Sverzut Barbieri 66ba6e635a Set member_{add,del} to NULL.
SVN revision: 37086
2008-10-25 02:57:03 +00:00
Carsten Haitzler fc392751dc use hold flags
SVN revision: 36965
2008-10-22 12:00:16 +00:00
Carsten Haitzler ab493a0d00 and now entry is pretty much done (no hooks to x copy/paste selections etc.
but for now that's ok)



SVN revision: 36754
2008-10-17 14:40:54 +00:00
Carsten Haitzler cd8a1192b0 warnings-- and beginning of entry widget.
SVN revision: 36653
2008-10-14 08:05:30 +00:00
Carsten Haitzler a0fd0771f5 theme stuff is done properly now with a style (always default - onyl one
available for all widgets for now) and icons emit callback.



SVN revision: 36522
2008-10-08 09:33:05 +00:00
Carsten Haitzler 51123a3452 elementary becomes its own tree/lib/test binary
SVN revision: 36343
2008-09-30 06:58:56 +00:00