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
_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._
_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._
## 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
_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
_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._
_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._
Extends: `Dropdown`

View File

@@ -1,7 +1,6 @@
# Flexbox
_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:
_
_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:_
Extends: `Container`

View File

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

View File

@@ -1,6 +1,6 @@
# Input
_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._
_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._
Extends: `VisualElement`

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
# Menu
_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._
_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._
Extends: `List`

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
# VisualElement
_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._
_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._
Extends: `BaseElement`

View File

@@ -1,8 +1,8 @@
# 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:
What this code does is it loads basalt into the project, and you can access it by using the variable defined as "basalt"._
_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"._
## Functions

View File

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

View File

@@ -124,9 +124,9 @@ Stops benchmarking for a container and all its children
* `Container` `self` The container instance
# Benchmark
_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
where performance is critical. It allows you to measure the time taken by specific methods and log the results._
_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_
_where performance is critical. It allows you to measure the time taken by specific methods and log the results._
## Functions

View File

@@ -1,3 +1,3 @@
# Reactive
_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._
_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._

View File

@@ -23,8 +23,8 @@ Initializes a new state for this element
* `BaseFrame` `self` The element instance
# BaseElement
_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._
_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._
## Functions

View File

@@ -1,6 +1,6 @@
# BaseElement
_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._
_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._
## Functions

View File

@@ -1,6 +1,6 @@
# PropertySystem
_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._
_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._
## Functions

View File

@@ -1,6 +1,6 @@
# Render
_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_
_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_
## Functions