Skip to content

Slab v0.4.0

Compare
Choose a tag to compare
@coding-jackalope coding-jackalope released this 12 Jun 21:46
· 324 commits to master since this release

This release expands the input control to support multiple lines and allows the control to mimic the behavior of standard text editors. 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.

Mulitline Input

The input control has the ability to support multiple line editing similar to a standard text editor. Most key controls that are supported in text editors are supported in the input control. Contents of a file can be loaded and placed directly in the control and manipulated. This update also includes full support for UTF-8 characters. Any character not supported by the current font will render a square. The below control can be accessed through the Multi-Line option in the Debug menu of the Slab program.

Input_Mulitline

Void Interaction

Slab now provides functions through its API to test if the mouse is hovered or has clicked in a non-Slab area. Information on these functions can be found here.

Keyboard Interaction

Keyboard functions similar to the Mouse functions has been added to the API. Information on these functions can be found here.