lp:~dylanmccall/notify-osd/position-hints

Created by Dylan McCall on 2009-02-23 and last modified on 2009-03-03

Adding support for X and Y hints on notifications, and related animations

Get this branch:
bzr branch lp:~dylanmccall/notify-osd/position-hints
Only Dylan McCall can upload to this branch. If you are Dylan McCall please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dylan McCall
Project:
Notify OSD
Status:
Development

Recent revisions

200. By Dylan McCall <dmccall@dylan-laptop> on 2009-03-03

merging changes from trunk

199. By Dylan McCall <dmccall@dylan-laptop> on 2009-03-03

Reverting the arrows from bubble.c to restore my sanity. Back to square
one :)

198. By Dylan McCall <dmccall@dylan-laptop> on 2009-03-03

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> on 2009-02-24

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.

196. By Dylan McCall <dmccall@dylan-laptop> on 2009-02-24
195. By Dylan McCall <dmccall@dylan-laptop> on 2009-02-23

bubble.h:
Removed leftover function...

bubble.c:
Changed gint attach in _BubblePrivate to a gboolean.

194. By Dylan McCall <dmccall@dylan-laptop> on 2009-02-23

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_attached

bubble.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

193. By Mirco Müller on 2009-02-20

set bubble-bg opacity to .9 instead of .8 as requested by design-team

192. By Mirco Müller on 2009-02-20

don't include resource-files of IDE/anjuta in repository

191. By Mirco Müller on 2009-02-19

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)
This branch contains Public information 
Everyone can see this information.

Subscribers