Fixed typos and cleaned up code in the Images library (#93)

* Updated setTheme.md

* Updated 1.6 setTheme.md

* Fixed typo

* Cleaned up loadImage functions

* Changed it to use the new function

* More typos

---------

Co-authored-by: SeaSide53 <https://github.com/SeaSide53>
This commit is contained in:
SeaSide53
2023-06-04 15:53:19 +02:00
committed by GitHub
parent 84096eeca5
commit 1339337e6e
4 changed files with 21 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
## add&#60;Object&#62;
Adds a new object. Don't use add&#60;Object&#62; please use addTheObjectYouNeed For example if you want a new Frame, use
addFrame, if you want to add a button, use addButton
Adds a new object. Don't use add&#60;Object&#62; please use addTheObjectYouNeed. For example if you want a new Frame, use
addFrame, if you want to add a button, use addButton.
#### Parameters:
1. `string` optional - the id if you don't add a id it will autimatically generate one for you
1. `string` optional - the id if you don't add a id it will automatically generate one for you
#### Returns:
1. `object` The new object you've created

View File

@@ -1,6 +1,6 @@
The Image object is designed for adding more advanced backgrounds to your interface. It supports the loading of .nfp and .bimg images, allowing for greater customization of your interface's appearance.
In addition to the Object and VisualObject methods, Progressbar objects have the following methods:
In addition to the Object and VisualObject methods, Image objects have the following methods:
| | |
|---|---|