This commit is contained in:
NoryiE
2025-09-14 08:55:45 +00:00
parent b79c15a53c
commit 741a53aa04
22 changed files with 45 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
# ElementManager # ElementManager
_This class manages elements and plugins. It loads elements and plugins from the elements and plugins directories _This class manages elements and plugins. It loads elements and plugins from the elements and plugins directories_
and then applies the plugins to the elements. It also provides a way to get elements and APIs._ _and then applies the plugins to the elements. It also provides a way to get elements and APIs._
## Functions ## Functions

View File

@@ -1,7 +1,3 @@
# BigFontText
_Basalt - Nyorie: Please don't copy paste this code to your projects, this code is slightly changed (to fit the way basalt draws elements), if you want the original code, checkout this:
http://www.computercraft.info/forums2/index.php?/topic/25367-bigfont-api-write-bigger-letters-v10/_
# BigFont # BigFont
_The BigFont element is a text element that displays larger text. It uses Wojbie's BigFont API to render the text in a larger font size. Credits to Wojbie for the original API._ _The BigFont element is a text element that displays larger text. It uses Wojbie's BigFont API to render the text in a larger font size. Credits to Wojbie for the original API._

View File

@@ -1,6 +1,6 @@
# ComboBox # ComboBox
_This is the ComboBox class. It extends the dropdown functionality with editable text input, _This is the ComboBox class. It extends the dropdown functionality with editable text input,_
allowing users to either select from a list or type their own custom text._ _allowing users to either select from a list or type their own custom text._
Extends: `Dropdown` Extends: `Dropdown`

View File

@@ -1,7 +1,6 @@
# Flexbox # Flexbox
_This is the Flexbox class. It is a container that arranges its children in a flexible layout. _This is the Flexbox class. It is a container that arranges its children in a flexible layout._
The flexbox element adds the following properties to its children: _The flexbox element adds the following properties to its children:_
_
Extends: `Container` Extends: `Container`

View File

@@ -1,7 +1,7 @@
# Image # Image
_This is the Image element class which can be used to display bimg formatted images. _This is the Image element class which can be used to display bimg formatted images._
Bimg is a universal ComputerCraft image format. _Bimg is a universal ComputerCraft image format._
See: https://github.com/SkyTheCodeMaster/bimg_ _See: [https://github.com/SkyTheCodeMaster/bimg](https://github.com/SkyTheCodeMaster/bimg)_
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# Input # Input
_This is the input class. It provides a text input field that can handle user input with various features like _This is the input class. It provides a text input field that can handle user input with various features like_
cursor movement, text manipulation, placeholder text, and input validation._ _cursor movement, text manipulation, placeholder text, and input validation._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# Label # Label
_This is the label class. It provides a simple text display element that automatically _This is the label class. It provides a simple text display element that automatically_
resizes its width based on the text content._ _resizes its width based on the text content._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# List # List
_This is the list class. It provides a scrollable list of selectable items with support for _This is the list class. It provides a scrollable list of selectable items with support for _
custom item rendering, separators, and selection handling._ _custom item rendering, separators, and selection handling._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# Menu # Menu
_This is the menu class. It provides a horizontal menu bar with selectable items. _This is the menu class. It provides a horizontal menu bar with selectable items._
Menu items are displayed in a single row and can have custom colors and callbacks._ _Menu items are displayed in a single row and can have custom colors and callbacks._
Extends: `List` Extends: `List`

View File

@@ -1,6 +1,6 @@
# ProgressBar # ProgressBar
_This is the progress bar class. It provides a visual representation of progress _This is the progress bar class. It provides a visual representation of progress_
with optional percentage display and customizable colors._ _with optional percentage display and customizable colors._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# Slider # Slider
_This is the slider class. It provides a draggable slider control that can be either horizontal or vertical, _This is the slider class. It provides a draggable slider control that can be either horizontal or vertical,_
with customizable colors and value ranges._ _with customizable colors and value ranges._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# Table # Table
_This is the table class. It provides a sortable data grid with customizable columns, _This is the table class. It provides a sortable data grid with customizable columns,_
row selection, and scrolling capabilities._ _row selection, and scrolling capabilities._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# Tree # Tree
_This is the tree class. It provides a hierarchical view of nodes that can be expanded and collapsed, _This is the tree class. It provides a hierarchical view of nodes that can be expanded and collapsed,_
with support for selection and scrolling._ _with support for selection and scrolling._
Extends: `VisualElement` Extends: `VisualElement`

