[maemo-developers] overlaid buttons
From: kyle cronan kyle at pbx.orgDate: Sun Dec 13 12:29:08 EET 2009
- Previous message: overlaid buttons
- Next message: Fwd: Free Thursday, 2009-12-10, 18:00, *Teerenpeli, Kamppi*
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Dec 11, 2009 at 3:28 AM, Cornelius Hald <hald at icandy.de> wrote: > On Tue, 2009-12-08 at 23:58 +0200, Marius Gedminas wrote: >> There's a package called hildon-extras that implements this kind of >> widget. It's called HeFullscreenButton, IIRC. > > Yes, the code can be found here: > https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/hildon-extras/hildon-extras/he-fullscreen-button.c?revision=6&root=hildon-extras&view=markup > > What you do is, you basically create a new window without decorations > and with transparent background. On that window you draw using Cairo. So > you're not using standard widgets but you paint everything by your self. > > The code I linked is a specific implementation for a button which will > let you leave fullscreen mode easily. It's not a generic overlay widget. > It would be nice to have such a widget in hildon-extras, so if you're > writing one, please let me know. > > Cheers! > Conny > I'm not really familiar with Gobject, so I haven't made a new wiget. But it was very helpful to have that code! My application doesn't use full screen, so I just modified it so that the overlay shows up all the time. I had to adjust the positioning and that was about it. Thanks! Kyle
- Previous message: overlaid buttons
- Next message: Fwd: Free Thursday, 2009-12-10, 18:00, *Teerenpeli, Kamppi*
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]