Demo window system / GUI, for syndicate-2017.
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.
Tony Garnock-Jones 0c0ff3af06 README 4 years ago
layout Reusable layout computation 5 years ago
.gitignore Initial commit 5 years ago
README.md README 4 years ago
gui.rkt Appearance tweak: frame color change on focus 4 years ago
hsv.rkt Initial commit 5 years ago
oakura-beach-20081225.jpg Initial commit 5 years ago
syndicate-gui-snapshot.png README 4 years ago

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