[maemo-developers] HildonAnimationActor and button events
From: Cornelius Hald hald at icandy.deDate: Fri Oct 23 18:28:43 EEST 2009
- Previous message: HildonAnimationActor and button events
- Next message: Black border/background around GtkButton
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It turned out to be sooooo much easier without HildonAnimationActor. I was just totally on the wrong track regarding transparency, composition, clutter, and all. After spending one night with HildonRemoteTexture and one with HildonAnimationActor. I'm happy to say that to create a transparent overlay, you don't need them. Just create a new GtkWindow without decorations and use the code that Vlad sent earlier to get it transparent. Well, looks like I'm still a noob :) Thanks for all the help! Conny On Fri, 2009-10-23 at 13:52 +0200, Cornelius Hald wrote: > I think I now know how to do it. Probably I don't even need the > HildonAnimationActor. It should be possible only using cairo and argb > colormap. I'll give it a try later and report back. > > Cheers! > Conny > > > On Fri, 2009-10-23 at 13:12 +0200, Cornelius Hald wrote: > > Hi and thanks for you answer :) > > > > On Fri, 2009-10-23 at 13:01 +0200, Piñeiro wrote: > > > AFAIK, the real purpose of HildonAnimationActor is just what his name > > > indicates, a way to introduce animations on the hildon applications > > > with the help of the window manager, so in fact, it shouldn't be > > > required the feature you want. > > > > I could imagine many use cases where you want to click on something that > > is animated. For example a free floating UI element which you want to > > drag freely over the main window. Or which automatically moves away from > > the cursor, etc... > > > > > Why do you want to interact with this actor? What do you want to get? > > > > I've written a free floating semi transparent button which allows you to > > quit the fullscreen mode. It's supposed to behave exactly like in the > > browser. Of course I have no idea how they implemented it, but my > > implementation does work quite well already. > > > > The only problem is, that if you click this button, not only the > > fullscreen mode is toggled, but also the cursor is moved in the > > underlaying widget. > > > > Ideas how to implement that without the HildonAnimationActor are welcome > > of course. I tried two other ways of realizing this button, but both > > failed, so ATM the HildonAnimationActor is my best bet. > > > > Thanks! > > Conny > > > > > > > > _______________________________________________ > > maemo-developers mailing list > > maemo-developers at maemo.org > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers
- Previous message: HildonAnimationActor and button events
- Next message: Black border/background around GtkButton
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]