-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Crutiatix edited this page Apr 9, 2017
·
11 revisions
TICuare is simple and customisable UI library. It's designed for TIC-80 - tiny computer by Nesbox and is based on library Uare created by Ulydev For that reason is its name a combination of these two projects.
Language: lua
Size: roughly 17KB full code; 11KB minified version
Any UI component is defined by element. Elements can represent any UI component: icons, buttons, windows, scrollbars, etc. How elements looks and behaves, is defined by its attributes which are keys in tables. Elements can be styled, grouped and anchored together, also can contain a other content drawn by TIC API. Of course there are also interactions between elements and a mouse.
Setup
- Elements
- dimensions
- border
- text
- drag
- content and scrolling
- icon
- callbacks mouse events
- Styles
- Groups
- Anchors
- Visiblity and activity
- Indexes and priority order
- Removing
Examples
Code snippets / extensions