Skip to content

Releases: flamendless/Slab

Slab v0.5.0

10 Jul 21:04
Compare
Choose a tag to compare

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

Slab v0.4.0

12 Jun 21:46
Compare
Choose a tag to compare

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.

Slab v0.3.0

04 May 02:23
Compare
Choose a tag to compare

This release adds new controls, features to existing controls, and API functions for user interaction. 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.

Color Picker

The color picker displays a window that allows the user to select a color on the spectrum. More information about this control can be found here.

ColorPicker_Example

Style Editor

The style editor allows the user to modify each setting in the Style table and save those changes to the current style. More information about this control can be found here.

StyleEditor_Example

Slab Debug

The SlabDebug module gives developers access to various profiling and editor tools to help them find issues within their own code base or with Slab's code base. More information about this module can be found here.

SlabDebug_Menu

Window Columns

Windows now support the ability to divide controls into columns. More information about this feature can be found here.

Windows_Columns

Interaction

Slab offers functions to query the user's input on a given frame. There are also functions to query for input on the most recently declared control. This can allow the implementation to use custom logic for controls to create custom behaviors. More information about this API can be found here.

Radio Button

Radio buttons offer the user to select one option from a list of options. More information about the usage of this control can be found here.

Button_RadioButton

Slab v0.2.0

01 Apr 00:34
Compare
Choose a tag to compare

This release adds new controls in the form of List Boxes and Dialog windows. 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.

File Dialog

A file dialog will allow a user to explore their file system and select which file or directory to open, or select a file to save. Saving a file will do some extra validation on the extension and will prompt the user if they wish to overwrite an existing file.

Dialog_OpenFile

Message Box

Message boxes allow a prompt to pop-up and wait for user input.

Dialog_MessageBox

List Boxes

The list box API allows for control of how a list of items can be rendered. They can range from simple text items to items with images and text.

ListBox_Basic

ListBox_Tiles

Other Changes

  • Window: Sizer filter
  • Cursor: Exposed API
  • Image: Sub-rectangle of image.
  • Tree: Support for icons with label.

Slab Version 0.1.0-alpha

24 Feb 18:27
Compare
Choose a tag to compare
Pre-release

This is the first alpha release of Slab. For more information about usage and documentation, refer to API.lua or the Wiki.