Ebitengine tool kit for creating graphical user interfaces
Find a file
2024-10-31 22:19:46 -07:00
examples/showcase Add Style.CheckboxBgColor 2024-10-31 22:13:57 -07:00
kibodo Remove usage of runtime/debug 2024-07-22 02:31:50 -07:00
messeji Fix wrapping UTF-8 characters 2024-10-30 13:13:33 -07:00
.gitignore Move kibodo into etk 2024-01-16 12:52:24 -08:00
box.go Add Widget.Cursor 2024-09-11 22:13:07 -07:00
button.go Fix dimming Button background color when pressed 2024-10-29 20:25:09 -07:00
checkbox.go Add Style.CheckboxBgColor 2024-10-31 22:13:57 -07:00
doc.go Add Keyboard and Select to list of widgets 2024-10-23 22:05:30 -07:00
flex.go Fix expanding Flex children 2024-01-18 19:33:56 -08:00
frame.go Add Frame.SetMaxWidth and Frame.SetMaxHeight 2024-09-21 20:49:52 -07:00
game.go Clamp text field offset when resizing 2024-10-30 00:42:58 -07:00
go.mod Fix dimming Button background color when pressed 2024-10-29 20:25:09 -07:00
go.sum Fix dimming Button background color when pressed 2024-10-29 20:25:09 -07:00
grid.go Add List 2023-12-19 12:24:44 -08:00
input.go Add Text to showcase 2024-10-23 20:03:30 -07:00
keybind.go Add List.SetConfirmedFunc 2024-10-09 13:21:50 -07:00
keyboard.go Add Widget.Cursor 2024-09-11 22:13:07 -07:00
LICENSE Update LICENSE 2024-01-16 12:59:02 -08:00
list.go Draw Window tab list 2024-10-23 14:34:55 -07:00
platform_nocgo.go Fork clipboard library 2024-10-11 20:05:00 -07:00
platform_wasm.go Support pasting clipboard buffer 2024-10-11 14:44:33 -07:00
platform_wla.go Fork clipboard library 2024-10-11 20:05:00 -07:00
README.md Add Keyboard and Select to list of widgets 2024-10-23 22:05:30 -07:00
select.go Fix dimming Select background color when pressed 2024-10-31 22:19:46 -07:00
sprite.go Update list offset when selection overflows 2024-10-09 16:36:56 -07:00
style.go Add Style.CheckboxBgColor 2024-10-31 22:13:57 -07:00
text.go Add Button and Checkbox to showcase 2024-10-23 19:35:44 -07:00
widget.go Draw Window tab list 2024-10-23 14:34:55 -07:00
window.go Add Text to showcase 2024-10-23 20:03:30 -07:00

etk - Ebitengine Tool Kit

GoDoc Donate via LiberaPay

Ebitengine tool kit for creating graphical user interfaces

Note: This library is still in development. Breaking changes may be made until v1.0 is released.

Features

  • Simplifies GUI development:
    • Propagates layout changes.
    • Propagates user input.
    • Propagates focus.
  • Extensible by design:
    • The Box widget is provided as a building block for custom widgets.
    • Widgets may be nested within each other efficiently.
  • Tools in the kit:
    • Box: Building block for creating custom widgets.
    • Button: Clickable button.
    • Flex: Flexible stack-based layout. Each Flex widget may be oriented horizontally or vertically.
    • Frame: Widget container. All child widgets are displayed at once. Child widgets are not repositioned by default.
    • Grid: Highly customizable cell-based layout. Each widget added to the Grid may span multiple cells.
    • Input: Text input widget. The Input widget is simply a Text widget that also accepts user input.
    • Keyboard: On-screen keyboard.
    • List: List of widgets as selectable items.
    • Select: Dropdown selection widget.
    • Sprite: Resizable image.
    • Text: Text display widget.
    • Window: Widget paging mechanism. Only one widget added to a window is displayed at a time.

Demo

Browse the widget showcase using your browser.

Boxcars uses etk extensively and is available at https://play.bgammon.org

Screenshot

Examples

See the examples folder.

Documentation

Documentation is available via godoc.

Support

Please share issues and suggestions here.