From c2258b296e22c4a86a6891c2b0102a344e71da57 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Mon, 2 May 2022 21:56:31 +0200 Subject: [PATCH] Updated Label (markdown) --- Label.md | 43 +------------------------------------------ 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/Label.md b/Label.md index 4e4e065..6d3f665 100644 --- a/Label.md +++ b/Label.md @@ -1,42 +1 @@ -With sliders you can add a object where the user can change a number value.

- -Here are all possible functions available for sliders:
-Remember slider also inherits from [object](https://github.com/NoryiE/Basalt/wiki/Object) - -## setSymbol -this will change the foreground symbol -````lua -local mainFrame = basalt.createFrame("myFirstFrame"):show() -local aSlider = mainFrame:addSlider("myFirstSlider"):setSymbol("X"):show() -```` -**parameters:** char symbol
-**returns:** self
- -## setBackgroundSymbol -this will change the symbol background color -````lua -local mainFrame = basalt.createFrame("myFirstFrame"):show() -local aSlider = mainFrame:addSlider("myFirstSlider"):setBackgroundSymbol(colors.yellow):show() -```` -**parameters:** number color
-**returns:** self
- -## setSymbolColor -this will change the symbol color -````lua -local mainFrame = basalt.createFrame("myFirstFrame"):show() -local aSlider = mainFrame:addSlider("myFirstSlider"):setSymbolColor(colors.red):show() -```` -**parameters:** number color
-**returns:** self
- -## setBarType -this will change the bar to vertical/horizontal (default is horizontal) -````lua -local mainFrame = basalt.createFrame("myFirstFrame"):show() -local aSlider = mainFrame:addSlider("myFirstSlider"):setBarType("vertical"):show() -```` -**parameters:** string value ("vertical", "horizontal"
-**returns:** self
- - +WIP \ No newline at end of file