Demo window system / GUI, for syndicate-2017.
Go to file
Tony Garnock-Jones 0c0ff3af06 README 2018-02-09 12:14:33 +00:00
layout Reusable layout computation 2016-09-25 19:32:04 -04:00
.gitignore Initial commit 2016-09-25 15:07:06 -04:00
README.md README 2018-02-09 12:14:33 +00:00
gui.rkt Appearance tweak: frame color change on focus 2017-10-23 17:53:47 +01:00
hsv.rkt Initial commit 2016-09-25 15:07:06 -04:00
oakura-beach-20081225.jpg Initial commit 2016-09-25 15:07:06 -04:00
syndicate-gui-snapshot.png README 2018-02-09 12:14:33 +00:00

README.md

Simple GUI experiments using Syndicate

This repository 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