simple display (from: GUI library for D)

Nick Sabalausky a at a.a
Sat Apr 9 13:02:10 PDT 2011


"Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message 
news:mailman.3303.1302360951.4748.digitalmars-d at puremagic.com...
> On 4/9/11, spir <denis.spir at gmail.com> wrote:
>> I prefere structs to tuples /everywhere/. They have 2 big advantages:
>> * explicite: color.red versus color[0]
>
> But Tuples _are_ structs. And you _can_ use explicit names:
>
> http://codepad.org/0ZWAtcL1

struct gives you more control over internal mechanics, which is important 
for something as low-level as a representation of a pixel.




More information about the Digitalmars-d mailing list