Racket implementation of Dataspaces and Syndicate.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
syndicate-rkt/syndicate-examples/gui
Tony Garnock-Jones 2a360bff32 Adjust copyrights 2 years ago
..
layout Adjust copyrights 2 years ago
README.md Rearrange for independent packages. 3 years ago
gui.rkt Adjust copyrights 2 years ago
hsv.rkt Adjust copyrights 2 years ago
oakura-beach-20081225.jpg Rearrange for independent packages. 3 years ago
syndicate-gui-snapshot.png Rearrange for independent packages. 3 years ago

README.md

Simple GUI experiments using Syndicate

This directory contains UI experiments using Syndicate 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