Mike Blumenkrantz
d3e4caa57d
if gadget wizard returns a zero id, remove gadget from site and destroy
2017-06-30 15:23:08 -04:00
Mike Blumenkrantz
1abdbe81b5
reset demo gadget id before deleting gadget object during drop operation
...
ensure that the gadget is marked as usable so that the config isn't deleted
2017-02-03 10:47:34 -05:00
Mike Blumenkrantz
1644a7ec0a
ensure that gadget internal del callbacks are handled before other callbacks
2017-02-03 10:41:04 -05:00
Mike Blumenkrantz
5ab0d5be88
free configs for demo gadgets on object free
...
these are purely for demo purposes and should never be retained
I think this is right...
2017-02-03 10:40:05 -05:00
Stephen 'Okra' Houston
79342184b9
Enlightenment: Make gadget editor popup scrollable:
...
This fixes T5077
2017-02-03 10:38:58 -05:00
Mike Blumenkrantz
1e85ec4174
prevent divide by zero when calculating gadget aspect sizing
2016-11-28 10:59:48 -05:00
Mike Blumenkrantz
ad1b8f224f
force gadget site recalc from style object if gadget's hints change
...
ensure that these intermediate objects trigger recalcs as expected
fix T4809
2016-11-18 11:40:42 -05:00
Mike Blumenkrantz
ef2112c7db
feed mouse-up when dropping a gadget site before enabling events on the site
...
prevents unintentional activation of gadget actions during moves
2016-11-18 11:36:58 -05:00
Mike Blumenkrantz
1205dff03c
attempt to recalc gadgets which overflow their container
2016-11-18 11:33:49 -05:00
Mike Blumenkrantz
8bd05d204c
allow scaling gadgets using wheel events during initial placement
2016-11-18 11:33:37 -05:00
Mike Blumenkrantz
be19203607
attempt to handle non-orient gadget resizes based on anchor corners
2016-11-18 11:33:31 -05:00
Mike Blumenkrantz
424c50077c
center desktop gadget editor popups upon the zone they have activated
2016-11-18 11:33:18 -05:00
Mike Blumenkrantz
4bec06d4ac
calc new gadget size based on ratio of size:target site size
...
no use case for this yet...
2016-11-18 11:28:39 -05:00
Mike Blumenkrantz
911555d932
copy gadget position from pointer gadget -> drop gadget when executing drop
...
fixes desync which would cause gadgets to move offscreen
2016-11-18 11:28:34 -05:00
Mike Blumenkrantz
e258defd57
force gadget site recalc on gadget object creation to ensure sizing
...
fixes initial sizing for no-orient gadget sites
2016-11-18 11:28:31 -05:00
Mike Blumenkrantz
3af4bf4db2
handle no-orient gadget visibility based on site->events visibility
2016-11-18 11:28:22 -05:00
Mike Blumenkrantz
60fedb8613
add workarounds for ctxpopup geometry for use in input shape tiling
...
ref T4687
2016-11-18 11:28:08 -05:00
Mike Blumenkrantz
0dfc809b83
add gadget site sizing workaround to avoid elm box sizing desync
...
ref T4747
fix T4732
2016-11-18 11:25:40 -05:00
Mike Blumenkrantz
1dd82a4cc7
set ON_HOLD flag more accurately when activating gadget actions
...
fixes handling of actions which have same binding as gadget site's container bindings
2016-11-18 11:25:25 -05:00
Mike Blumenkrantz
ef4cc47e11
handle gadget_popup smart callback on gadget's display object
...
fixes case where this signal was not accurately propagated
ref T4732
2016-11-18 11:24:24 -05:00
Mike Blumenkrantz
21c8af0c34
call gadget_popup smart callback when configuring gadgets
...
ensure visibility changes are received by containers
ref T4732
2016-11-18 11:24:10 -05:00
Mike Blumenkrantz
efdeef7cc5
add gadget_site_(un)locked smart callbacks for forcing gadget site visibility
...
useful for cases where the gadget site has no popups to manage but visibility must
be maintained
ref T4732
2016-11-18 11:24:06 -05:00
Mike Blumenkrantz
ef57cd1559
add EINTERN function for renaming gadget sites
2016-11-18 11:21:10 -05:00
Carsten Haitzler
8e16b5bcfc
explicitly use eina list types passing into EINA_LIST_FREE()
2016-10-04 09:37:17 -04:00
Mike Blumenkrantz
a2e870870d
clamp gadget util ctxpopups to E_LAYER_POPUP at the lowest
...
avoid having these be obscured by windows when the gadget is on a lower layer
2016-10-04 09:37:17 -04:00
Mike Blumenkrantz
ed3d1e70f2
force shape queue when gadget util ctxpopups change visibility
...
fixes some input region issues in x11
2016-10-04 09:37:16 -04:00
Mike Blumenkrantz
a4a5b462f1
remove extraneous recalc trigger when deleting a gadget
...
CID 1362898
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
88f9f23ef1
always delete gadget's display object and ensure gadget object is null
...
fixes some object errors during container deletion
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
1f12bdf6b9
always use largest available size for free-oriented gadgets
...
ensure that gadgets don't unexpectedly clamp to minimum size
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
520927f7e0
add backspace/delete for clearing all lockscreen gadgets
...
this was turning into a total wasteland
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
552d0550d3
check visibility of gadget site 'events' member to determine drop availability
...
the layout object of a gadget site does not need to be visible since it may be
used for desktop gadgets or a transparent overlay
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
33a396e74d
adjust gadget drop coords for pointer offset
...
gadgets are centered on the pointer when moved, so the drop coord needs to
then be uncentered to avoid unintended movement
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
5211b4637a
attempt to retain gadget size when executing move operations
2016-10-04 09:37:15 -04:00
Mike Blumenkrantz
69afd70c82
force smart calc on gadget sites at key points during move operations
...
ensure that gadget info and visuals match up
2016-10-04 09:37:14 -04:00
Mike Blumenkrantz
ef5ba9f35e
add separate codepath for handling layout of moving gadgets
...
these get sized and positioned in a passthrough manner, so avoid doing any calc
2016-10-04 09:37:14 -04:00
Mike Blumenkrantz
30b07c6558
set gadget added flag any time a gadget is created or wizarded
...
ensure that desktop gadget editor doesn't exit when attempting to add
subsequent gadgets
2016-10-04 09:37:14 -04:00
Mike Blumenkrantz
9025732d39
do not attempt to populate gadgets during type_add if site has not yet been populated
...
mostly just fixes some ERRs on init
2016-10-04 09:37:14 -04:00
Mike Blumenkrantz
77602a5853
ensure string termination when using strncpy
...
CID 1352823
2016-03-10 11:11:57 -05:00
Mike Blumenkrantz
82a4dbda8d
enforce accurate resizing/orienting when changing the location of a bryce
2016-03-08 12:31:10 -05:00
Mike Blumenkrantz
c139796082
delete gadget display object during object deletion
...
fixes crashing when unloading modules with active gadgets
2016-03-04 17:29:15 -05:00
Mike Blumenkrantz
d26c49b3ce
add new gadget system
...
see e_gadget.h
2016-03-04 14:23:44 -05:00
rephorm
b8ef0f8089
Nuke old unused gadget code.
...
SVN revision: 24781
2006-08-16 01:09:34 +00:00
Carsten Haitzler
3a2144cad0
nice little overhaul of module related stuff. moduels now finally RELY on
...
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.
SVN revision: 23045
2006-06-01 06:44:37 +00:00
e-taro
0e28ec541a
- free the list elements as well as the list itself
...
- free the "change" too
SVN revision: 20753
2006-02-23 14:22:31 +00:00
Christopher Michael
8d97a8e0ce
Typo, oops.
...
SVN revision: 20644
2006-02-20 19:30:58 +00:00
Christopher Michael
7a77773847
Nicer menus...shhh ! :)
...
SVN revision: 20643
2006-02-20 19:24:47 +00:00
rephorm
5f1f5d4d1e
add Configuration item to face menu (if the module defines e_modapi_config)
...
SVN revision: 20038
2006-01-26 05:56:34 +00:00
rephorm
eebec166ca
Remove module menu from gadget code since it is no longer used.
...
Include face count to ease matching config data to a face.
SVN revision: 20036
2006-01-26 05:17:51 +00:00
rephorm
fb883ef939
commit some Todo for e_gadget that i forgot to commit weeks ago
...
SVN revision: 19728
2006-01-12 01:18:16 +00:00
sebastid
6a638a7806
Fix EAPI warnings.
...
SVN revision: 19597
2006-01-07 10:39:46 +00:00