Hi Duncan,
Peter Gavin wrote:
> Fri Jun 20 06:22:55 EDT 2008 Duncan Coutts <[EMAIL PROTECTED]>
> * Add transparency support to the clock demo
>
> hunk ./demo/cairo/Clock.hs 293
> --- on_alpha_screen_changed (pWindow, NULL, NULL);
> + let setAlpha widget = do
> + screen <- widgetGetScreen widget
^^^^^^^^^^^^^^^
I think this function is missing.
> + colormap <- screenGetRGBAColormap screen
> + maybe (return ()) (widgetSetColormap widget) colormap
^^^^^^^^^^^^^^^^^
As is this one.
It looks like you probably have changes in Widget.chs.pp that didn't get
recorded :)
Pete
> + setAlpha window --TODO: also call setAlpha on alpha screen change
> hunk ./demo/cairo/Clock.hs 377
> - setSourceRGB 1 1 1
> + save
> + setOperator OperatorSource
> + setSourceRGBA 0 0 0 0
> hunk ./demo/cairo/Clock.hs 381
> + restore
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gtk2hs-commit mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-commit
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel