[Y-devel] shapes? (fwd)

Mark Thomas mark at www.y-windows.org
Wed Feb 25 22:56:39 GMT 2004


>> I realised today that the patch I merged for the theme interface isn't
>> quite what I want.  The visitor-pattern-style call to "themeDrawWidget" is
>> hard to expose to clients in a way that they can draw them themselves.

I think you misunderstood me.

What I mean is:  I want clients to be able to draw a thing that looks 
like a theme part.  For example, if a client wants a 3D-button like 
section, they should be able to call:

   canvas -> drawButton (x, y, w, h, "Button Label Text");

and get something that looks like a button.  I don't want them to have 
to create a server side button, as that's not what this API is about.

I'm going to adjust your patch to how I wanted it to be when I get a 
chance.  You should be able to see what I meant then.

Regards,

   Mark.
-- 
|| Mark Thomas
|| www.y-windows.org
||
||



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved