Commit Graph

14 Commits

Author SHA1 Message Date
Carsten Haitzler b924ac350a formatting (spaces) 2014-01-10 16:46:25 +09:00
Jihoon Kim afecbbe85b test_dnd: avoid to create icon object that will be unused 2014-01-10 15:00:06 +09:00
Daniel Juyung Seo d8def8245f test_dnd: Check return value of strchr it can be NULL.
This fixes coverity CID 1152899 and 1152898.
2014-01-10 13:30:39 +09:00
Daniel Juyung Seo d955c579ca elm_test: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:08 +09:00
Daniel Juyung Seo 9207105580 test_dnd: clean up dnd sample code.
- fixed formatting.
- set timer pointer to null when canceling the timer.
2013-12-10 01:03:27 +09:00
Daniel Zaoui e67db2c832 DnD: cancel feature during drag
This can be tested by running "Features DnD" test. Enable the 5s cancel
timeout, drag an item and wait for the cancellation.
2013-12-09 09:32:43 +02:00
Daniel Zaoui d0375f8550 Rename DnD test 2013-11-28 16:24:01 +02:00
Carsten Haitzler 4bea4e8b5f fix warning 2013-11-08 18:12:55 +09:00
Daniel Zaoui b66233d128 DnD: multi-callbacks support
This features permits execution of more than one set of functions during
DnD.
Delete function API has been modified to give the developer the
possibility to remove a specific set of functions.
2013-11-05 08:28:54 +02:00
Daniel Zaoui 883ed0d646 Drag & Drop: add overlapping feature.
This feature is essential if two overlapping widgets can receive drop
information.
Until now, if two widgets (e.g background and button) were added as drop
targets, pointing to common coordinates would have given priority to the
first inserted as drop target.
Now, it will determine which widget is supposed to receive this drop
target by using the same mechanism as used for mouse move, i.e by
walking on the objects tree whose pointer passes through.

A test has been added (Overlapping DnD) to show how this feature can be
used. You can drop in bg, box and button.
2013-10-21 19:04:42 +03:00
Daniel Juyung Seo 83db5ad972 elm_test: __UNUSED__ -> EINA_UNUSED. 2013-09-01 10:18:03 +09:00
Daniel Juyung Seo aa5077532d test_dnd.c: compare a flag correctly.
This fixes coverity CID 1040041 Wrong operator used (CONSTANT_EXPRESSION_RESULT).
2013-08-11 15:53:31 +09:00
Chris Michael d62689ca06 Set a sensible size for the dnd test window.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-21 11:00:02 +01:00
Daniel Zaoui ac01929f37 Elementary: Drag & Drop feature for items containers
New APIs have been added to facilitate DnD for genlist, gengrid and list
widgets.
Tests have been added in the new section DnD to play with that.
2013-05-09 13:57:31 +03:00