[Lcdproc] Separate icon area: interface for drivers?

Anders aeriksson2 at gmail.com
Sat Nov 5 13:17:44 UTC 2011


On 11/03/11 02:38, Stefan Herdler wrote:
> And if anyone has a better idea how to indicate highlighting let it us know.
>
>
Instead of a single int for each icon, use an array, or a set of
properties. That way each icon can have any number of attributes. I
could easily see (On/off, Strength, highlighted) etc.  Futhermore, what
if an icon is e.g. a square where you can on/off each of the top,
bottom, left, right sides individually? If the interface was an array,
that functionality could easily be exposed to the application.

It seem a bit short sighted to fold everything iconish into a one
dimensional abstraction. Why don't we allow the applications to query
the caps of the icons and act on those caps? The list of caps could
expand as needed over time, and the same query, get, set protocol could
be used forever.

-A


More information about the LCDproc mailing list