syndicate-rkt/syndicate-examples/gui/README.md

23 lines
667 B
Markdown
Raw Permalink Normal View History

2018-05-04 15:57:22 +00:00
# Simple GUI experiments using Syndicate
This directory contains UI experiments using
[Syndicate](http://syndicate-lang.org/) and its OpenGL 2D support.
Files:
- `gui.rkt`: Main entry point. Run `racket gui.rkt` to run the demo.
- `layout/`: A simple widget layout engine, loosely inspired by TeX's boxes-and-glue model.
- `sizing.rkt`: TeX-like "dimensions", including "fills"
- `layout.rkt`: Uses "dimensions" to specify "table layouts",
which are then realized in terms of specified rectangle
coordinates
- `hsv.rkt`: Utility for converting HSV colors to RGB.
Screenshot:
![Syndicate GUI screenshot](syndicate-gui-snapshot.png)