[lazarus] GTK team: please specify!
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Nov 3 17:55:35 EST 2003
On Mon, 03 Nov 2003 23:40:18 +0100
Marc Weustink <marc at dommelstein.net> wrote:
> > > >Where does that leave us?
I have implemented the new interface function GetDesignerDC. The designer
now uses this to draw the Grabbers, Guide Lines, Non Visual Component Icons
and the Rubberband. This means the designer now paints these items only once
and on top. It does not accelerate much, because the designer used clipping.
But at least there is now no control left, that hides the icons.
Now we have to implement the new coord function for the win32 and the gtk
interface and then it should work under both. The function should return the
origin of a DC relative to the screen or the form. At the moment under gtk
this is GetWindowOrgEx. But as Micha pointed out, this is wrong and need to
be fixed.
> > > >OTOH, it is possible to create transparent window in the win32
> > > >interface.
> > > >
> > > >Is it too in gtk?
> > >
> > > GDK can it. gdk_window_shape_combine_mask and co
> >
> >It depends how you define "Transparency".
>
> Ehm, I didn't try it, but I assumed something like you define some areas
> of a window wich are visible and the other part you dont see. Something
> like Xeyes.
> From your reply I guess we're talking about transparent black or
> something ?
One definition for Transparent windows is that you can see through. For
example, that you can see the window below or ("less" transparent) the
desktop background. Others even want alpha. All three options need the help
of the WM. AFAIK gtk1's transparency is quite limited. gtk2 supports much
more. But afaik it still needs an advanced WM.
Mattias
More information about the Lazarus
mailing list