Mike Blumenkrantz
c3a01ba16c
attempt to recalc gadgets which overflow their container
2016-10-31 13:07:21 -04:00
Mike Blumenkrantz
3d1334e883
delete current dragging gadget during edit if escape is pressed
2016-10-31 13:07:03 -04:00
Mike Blumenkrantz
b0831d5f0d
allow scaling gadgets using wheel events during initial placement
2016-10-31 13:06:18 -04:00
Mike Blumenkrantz
1f9801f922
attempt to handle non-orient gadget resizes based on anchor corners
2016-10-31 13:05:44 -04:00
Mike Blumenkrantz
b9d59616e9
track desktop gadgets based on their zones
...
ensure positioning is accurate with multiple displays
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz
35df03a596
center desktop gadget editor popups upon the zone they have activated
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz
a9d0a27ea3
add generic handler for desktop gadget layers
...
...and a menu item for triggering basic editing
2016-10-26 13:59:29 -04:00
Mike Blumenkrantz
6c16988adc
calc new gadget size based on ratio of size:target site size
...
no use case for this yet...
2016-10-26 13:58:15 -04:00
Mike Blumenkrantz
edee519304
copy gadget position from pointer gadget -> drop gadget when executing drop
...
fixes desync which would cause gadgets to move offscreen
2016-10-26 13:57:07 -04:00
Mike Blumenkrantz
0b40aade50
force gadget site recalc on gadget object creation to ensure sizing
...
fixes initial sizing for no-orient gadget sites
2016-10-26 13:55:45 -04:00
Mike Blumenkrantz
ef2cb47daf
handle no-orient gadget visibility based on site->events visibility
2016-10-26 13:54:25 -04:00
Mike Blumenkrantz
3e6f2f1fa7
add workarounds for ctxpopup geometry for use in input shape tiling
...
ref T4687
2016-10-26 10:28:30 -04:00
Mike Blumenkrantz
8bf7999c31
add gadget site sizing workaround to avoid elm box sizing desync
...
ref T4747
fix T4732
2016-10-19 11:38:34 -04:00
Mike Blumenkrantz
e690d70512
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-10-19 11:13:32 -04:00
Mike Blumenkrantz
79b24ea884
handle gadget_popup smart callback on gadget's display object
...
fixes case where this signal was not accurately propagated
ref T4732
2016-10-17 11:57:05 -04:00
Mike Blumenkrantz
d5847e8ca6
call gadget_popup smart callback when configuring gadgets
...
ensure visibility changes are received by containers
ref T4732
2016-10-17 11:56:32 -04:00
Mike Blumenkrantz
d0e21c912a
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-10-17 11:55:23 -04:00
Mike Blumenkrantz
baa7e85e61
add EINTERN function for renaming gadget sites
2016-10-13 11:27:12 -04:00
Carsten Haitzler
1afddc3b5e
explicitly use eina list types passing into EINA_LIST_FREE()
2016-10-03 11:55:55 +09:00
Mike Blumenkrantz
2642e8c95a
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-02 09:35:40 -04:00
Mike Blumenkrantz
b47b3cd75f
force shape queue when gadget util ctxpopups change visibility
...
fixes some input region issues in x11
2016-09-30 12:59:10 -04:00
Mike Blumenkrantz
0074c1ca27
remove extraneous recalc trigger when deleting a gadget
...
CID 1362898
2016-09-21 07:12:49 -04:00
Mike Blumenkrantz
f700a57baf
clean up gadget drop handlers correctly
...
use drop_handler_del when deleting gadget drop handlers, also delete spacer rects
2016-09-20 12:46:46 -04:00
Mike Blumenkrantz
17909e4fb5
always delete gadget's display object and ensure gadget object is null
...
fixes some object errors during container deletion
2016-09-20 11:20:22 -04:00
Mike Blumenkrantz
d1953c2205
always use largest available size for free-oriented gadgets
...
ensure that gadgets don't unexpectedly clamp to minimum size
2016-09-19 15:50:55 -04:00
Mike Blumenkrantz
9439228816
add backspace/delete for clearing all lockscreen gadgets
...
this was turning into a total wasteland
2016-09-19 15:18:06 -04:00
Mike Blumenkrantz
682dd5f835
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-09-19 15:04:47 -04:00
Mike Blumenkrantz
b5701bdb1b
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-09-19 14:55:53 -04:00
Mike Blumenkrantz
d4450d8eb6
attempt to retain gadget size when executing move operations
2016-09-19 14:55:28 -04:00
Mike Blumenkrantz
8923415f8b
force smart calc on gadget sites at key points during move operations
...
ensure that gadget info and visuals match up
2016-09-19 14:54:35 -04:00
Mike Blumenkrantz
4dd99ed669
add separate codepath for handling layout of moving gadgets
...
these get sized and positioned in a passthrough manner, so avoid doing any calc
2016-09-19 14:53:20 -04:00
Mike Blumenkrantz
42056009a5
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-09-19 14:32:20 -04:00
Mike Blumenkrantz
ca7bc28286
set the spacer rect as the drop handler base when creating gadget drop handlers
...
this provides layering info to dnd internals
2016-09-15 14:48:28 -04:00
Mike Blumenkrantz
0a9b8889e0
do not attempt to populate gadgets during type_add if site has not yet been populated
...
mostly just fixes some ERRs on init
2016-09-08 10:29:22 -04:00
Mike Blumenkrantz
5da62d9adf
add drop handlers for gadgets
...
a simple wrapper around existing e_dnd functionality
2016-09-06 11:12:31 -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
Christopher Michael
8f83193d0d
Remove unused variables, Add E_GADMAN_CHANGE_EDGE & E_GADMAN_CHANGE_ZONE to e_gadget_face_cb_gmc_change; both to quiet compiler warnings.
...
SVN revision: 19366
2005-12-29 13:50:50 +00:00
rephorm
c597c6585c
Allow gadgets to either be 1 per container (default) or 1 per zone (like the pager).
...
SVN revision: 19120
2005-12-18 21:06:37 +00:00