View File

@@ -1,6 +1,6 @@
# VisualElement # VisualElement
_This is the visual element class. It serves as the base class for all visual UI elements _This is the visual element class. It serves as the base class for all visual UI elements_
and provides core functionality for positioning, sizing, colors, and rendering._ _and provides core functionality for positioning, sizing, colors, and rendering._
Extends: `BaseElement` Extends: `BaseElement`

View File

@@ -1,8 +1,8 @@
# basalt # basalt
_This is the UI Manager and the starting point for your project. The following functions allow you to influence the default behavior of Basalt. _This is the UI Manager and the starting point for your project. The following functions allow you to influence the default behavior of Basalt._
Before you can access Basalt, you need to add the following code on top of your file: _Before you can access Basalt, you need to add the following code on top of your file:_
What this code does is it loads basalt into the project, and you can access it by using the variable defined as "basalt"._ _What this code does is it loads basalt into the project, and you can access it by using the variable defined as "basalt"._
## Functions ## Functions

View File

@@ -46,8 +46,8 @@ Updates the animation
Gets called when the animation is completed Gets called when the animation is completed
# Animation # Animation
_This is the animation plugin. It provides a animation system for visual elements _This is the animation plugin. It provides a animation system for visual elements_
with support for sequences, easing functions, and multiple animation types._ _with support for sequences, easing functions, and multiple animation types._
## Functions ## Functions

View File

@@ -124,9 +124,9 @@ Stops benchmarking for a container and all its children
* `Container` `self` The container instance * `Container` `self` The container instance
# Benchmark # Benchmark
_This is the benchmark plugin. It provides performance measurement tools for elements and methods, _This is the benchmark plugin. It provides performance measurement tools for elements and methods,_
with support for hierarchical profiling and detailed statistics. The plugin is meant to be used for very big projects _with support for hierarchical profiling and detailed statistics. The plugin is meant to be used for very big projects_
where performance is critical. It allows you to measure the time taken by specific methods and log the results._ _where performance is critical. It allows you to measure the time taken by specific methods and log the results._
## Functions ## Functions

View File

@@ -1,3 +1,3 @@
# Reactive # Reactive
_This module provides reactive functionality for elements, it adds no new functionality for elements. _This module provides reactive functionality for elements, it adds no new functionality for elements. _
It is used to evaluate expressions in property values and update the element when the expression changes._ _It is used to evaluate expressions in property values and update the element when the expression changes._

View File

@@ -23,8 +23,8 @@ Initializes a new state for this element
* `BaseFrame` `self` The element instance * `BaseFrame` `self` The element instance
# BaseElement # BaseElement
_This is the state plugin. It provides a state management system for UI elements with support for _This is the state plugin. It provides a state management system for UI elements with support for_
persistent states, computed states, and state sharing between elements._ _persistent states, computed states, and state sharing between elements._
## Functions ## Functions

View File

@@ -1,6 +1,6 @@
# BaseElement # BaseElement
_This is the theme plugin. It provides a theming system that allows for consistent styling across elements _This is the theme plugin. It provides a theming system that allows for consistent styling across elements_
with support for inheritance, named styles, and dynamic theme switching._ _with support for inheritance, named styles, and dynamic theme switching._
## Functions ## Functions

View File

@@ -1,6 +1,6 @@
# PropertySystem # PropertySystem
_PropertySystem is a class that allows Elements to have properties that can be observed and updated. _PropertySystem is a class that allows Elements to have properties that can be observed and updated._
It also allows for properties to have custom getters and setters. This is the base system for all Elements._ _It also allows for properties to have custom getters and setters. This is the base system for all Elements._
## Functions ## Functions

View File

@@ -1,6 +1,6 @@
# Render # Render
_This is the render module for Basalt. It tries to mimic the functionality of the `term` API. but with additional _This is the render module for Basalt. It tries to mimic the functionality of the `term` API. but with additional _
functionality. It also has a buffer system to reduce the number of calls_ _functionality. It also has a buffer system to reduce the number of calls_
## Functions ## Functions