syndicate-rkt/syndicate-examples/gui
2021-06-04 15:56:03 +02:00
..
layout Adjust copyrights 2021-06-04 15:56:03 +02:00
gui.rkt Adjust copyrights 2021-06-04 15:56:03 +02:00
hsv.rkt Adjust copyrights 2021-06-04 15:56:03 +02:00
oakura-beach-20081225.jpg Rearrange for independent packages. 2020-04-27 20:27:48 +02:00
README.md Rearrange for independent packages. 2020-04-27 20:27:48 +02:00
syndicate-gui-snapshot.png Rearrange for independent packages. 2020-04-27 20:27:48 +02:00

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