Update config, BasaltLS definitions, bundle and changelog
This commit is contained in:
6188
BasaltLS.lua
6188
BasaltLS.lua
File diff suppressed because it is too large
Load Diff
618
config.lua
618
config.lua
@@ -1,127 +1,62 @@
|
|||||||
return {
|
return {
|
||||||
["metadata"] = {
|
|
||||||
["generated"] = "Mon Mar 24 19:20:14 2025",
|
|
||||||
["version"] = "2.0",
|
|
||||||
},
|
|
||||||
["categories"] = {
|
["categories"] = {
|
||||||
["core"] = {
|
|
||||||
["files"] = {
|
|
||||||
["errorManager"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "errorManager.lua",
|
|
||||||
["size"] = 3789,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["propertySystem"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "propertySystem.lua",
|
|
||||||
["size"] = 15224,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["elementManager"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elementManager.lua",
|
|
||||||
["size"] = 6297,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["init"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "init.lua",
|
|
||||||
["size"] = 519,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["log"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "log.lua",
|
|
||||||
["size"] = 3142,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["main"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "main.lua",
|
|
||||||
["size"] = 10142,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["render"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "render.lua",
|
|
||||||
["size"] = 11100,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["description"] = "Core Files",
|
|
||||||
},
|
|
||||||
["plugins"] = {
|
["plugins"] = {
|
||||||
["files"] = {
|
["files"] = {
|
||||||
["xml"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "plugins/xml.lua",
|
|
||||||
["size"] = 9614,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["animation"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "plugins/animation.lua",
|
|
||||||
["size"] = 14749,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["debug"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "plugins/debug.lua",
|
|
||||||
["size"] = 6175,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["theme"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "plugins/theme.lua",
|
|
||||||
["size"] = 5901,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["benchmark"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "plugins/benchmark.lua",
|
|
||||||
["size"] = 12497,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["state"] = {
|
["state"] = {
|
||||||
|
["path"] = "plugins/state.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "Container",
|
[1] = "Container",
|
||||||
},
|
},
|
||||||
["default"] = true,
|
|
||||||
["path"] = "plugins/state.lua",
|
|
||||||
["size"] = 6926,
|
["size"] = 6926,
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
["reactive"] = {
|
["theme"] = {
|
||||||
|
["path"] = "plugins/theme.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
},
|
},
|
||||||
|
["size"] = 5901,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["debug"] = {
|
||||||
|
["path"] = "plugins/debug.lua",
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 6175,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["animation"] = {
|
||||||
|
["path"] = "plugins/animation.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 14749,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["benchmark"] = {
|
||||||
|
["path"] = "plugins/benchmark.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 12497,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["xml"] = {
|
||||||
|
["path"] = "plugins/xml.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 9614,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["reactive"] = {
|
||||||
["path"] = "plugins/reactive.lua",
|
["path"] = "plugins/reactive.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
["size"] = 6962,
|
["size"] = 6962,
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
@@ -130,267 +65,332 @@ return {
|
|||||||
},
|
},
|
||||||
["libraries"] = {
|
["libraries"] = {
|
||||||
["files"] = {
|
["files"] = {
|
||||||
["colorHex"] = {
|
["expect"] = {
|
||||||
|
["path"] = "libraries/expect.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
},
|
},
|
||||||
["default"] = true,
|
["size"] = 846,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["colorHex"] = {
|
||||||
["path"] = "libraries/colorHex.lua",
|
["path"] = "libraries/colorHex.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
["size"] = 132,
|
["size"] = 132,
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
["utils"] = {
|
["utils"] = {
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "libraries/utils.lua",
|
["path"] = "libraries/utils.lua",
|
||||||
["size"] = 2661,
|
["default"] = true,
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["expect"] = {
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
},
|
},
|
||||||
["default"] = true,
|
["size"] = 2661,
|
||||||
["path"] = "libraries/expect.lua",
|
|
||||||
["size"] = 846,
|
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["description"] = "Libraries",
|
["description"] = "Libraries",
|
||||||
},
|
},
|
||||||
|
["core"] = {
|
||||||
|
["files"] = {
|
||||||
|
["init"] = {
|
||||||
|
["path"] = "init.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 519,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["propertySystem"] = {
|
||||||
|
["path"] = "propertySystem.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 15224,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["errorManager"] = {
|
||||||
|
["path"] = "errorManager.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 3789,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["main"] = {
|
||||||
|
["path"] = "main.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 10142,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["render"] = {
|
||||||
|
["path"] = "render.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 11100,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["elementManager"] = {
|
||||||
|
["path"] = "elementManager.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 6297,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["log"] = {
|
||||||
|
["path"] = "log.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 3142,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["description"] = "Core Files",
|
||||||
|
},
|
||||||
["elements"] = {
|
["elements"] = {
|
||||||
["files"] = {
|
["files"] = {
|
||||||
["TextBox"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/TextBox.lua",
|
|
||||||
["size"] = 10904,
|
|
||||||
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
|
||||||
},
|
|
||||||
["List"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/List.lua",
|
|
||||||
["size"] = 8645,
|
|
||||||
["description"] = "A scrollable list of selectable items",
|
|
||||||
},
|
|
||||||
["BarChart"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/BarChart.lua",
|
|
||||||
["size"] = 2635,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["Flexbox"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "Container",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Flexbox.lua",
|
|
||||||
["size"] = 11530,
|
|
||||||
["description"] = "A flexbox container that arranges its children in a flexible layout.",
|
|
||||||
},
|
|
||||||
["BaseElement"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/BaseElement.lua",
|
|
||||||
["size"] = 9402,
|
|
||||||
["description"] = "The base class for all UI elements in Basalt.",
|
|
||||||
},
|
|
||||||
["Dropdown"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "List",
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/Dropdown.lua",
|
|
||||||
["size"] = 5845,
|
|
||||||
["description"] = "A dropdown menu that shows a list of selectable items",
|
|
||||||
},
|
|
||||||
["LineChart"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/LineChart.lua",
|
|
||||||
["size"] = 2707,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["Program"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Program.lua",
|
|
||||||
["size"] = 6295,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["Button"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Button.lua",
|
|
||||||
["size"] = 1632,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["Menu"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "List",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Menu.lua",
|
|
||||||
["size"] = 4657,
|
|
||||||
["description"] = "A horizontal menu bar with selectable items.",
|
|
||||||
},
|
|
||||||
["Tree"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Tree.lua",
|
|
||||||
["size"] = 7919,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["Input"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Input.lua",
|
|
||||||
["size"] = 8358,
|
|
||||||
["description"] = "A text input field with various features",
|
|
||||||
},
|
|
||||||
["Image"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/Image.lua",
|
|
||||||
["size"] = 15102,
|
|
||||||
["description"] = "An element that displays an image in bimg format",
|
|
||||||
},
|
|
||||||
["Table"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Table.lua",
|
|
||||||
["size"] = 7586,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
|
||||||
["Display"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/Display.lua",
|
|
||||||
["size"] = 4006,
|
|
||||||
["description"] = "The Display is a special element which uses the cc window API which you can use.",
|
|
||||||
},
|
|
||||||
["Graph"] = {
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
["default"] = false,
|
|
||||||
["path"] = "elements/Graph.lua",
|
|
||||||
["size"] = 5940,
|
|
||||||
["description"] = "A point based graph element",
|
|
||||||
},
|
|
||||||
["Scrollbar"] = {
|
["Scrollbar"] = {
|
||||||
|
["path"] = "elements/Scrollbar.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Scrollbar.lua",
|
|
||||||
["size"] = 9164,
|
["size"] = 9164,
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
["Container"] = {
|
["BaseElement"] = {
|
||||||
["requires"] = {
|
["path"] = "elements/BaseElement.lua",
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
["path"] = "elements/Container.lua",
|
["requires"] = {
|
||||||
["size"] = 23195,
|
},
|
||||||
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
["size"] = 9402,
|
||||||
|
["description"] = "The base class for all UI elements in Basalt.",
|
||||||
},
|
},
|
||||||
["Checkbox"] = {
|
["Table"] = {
|
||||||
|
["path"] = "elements/Table.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
["default"] = true,
|
["size"] = 7586,
|
||||||
["path"] = "elements/Checkbox.lua",
|
|
||||||
["size"] = 2872,
|
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
["Label"] = {
|
["Menu"] = {
|
||||||
["requires"] = {
|
["path"] = "elements/Menu.lua",
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
["path"] = "elements/Label.lua",
|
|
||||||
["size"] = 3069,
|
|
||||||
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
|
||||||
},
|
|
||||||
["ProgressBar"] = {
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "List",
|
||||||
},
|
},
|
||||||
["default"] = true,
|
["size"] = 4657,
|
||||||
["path"] = "elements/ProgressBar.lua",
|
["description"] = "A horizontal menu bar with selectable items.",
|
||||||
["size"] = 2272,
|
|
||||||
["description"] = "",
|
|
||||||
},
|
},
|
||||||
["BaseFrame"] = {
|
["Dropdown"] = {
|
||||||
|
["path"] = "elements/Dropdown.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "List",
|
||||||
|
},
|
||||||
|
["size"] = 5845,
|
||||||
|
["description"] = "A dropdown menu that shows a list of selectable items",
|
||||||
|
},
|
||||||
|
["Frame"] = {
|
||||||
|
["path"] = "elements/Frame.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "Container",
|
[1] = "Container",
|
||||||
},
|
},
|
||||||
|
["size"] = 4435,
|
||||||
|
["description"] = "A frame element that serves as a grouping container for other elements.",
|
||||||
|
},
|
||||||
|
["Image"] = {
|
||||||
|
["path"] = "elements/Image.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 15102,
|
||||||
|
["description"] = "An element that displays an image in bimg format",
|
||||||
|
},
|
||||||
|
["Input"] = {
|
||||||
|
["path"] = "elements/Input.lua",
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 8358,
|
||||||
|
["description"] = "A text input field with various features",
|
||||||
|
},
|
||||||
|
["Graph"] = {
|
||||||
|
["path"] = "elements/Graph.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 5940,
|
||||||
|
["description"] = "A point based graph element",
|
||||||
|
},
|
||||||
|
["BaseFrame"] = {
|
||||||
["path"] = "elements/BaseFrame.lua",
|
["path"] = "elements/BaseFrame.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "Container",
|
||||||
|
},
|
||||||
["size"] = 7769,
|
["size"] = 7769,
|
||||||
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
||||||
},
|
},
|
||||||
["Slider"] = {
|
["Slider"] = {
|
||||||
|
["path"] = "elements/Slider.lua",
|
||||||
|
["default"] = true,
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/Slider.lua",
|
|
||||||
["size"] = 4676,
|
["size"] = 4676,
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
["Frame"] = {
|
["Container"] = {
|
||||||
["requires"] = {
|
["path"] = "elements/Container.lua",
|
||||||
[1] = "Container",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
["path"] = "elements/Frame.lua",
|
|
||||||
["size"] = 4435,
|
|
||||||
["description"] = "A frame element that serves as a grouping container for other elements.",
|
|
||||||
},
|
|
||||||
["VisualElement"] = {
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "BaseElement",
|
|
||||||
},
|
|
||||||
["default"] = true,
|
|
||||||
["path"] = "elements/VisualElement.lua",
|
|
||||||
["size"] = 17054,
|
|
||||||
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
|
||||||
},
|
|
||||||
["BigFont"] = {
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
|
["size"] = 23195,
|
||||||
|
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
||||||
|
},
|
||||||
|
["BarChart"] = {
|
||||||
|
["path"] = "elements/BarChart.lua",
|
||||||
["default"] = false,
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 2635,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["TextBox"] = {
|
||||||
|
["path"] = "elements/TextBox.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 10904,
|
||||||
|
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
||||||
|
},
|
||||||
|
["ProgressBar"] = {
|
||||||
|
["path"] = "elements/ProgressBar.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 2272,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["Checkbox"] = {
|
||||||
|
["path"] = "elements/Checkbox.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 2872,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["BigFont"] = {
|
||||||
["path"] = "elements/BigFont.lua",
|
["path"] = "elements/BigFont.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
["size"] = 20670,
|
["size"] = 20670,
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
},
|
},
|
||||||
|
["Program"] = {
|
||||||
|
["path"] = "elements/Program.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 6295,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["VisualElement"] = {
|
||||||
|
["path"] = "elements/VisualElement.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "BaseElement",
|
||||||
|
},
|
||||||
|
["size"] = 17054,
|
||||||
|
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
||||||
|
},
|
||||||
|
["Tree"] = {
|
||||||
|
["path"] = "elements/Tree.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 7919,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["LineChart"] = {
|
||||||
|
["path"] = "elements/LineChart.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
["size"] = 2707,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
|
["Display"] = {
|
||||||
|
["path"] = "elements/Display.lua",
|
||||||
|
["default"] = false,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 3964,
|
||||||
|
["description"] = "The Display is a special element which uses the cc window API which you can use.",
|
||||||
|
},
|
||||||
|
["Label"] = {
|
||||||
|
["path"] = "elements/Label.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 3069,
|
||||||
|
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
||||||
|
},
|
||||||
|
["List"] = {
|
||||||
|
["path"] = "elements/List.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 8645,
|
||||||
|
["description"] = "A scrollable list of selectable items",
|
||||||
|
},
|
||||||
|
["Flexbox"] = {
|
||||||
|
["path"] = "elements/Flexbox.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "Container",
|
||||||
|
},
|
||||||
|
["size"] = 11530,
|
||||||
|
["description"] = "A flexbox container that arranges its children in a flexible layout.",
|
||||||
|
},
|
||||||
|
["Button"] = {
|
||||||
|
["path"] = "elements/Button.lua",
|
||||||
|
["default"] = true,
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
["size"] = 1632,
|
||||||
|
["description"] = "",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
["description"] = "UI Elements",
|
["description"] = "UI Elements",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
["metadata"] = {
|
||||||
|
["generated"] = "Wed Mar 26 00:02:41 2025",
|
||||||
|
["version"] = "2.0",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
@@ -1520,13 +1520,13 @@ function bb:init(cb,db)
|
|||||||
ca.init(self,cb,db)self.set("type","Display")
|
ca.init(self,cb,db)self.set("type","Display")
|
||||||
self._window=window.create(db.getActiveFrame():getTerm(),1,1,self.get("width"),self.get("height"),false)local _c=self._window.reposition;local ac=self._window.blit
|
self._window=window.create(db.getActiveFrame():getTerm(),1,1,self.get("width"),self.get("height"),false)local _c=self._window.reposition;local ac=self._window.blit
|
||||||
local bc=self._window.write
|
local bc=self._window.write
|
||||||
self._window.reposition=function(cc,dc,_d,ad,bd)cc.set("x",dc)cc.set("y",_d)
|
self._window.reposition=function(cc,dc,_d,ad)self.set("x",cc)self.set("y",dc)
|
||||||
cc.set("width",ad)cc.set("height",bd)_c(cc,1,1,ad,bd)end
|
self.set("width",_d)self.set("height",ad)_c(1,1,_d,ad)end
|
||||||
self._window.getPosition=function(cc)return cc.get("x"),cc.get("y")end
|
self._window.getPosition=function(cc)return cc.get("x"),cc.get("y")end
|
||||||
self._window.setVisible=function(cc,dc)cc.set("visible",dc)end
|
self._window.setVisible=function(cc)self.set("visible",cc)end
|
||||||
self._window.isVisible=function(cc)return cc.get("visible")end
|
self._window.isVisible=function(cc)return cc.get("visible")end
|
||||||
self._window.blit=function(cc,dc,_d,ad,bd,cd)ac(cc,dc,_d,ad,bd,cd)cc:updateRender()end
|
self._window.blit=function(cc,dc,_d,ad,bd)ac(cc,dc,_d,ad,bd)self:updateRender()end
|
||||||
self._window.write=function(cc,dc,_d,ad)bc(cc,dc,_d,ad)cc:updateRender()end
|
self._window.write=function(cc,dc,_d)bc(cc,dc,_d)self:updateRender()end
|
||||||
self:observe("width",function(cc,dc)local _d=cc._window;if _d then
|
self:observe("width",function(cc,dc)local _d=cc._window;if _d then
|
||||||
_d.reposition(1,1,dc,cc.get("height"))end end)
|
_d.reposition(1,1,dc,cc.get("height"))end end)
|
||||||
self:observe("height",function(cc,dc)local _d=cc._window;if _d then
|
self:observe("height",function(cc,dc)local _d=cc._window;if _d then
|
||||||
|
|||||||
Reference in New Issue
Block a user