Re: force redraw on another redraw (was: pixmaps and xpm-transparency)



hintze_gtk siemens md st schule de writes: 
> so i should try gtk_widget_shape_combine_mask () to prevent the lower
> widget exposure influencing the upper one...

Maybe, it could work...

> how can i combine two masks? how can i invert one?
> i just can't find methods for that at
> http://developer.gnome.org/doc/API/gtk/index.html
>

There aren't methods for it. Combination is a simple gdk_draw_pixmap()
of one bitmap mask onto another. Inversion would be drawing a
rectangle on one bitmap using the other bitmap as clip mask.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]