Re: Cassowary.d

2014-08-07 Thread ketmar via Digitalmars-d-announce
a small update for parser: it is now possible to parse so-called "scripts" (only from 'string' type for now). sample script can look like this one, which centers two buttons inside the panel, keepeng equal button sizes: ===[cutline]=== var(stay) panel.left = 0, panel.top = 0, panel.width

Re: Cassowary.d

2014-07-28 Thread Yuriy via Digitalmars-d-announce
so it's not a completely trashcan work. ;-) No way it could be! We don't like monopoly here, right? =) I just ported the library for my own fun, and added a couple of D-ish features, like operator overloads, etc. It's not claimed to be the best one in the world =). Please feel free to continue

Re: Cassowary.d

2014-07-27 Thread Kagamin via Digitalmars-d-announce
On Sunday, 27 July 2014 at 12:01:47 UTC, Yuriy wrote: On Sunday, 27 July 2014 at 11:44:35 UTC, ketmar wrote: preliminary, but working port of Cassowary Solver — GUI-oriented constraint solver, toolkit-agnostic layout engine. it's not D-spirited yet, but it works. todo list includes templated c

Re: Cassowary.d

2014-07-27 Thread ketmar via Digitalmars-d-announce
On Sun, 27 Jul 2014 15:16:07 +0300 ketmar via Digitalmars-d-announce wrote: heh. but i have a nice text parser! so it's not a completely trashcan work. ;-) signature.asc Description: PGP signature

Re: Cassowary.d

2014-07-27 Thread ketmar via Digitalmars-d-announce
On Sun, 27 Jul 2014 12:01:45 + Yuriy via Digitalmars-d-announce wrote: > +1 > http://code.dlang.org/packages/cassowary-d damn it! my google-fu sux again. i did search and found nothing, so made a port. feel so stupid now... signature.asc Description: PGP signature

Re: Cassowary.d

2014-07-27 Thread Yuriy via Digitalmars-d-announce
On Sunday, 27 July 2014 at 11:44:35 UTC, ketmar wrote: preliminary, but working port of Cassowary Solver — GUI-oriented constraint solver, toolkit-agnostic layout engine. it's not D-spirited yet, but it works. todo list includes templated classes and bindings for gtk.d. feel free to fork and i