Skip to content

Slab v0.5.0

Choose a tag to compare

@coding-jackalope coding-jackalope released this 10 Jul 21:04
· 303 commits to master since this release

This release adds API functions to render basic shapes to a window, such as rectangles and circles. The Input control also has support for highlighting words with custom colors to mimic syntax highlighting found in various text editors. The Slab Test module has now been refactored to show off the various features of Slab and can act as a good reference point for the API. For more information on the update, refer to the wiki page: https://github.com/coding-jackalope/Slab/wiki.
For a more detailed list of changes, refer to the commit history.

Shapes

Slab offers functions to draw basic shapes to a window. These shapes can complement the controls and provides some flexibility in the look the UI. The shapes that are supported through the API are:

Shape_Overview

Input

The Input control now offers the ability to highlight words with a specific color. This is a table passed into the Highlight option of the Input function.

Input_Highlight

Functions for getting and setting the input cursor position has also been added along with querying and setting the focus of the input control.

Slab Test

The Slab Test module has now been re-worked to act as a reference point for overviews of controls and how they are implemented. Each control is given their own section which can be selected with the combo box at the top of the window and example usage of the controls are displayed.

SlabTest_Example