3 ms·
You had a running CSS engine within a day?
by nnethercote 9y ago
You had a running CSS engine within a day?
- tombert 9y agoYeah, a really crappy one that parsed a CSS file using Bison, and could change text colors, background colors, and position things based on pixels (no em or %). I never got around to implementing class support, but I did allow targeting an element via ID. I did this in C++ for some reason, and used Xerces to parse the XML, and I used Allegro to render everything. If I were to try and make this now, I probably would not use a rendering system designed for games, but I was naive back then. I'll have to look to see if I can find the old files on my NAS; if I can I'll put it on Github.
- tvararu 9y agoThese kind of high-level overviews of prototype implementations are very useful, thank you for sharing.