[Y-devel] shapes?
Chris Amshey ychris at amshey.net
Tue Feb 24 23:14:30 GMT 2004
On Tue, Feb 24, 2004 at 10:14:01PM +0000, Mark Thomas wrote:
> 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'm thinking of a staged interface, i.e. for buttons:
>
I'm not sure I understand why clients need direct access to theme painting
methods... surely the standard behaviour is for a client to call the
widget's own method, e.g., 'paintButton', and any more 'direct' drawing
methods can be exposed by canvas rather than theme?
--Chris
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved