lp:~dylanmccall/notify-osd/position-hints
Adding support for X and Y hints on notifications, and related animations
- Get this branch:
- bzr branch lp:~dylanmccall/notify-osd/position-hints
Branch merges
Related bugs
Bug #333517: support X and Y hints for notifications | Wishlist | Confirmed |
Related blueprints
Branch information
Recent revisions
- 199. By Dylan McCall <dmccall@dylan-laptop>
-
Reverting the arrows from bubble.c to restore my sanity. Back to square
one :) - 198. By Dylan McCall <dmccall@dylan-laptop>
-
Arrows pointing at attachment coordinates from wherever the bubble is
are almost functional here. I'm abandoning this idea since I don't think
it'll work very well, but if anyone feels like it, here is the code :/ - 197. By Dylan McCall <dmccall@dylan-laptop>
-
Added custom sliding animation blended with bubble fade out code. Bubble slides towards an attachment coordinate, if one is set.
bubble_slide_to is now unused again.
fade_cb now gets the time between last callback in milliseconds, permitting smoother, more controlled animations.
- 195. By Dylan McCall <dmccall@dylan-laptop>
-
bubble.h:
Removed leftover function...bubble.c:
Changed gint attach in _BubblePrivate to a gboolean. - 194. By Dylan McCall <dmccall@dylan-laptop>
-
X and Y hints can now be set, and are stored in the _BubblePrivate
instance for a bubble. Basic animations exist for this, via the existing
bubble_slide_to command.stack.c:
(462) Responds to "x" and "y" hints. Calls bubble_set_attached
with extracted gints for x and y position.bubble.h:
Defined bubble_set_attached and bubble_is_attachedbubble.c:
Added function bubble_set_attached. Takes three arguments:
attach specifies whether the bubble should be attached (this way it can
be detached from set coordinates if necessary), and x and y positions
to be attached to.
Added bubble_is_attached. Returns TRUE if bubble is attached to
coordinates.
Added attach_ attach_x and attach_y to _BubblePrivate
Hacked bubble_fade_out to have an example animation for attaching, in
this case by calling bubble_slide_to - 191. By Mirco Müller
-
Sigh, after even more discussion revert the path change from the previous commit
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)