Skip to content

Releases

dxui v0.0.4

Choose a tag to compare

@wat4r wat4r released this 15 Oct 05:45

This release adds hover cursor controls and improves scrolling, shadow rendering, and native initialization.

Highlights

  • Add typed Style.Cursor support with CursorAuto, CursorDefault, CursorText, and CursorPointer.
  • Show an I-beam immediately when hovering over Input or Textarea, without requiring a click.
  • Use a pointing hand by default for Button, including TextButton and ButtonGroup children.
  • Keep hover cursors synchronized when components or layouts change beneath a stationary pointer, without additional presents.
  • Respect the system’s natural or traditional scroll direction.
  • Improve Gaussian shadow falloff and prevent an overly dark edge or visible solid core beneath offset shadows.
  • Disable SDL signal handlers before initialization to preserve Go’s signal handling.

Behavior change

Style.Cursor defaults to CursorAuto: Input and Textarea use an I-beam, Button uses a pointing hand, and other controls use the default arrow. Set an explicit cursor to override these defaults.

Cursor styling changes hover appearance only; it does not add focus or activation behavior.

No dependency changes.

Upgrade

go get github.com/dxui-org/dxui@v0.0.4

Full Changelog: v0.0.3...v0.0.4

dxui v0.0.3

Choose a tag to compare

@wat4r wat4r released this 11 Oct 14:52

This maintenance release fixes window startup on Wayland.

Highlights

  • Fix windows failing to appear when no native expose event is received during startup (#1).
  • Submit the first complete frame after showing the window, for both main and child windows.
  • Add regression coverage for startup without expose events, backbuffer loss during window show, and startup failures.
  • Validate native Wayland startup with default and software renderers, with no additional presents while idle.

Behavior change

Windows are prepared while hidden, then shown and fully redrawn before the first native Present. OnShown runs after that Present succeeds.

No public API or dependency changes.

Upgrade

go get github.com/dxui-org/dxui@v0.0.3

Full Changelog: v0.0.2...v0.0.3

dxui v0.0.2

Choose a tag to compare

@wat4r wat4r released this 23 Sep 12:16

This maintenance release improves runtime correctness, window repainting, and the first-run experience.

Highlights

  • Gracefully close applications on Ctrl+C and other interrupt signals, allowing normal cleanup to complete.
  • Repaint windows after native expose events, including when a window is uncovered or restored.
  • Prevent drawing inside empty clip regions.
  • Align the default main and child window background with the built-in light theme: #F8FAFC.
  • Add a screenshot-ready component studio at examples/components.
  • Move the complete searchable component catalog to examples/component_gallery.
  • Refresh the README with updated examples, screenshots, and navigation.
  • Update github.com/dxui-org/go-sdl3 to v0.1.3.

Behavior change

Applications that leave AppOptions.Background or WindowOptions.Background
unset now use RGBA(248, 250, 252, 255) instead of
RGBA(28, 30, 36, 255). Set the background explicitly if the previous dark
color is required.

Install

go get github.com/dxui-org/dxui@v0.0.2

Full Changelog: v0.0.1...v0.0.2

dxui v0.0.1

Choose a tag to compare

@wat4r wat4r released this 16 Sep 06:21

The first early preview of dxuiβ€”a declarative desktop GUI framework for Go, featuring typed components, application-owned state, and customizable themes.

Features

  • Declarative API β€” Compose interfaces with Go functions, typed props, callbacks, and keyed component identity.
  • Build without cgo β€” Framework and application builds support CGO_ENABLED=0. Requires Go 1.25 or newer.
  • On-demand rendering β€” An event- and deadline-driven UI loop waits when idle, without fixed-rate refreshes.
  • Layout and scrolling β€” Horizontal and vertical layouts, absolute positioning, scroll containers, and fixed-height virtual lists.
  • Everyday components β€” Buttons, inputs, text areas, selects, checkboxes, radio buttons, switches, sliders, menus, tabs, popovers, tooltips, and progress indicators.
  • Themes and styling β€” Runtime light/dark switching, typed theme tokens, borders, rounded corners, shadows, and interaction states.
  • Text and resources β€” Pure-Go text and image processing, plus individually linkable Lucide icons.
  • Multiple windows β€” A main window and independent native child windows managed within one application lifecycle.

Examples

Includes an interactive component catalog, login form, calculator, multi-window demo, 100,000-row virtual list, and galleries for icons, layout, styling, and text.

Run the component catalog from a source checkout:

go run ./examples/components

Known Limitations

  • This is an early preview. Complete platform interaction checks, release-candidate performance measurements, and packaging verification remain open.
  • Layout does not support flex wrapping or Grid. Virtual lists support vertical, fixed-height rows only.
  • Text does not yet support complex shaping, bidirectional text, color emoji, or grapheme-aware editing.
  • Accessibility and screen-reader integration are not implemented.
  • IME, clipboard, cross-display DPI changes, and multi-window interactions still require complete platform validation. Successful compilation does not establish native runtime support.

License

MIT. Bundled dependencies and assets retain their respective licenses.