Re: [LAD] pixmap based knob widgets and theme integration.

From: Patrick Shirkey <pshirkey@email-addr-hidden>
Date: Tue Sep 28 2010 - 16:50:52 EEST

On Tue, September 28, 2010 6:31 am, Paul Davis wrote:
> On Tue, Sep 28, 2010 at 7:00 AM, Olivier Guilyardi <list@email-addr-hidden>
> wrote:
>
>> I'm not a gtk engine wizard, but the problem is still here IIUC.
>
> Most custom widgets for GTK suffer from this problem. Its not a new
> thing. The GTK docs and even the GTK "team" have never really
> advocated that all widgets should draw themselves with gdk_draw_*(),
> at least not to an extent that has resulted in this being the case.
> The problem is that there really is a conflict here:
>
> On the one hand:
>
> 1) the desire for a generic, powerful graphics language/API to
> draw widgets with (e.g. Cairo)
>
> and on the other
>
> 2) the desire to push all widget drawing through a themeable
> layer which necessarily reduces the complexity of the graphics API
> (e.g. gdk_draw_*())
>
> I don't think that these can be reconciled.
>

I have to agree. The latter is for quick generic ui development and the
former is for those who are more technically inclined or have a
specific/unique concept they are tasked with presenting.

IMO a better generic widget to save space and allow for knob like
interaction would be a vertical/horizontal wheel. Something like a mouse
wheel would work. It would also be much easier to draw and would scale
well too.

-- 
Patrick Shirkey
Boost Hardware Ltd.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Sep 28 20:15:03 2010

This archive was generated by hypermail 2.1.8 : Tue Sep 28 2010 - 20:15:04 EEST