Commit Graph

37 Commits

Author SHA1 Message Date
Christopher Michael 7c78ec900e Formatting. Add missing void in function declaration.
SVN revision: 40835
2009-05-26 14:44:19 +00:00
Gustavo Sverzut Barbieri 00e98a4851 cleanup memory usage, add stringshare, fix bug.
* h->active_type was referring to xdnd->type, that could be freed
   already. Now it's a reference to that string.

 * strcmp() are now direct pointer comparison since strings are shared.

 * no more extra "types" allocated member, make it a variable array at
   the end of the structure.



SVN revision: 39564
2009-03-19 00:14:57 +00:00
Gustavo Sverzut Barbieri 375f695e8f constness
SVN revision: 39562
2009-03-18 23:39:03 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
ptomaine 2c4fae916f * Default theme: fix preview when dragging from list view.
* Add DND modifiers: Control for copy, Shift for move, Alt for ask. Default action is move. Config for these comes later.
* Add EDJE signals for theme to act on DND action change.
* Default theme: Show current DND action using overlay icons. Icons done by Tom 'Toma-' Haste, thank you very much.


SVN revision: 35772
2008-09-01 09:51:30 +00:00
Nicholas Hughart e177bb663f Patches from ptomaine.
* Fix for URI escpaing.
 * Add the ability for EFM to recognize different drop actions from other FMs.  The reverse soon to come :)
 * Add option to disable HAL device icons on the desktop.
 * Performing an operation on multiple files will now be done in a single slave process instead of many.

 More to come before and after GSOC :)  If you see him in the channel, give him a high five because he's finally helped pull EFM out of the crapper :P


SVN revision: 35432
2008-08-11 02:13:22 +00:00
Carsten Haitzler ec84855e6a use the shadowed window tree from ecore
SVN revision: 31977
2007-10-05 12:11:55 +00:00
Sebastian Dransfeld 322d9adcf3 DND for gadcon clients.
SVN revision: 27847
2007-01-07 16:32:57 +00:00
Sebastian Dransfeld aa3d55f744 Rename struct member.
SVN revision: 27752
2007-01-03 06:17:45 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld 79280bb9ec Function to move the drag before the drag begins.
SVN revision: 27644
2006-12-29 16:53:36 +00:00
Carsten Haitzler 8497432eca fix up dnd to handle stacked windows and move the burden of window offset
handling etc. to dnd not the objects that create dnd zones. they onyl need to
now worry about the dnd zone withint heir canvas/window/whatever


SVN revision: 25903
2006-09-17 06:12:48 +00:00
sebastid fe296600bb Xdnd files from fm to ibar works again.
SVN revision: 24540
2006-08-10 17:48:17 +00:00
technikolor 4ff58f81fc MIN def is ambiguous and not defined in this codebase. Defining it here just in case.
SVN revision: 18396
2005-11-09 10:58:09 +00:00
sebastid c08bdf97c6 Working on xdnd from E.
SVN revision: 17319
2005-10-08 13:10:20 +00:00
sebastid e85dd8ade4 Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd.
Declare variables.


SVN revision: 17276
2005-10-07 18:36:54 +00:00
sebastid 5bd5898014 Cleanup.
SVN revision: 17210
2005-10-05 19:35:13 +00:00
sebastid 93a3c07ea8 It's possible to add several types for one drop handler.
SVN revision: 17204
2005-10-05 17:56:35 +00:00
Carsten Haitzler a6ec307a80 minimise cpu hape use if shape hasnt changed
SVN revision: 15542
2005-06-27 10:08:53 +00:00
sebastid 2bbedbf606 The icon is now correctly positioned relative to the mouse.
SVN revision: 14785
2005-05-15 05:20:18 +00:00
sebastid 4697bedac1 Dnd update, shape works now.
SVN revision: 14714
2005-05-11 21:33:55 +00:00
sebastid aa1d7d26c3 Let the user decide the object for a drag.
SVN revision: 14702
2005-05-11 06:30:57 +00:00
sebastid 6fd2d5fe41 Dnd is relative to the background evas/modules, so feed a new drag
with container, not zone.


SVN revision: 14701
2005-05-10 22:05:02 +00:00
sebastid eb907d88ac Dnd update. Copy setup from popup.
SVN revision: 14699
2005-05-10 19:35:12 +00:00
sebastid 1914cac59c Update dnd event structs to match E style.
SVN revision: 14697
2005-05-10 18:15:16 +00:00
sebastid 1022489211 Cleanup.
SVN revision: 14598
2005-05-04 12:16:16 +00:00
sebastid 0e1a615b84 Dragging icons on the ibar should work. If an icon is dropped outside the
ibar it is removed (but only from the .order file).


SVN revision: 14597
2005-05-04 11:04:08 +00:00
sebastid 954a7a11f6 Icon dragging in the ibar.
SVN revision: 14579
2005-05-03 17:27:42 +00:00
sebastid 43b881b6ea Name changes.
Only parse the type of a drop handler at drag start.


SVN revision: 14532
2005-05-01 18:28:20 +00:00
sebastid aa09ce4166 Prepare for move callback.
SVN revision: 14530
2005-05-01 15:55:01 +00:00
sebastid 37480244b1 Drag is relative to container, not zone
SVN revision: 14528
2005-05-01 15:30:51 +00:00
sebastid 30594fa645 Framework for accepting Xdnd drop on the background.
SVN revision: 14494
2005-04-29 15:04:45 +00:00
sebastid 106618ca0a Hurra! Try dragging the icon from a border to the pager! (With the default
theme). A big thank you to raster who helped me through all this. The first
person who complains will be cursed.


SVN revision: 14377
2005-04-26 09:36:18 +00:00
sebastid bfb6d91905 Dragging icon from border to pager now works! But since the menu
doesn't work when dragging is enabled, dragging is disabled.
For those who want dragging just remove the #if


SVN revision: 14363
2005-04-25 20:56:52 +00:00
sebastid 42aae70082 DND work.
SVN revision: 14357
2005-04-25 18:02:26 +00:00
sebastid 15996823aa Cleanup
SVN revision: 14324
2005-04-24 16:04:20 +00:00
sebastid c43e391779 Some cleanup and beginning of internal dnd in E. You can drag the icon from
a window to the pager and get a nice message :)


SVN revision: 14314
2005-04-23 13:13:57 +00:00