Re: Common OSD widget?
- From: Bastien Nocera <hadess hadess net>
- To: Philip Withnall <philip tecnocode co uk>
- Cc: gtk-devel-list gnome org
- Subject: Re: Common OSD widget?
- Date: Fri, 01 Jun 2007 16:35:53 +0100
On Fri, 2007-06-01 at 15:43 +0100, Philip Withnall wrote:
> Hi,
>
> I'm looking at the possibility of adding an OSD to Totem
> (http://bugzilla.gnome.org/show_bug.cgi?id=442925), similar to the one
> now in gnome-control-center/gnome-settings-daemon for display when the
> mixer volume's changed
> (http://bugzilla.gnome.org/show_bug.cgi?id=383066). There's also a bug
> for getting one in gnome-power-manager
> (http://bugzilla.gnome.org/show_bug.cgi?id=400844), which makes me
> wonder if it might just be better to write a common widget and put it
> somewhere like libegg (and eventually GTK?). There's already a
> GtkWindow-derived object for it in gnome-settings-daemon
> (http://svn.gnome.org/viewcvs/gnome-control-center/trunk/gnome-settings-daemon/gsd-media-keys-window.c?view=markup), so that could probably be used as a base. However, it would be better to use themed icons, rather than drawing a picture on screen manually using Cairo, as the code does at the moment.
>
> I just want to know what people's thoughts are on this, and if they're
> positive, what I should do to go about getting it working.
It would probably be a good idea to make this easier to achieve, but I
don't think we'd get that many applications actually sharing that code.
Only gnome-power-manager and gnome-settings-daemon would use similar
middle of the screen popups.
Most media/movie players would have different needs as far as those sort
of popups are concerned, eg. you can expect Totem to show keys pressed,
as a visual feedback, whereas Rhythmbox would only show visual effects
and fade artist information in and out in fullscreen mode.
Trying to share too much here is probably an optimisation too early.
--
Bastien Nocera <hadess hadess net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]