Re: Separate icon area: interface for drivers?

Anders <[email protected]>
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.