Commit Graph

33 Commits

Author SHA1 Message Date
Mike Blumenkrantz a08654f773 force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone

fix T4784
2016-11-07 11:38:34 -05:00
Mike Blumenkrantz 353ad6be11 move bryces to E_LAYER_DESKTOP_TOP when not above windows
moderately sure this won't conflict with anything important...

fix T4819
2016-11-03 12:54:53 -04:00
Mike Blumenkrantz 33740ca306 return correct values from bryce post event callbacks
I referenced elm scrollable for this when writing it. past me was a moron
for using reference code instead of reading the underlying implementation.

fixes scrolling
2016-11-03 11:45:35 -04:00
Mike Blumenkrantz 4d86c98ce7 do not return early from _bryce_position()
this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
2016-11-01 13:56:08 -04:00
Mike Blumenkrantz 6e39997ad1 add smart callback for when gadgets get reparented
this can be useful for gadgets which (inexplicably) need to set min size hints
2016-11-01 13:29:45 -04:00
Mike Blumenkrantz 5d2028a300 do not modify bryce zone/name during startup
this breaks bryce init by moving all bryces to zone 0

fix T4784
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz 349fc5e910 avoid potential divide by zero during bryce startup 2016-10-31 12:34:29 -04:00
Mike Blumenkrantz bf1075ff4b clamp bryce position to its parent zone
fixes case where large bryces could overflow their zones

ref T4784
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz f8ddfd3245 fix use after free when renaming a bryce
fix T4784
2016-10-29 11:36:48 -04:00
Mike Blumenkrantz 87515abd2a force recalc on bryce scroller when doing recalc on gadget site
should have no functional change
2016-10-26 11:33:12 -04:00
Mike Blumenkrantz 41f5a3e1fd loop bryce autosize recalc when gadget site has not yet calculated its size
fixes moving of autosizing bryces
2016-10-20 12:12:27 -04:00
Mike Blumenkrantz fb94f1e069 rename bryces when changing anchors 2016-10-20 12:11:39 -04:00
Mike Blumenkrantz 2c4316633b avoid extra recalc when resizing a bryce on its oriented axis 2016-10-19 11:38:04 -04:00
Mike Blumenkrantz 39d561c8b4 fix bryce upgrade path from 0 -> 2 re:naming 2016-10-18 10:59:04 -04:00
Mike Blumenkrantz 7a06a6b661 trigger bryce menus from right click if event has not been consumed 2016-10-17 12:44:32 -04:00
Mike Blumenkrantz b9afecde41 remove unused attribute from used param 2016-10-17 12:44:08 -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 ae628b214b force bryce visibility during editor activity
ref T4732
2016-10-17 11:25:43 -04:00
Mike Blumenkrantz dece6a5514 also do full bryce rename when moving between zones 2016-10-14 08:10:43 -04:00
Mike Blumenkrantz b86efbe301 further improve bryce portability across zones
also fix typo from yesterday which broke everything and was definitely not
noticed by anyone
2016-10-14 08:03:43 -04:00
Mike Blumenkrantz afa358fa9e add zone number to bryce names
fixes usage of bryces in identical setups on different zones
2016-10-13 11:27:40 -04:00
Mike Blumenkrantz d5ada5c1d5 fix bryce check for shelf existence on orientation/anchor to break when expected
restores missing anchor points when adding/moving bryces
2016-10-13 11:27:40 -04:00
Mike Blumenkrantz a9bab812ec enforce bryce resizing when orientation changes
screens are not square, so this would never have worked
2016-10-13 11:20:21 -04:00
Mike Blumenkrantz 509443af55 do not update bryce layer when restacking to a higher layer than CLIENT_ABOVE 2016-09-20 12:46:48 -04:00
Mike Blumenkrantz 9313121e79 clamp bryces to a lower canvas layer
note to self: if you remember why you had these at POPUP, annotate the reason
here...
2016-09-19 09:54:21 -04:00
Mike Blumenkrantz e662138af4 track current bryce geom, force recalc on gadget site upon change
elm scroller is very resistant to recalc, so it's necessary to trigger it
manually by resizing the scroller's contents

fix T4339
2016-08-19 12:15:31 -04:00
Carsten Haitzler 59e2eb40f8 warnings - silence some theoreitcal wranings in build
a bunch of "potentially uninitialized variable" warnings fixed.
2016-05-15 23:14:15 +09:00
Mike Blumenkrantz 5494ddd424 enforce bryce zone setting and clip setting
resolves issues where non-primary screens would have differing behaviors
2016-03-14 14:27:15 -04:00
Mike Blumenkrantz 15a918d3c7 during bryce moveresize callback, return if no zone could be located
probably some crazy animation going on, ignore this case

CID 1352828
2016-03-10 11:59:58 -05:00
Mike Blumenkrantz 69fe80959b manually calc bryce center-screen coords
e_comp_object_util_center_pos_get() uses zone useful geometry
2016-03-08 13:00:43 -05:00
Mike Blumenkrantz b3cda14e1b add bryce autohide/size getters, pull related values into wizard 2016-03-08 12:43:35 -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 6e032ce35d add bryces: new shelf replacement
see e_bryce.h
2016-03-04 14:23:44 -05:00