Skip to content

quill v0.1.0

Choose a tag to compare

@martian56 martian56 released this 09 Jul 15:57
· 11 commits to main since this release

The first release of quill, a GUI toolkit for the Raven language.

You give it a model and three functions (init, update, view) and it owns the window, the event loop, and the drawing. The backend (GLFW, OpenGL, fontstash, stb_image) is vendored and statically linked, so a quill app is a single executable with nothing to install.

Included

  • Native windows and an event driven idle loop that uses no CPU when static.
  • A hand written batched OpenGL 3.3 renderer: solid fills, SDF rounded rectangles, glyphs, images, and clipping.
  • A flex layout with padding, gap, grow, alignment, and justification.
  • Widgets: label, button, input, textarea, checkbox, radio, slider, dropdown, tabs, image, divider, panel, row, column, scroll, and modal.
  • Text editing with a caret, mouse selection, arrow and Home/End navigation, copy, cut, and paste. The text area adds word wrapping, newlines, and up/down navigation.
  • Light and dark themes with runtime switching, hover tooltips, cursor shapes, and disabled states.

Install

[dependencies]
"github.com/martian56/quill" = "v0.1.0"

See the README for a quick start and the widget reference. Runs on Windows today; the backend is portable and other platforms are planned.