D future ...

Bauss via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 30 05:28:22 PST 2016


On Friday, 30 December 2016 at 13:26:15 UTC, Bauss wrote:
> On Friday, 30 December 2016 at 11:32:50 UTC, aberba wrote:
>> [...]
>
> Yeah it kinda follows classes right now already.
>
> It follows a little different concept, where it's based on 
> selectors and not classes.
>
> So you give your component selectors that it acts on. There are 
> of course default selectors on them such as their component 
> type, name, states etc.
>
> See:
> https://github.com/PoisonEngine/poison-ui/blob/master/src/ui/component.d#L297
>
> And:
> https://github.com/PoisonEngine/poison-ui/blob/master/src/ui/component.d#L376

And of course: 
https://github.com/PoisonEngine/poison-ui/blob/master/README.md#styling


More information about the Digitalmars-d mailing list