Skip to content

Releases: martian56/quill

quill v0.1.2

Choose a tag to compare

@martian56 martian56 released this 09 Jul 18:36

A small feature release.

Added

  • Default window icon. Every quill window now shows the quill mark in its title bar and taskbar. It is a 64x64 PNG embedded in the shim and decoded at open with the stb_image quill already vendors, so nothing extra ships.
  • WindowConfig.icon(path) overrides the default with your own PNG, for example WindowConfig.new().size(960, 600).icon("assets/icon.png").

Install

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

quill v0.1.1

Choose a tag to compare

@martian56 martian56 released this 09 Jul 17:24

A small patch release.

Fixed

  • The checkbox tick now draws as a shape instead of the glyph. That glyph (U+2713) is absent from most text fonts, including the bundled Go font, and quill rasterizes a single face with no OS font fallback, so a checked box previously drew nothing. It now renders with any font.

Install

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

quill v0.1.0

Choose a tag to compare

@martian56 martian56 released this 09 Jul 15:57

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.