Commit Graph

633 Commits

Author SHA1 Message Date
Robert Jelic
1f9734ef5f Update Flexbox.lua
Another small mistake got fixed.
2023-05-19 19:21:46 +02:00
Robert Jelic
f4c469d64e Update Flexbox.lua
Fixed bug when resizing the flexbox
2023-05-19 19:11:45 +02:00
Robert Jelic
cfec78f6f7 Update Flexbox.lua
- fixed small offset calculation bug
2023-05-19 18:55:11 +02:00
Robert Jelic
67a408a4c8 Update Flexbox.lua 2023-05-19 17:21:39 +02:00
Robert Jelic
cbc8ca5c5b Update Flexbox.md
very small fix
2023-05-19 15:52:13 +02:00
Robert Jelic
631eef525c Flexbox docs
Updated the flexbox documentation for the current flexbox implementation
2023-05-19 15:50:05 +02:00
Robert Jelic
930d2ad0c8 Fixes
Small bug fixes
2023-05-19 12:41:59 +02:00
Robert Jelic
df1569af39 Added 1.7 release
Added v1.7 as the latest release
2023-05-19 11:38:27 +02:00
Robert Jelic
7884ec4ee0 Merge branch 'master' of https://github.com/Pyroxenium/Basalt v1.7 2023-05-19 10:42:46 +02:00
Robert Jelic
b6ff31d77c Reworked Flexbox
- Improved the current flexbox implementation

setJustifyContent: flex-start, flex-end, center, space-between, space-around, space-evenly
setDirection: row, column
setFlexWrap: nowrap, wrap

Child object new methods:
setFlexGrow, setFlexShrink, setFlexBasis
2023-05-19 10:42:44 +02:00
Sabine Lim
d7a6885af6 Update xml.md (#86) 2023-05-19 09:32:38 +02:00
Robert Jelic
b6114ca8da Update Scrollbar.md
Updated scrollbar example to make more sense
2023-05-18 22:09:23 +02:00
Robert Jelic
89d1eff6e1 Delete betterError.lua
- Removed temporary because it can cause endless loops - will have to rework this plugin
2023-05-18 19:58:35 +02:00
Robert Jelic
059759d1c0 Small Fix
Fixed removeChildren for movable frames and scrollable frames
2023-05-18 13:42:55 +02:00
Robert Jelic
47a4706a14 Updated Container docs
updated docs for container (child instead of object)
2023-05-18 13:02:04 +02:00
Robert Jelic
a8d08c865e Update Container.lua
Added removeChildren
2023-05-18 12:52:20 +02:00
Robert Jelic
062b6b0342 Plugin folder support
Added folder support for source version
2023-05-17 20:21:29 +02:00
Sabine Lim
b7de9c5c93 Refactor reactive framework (#85)
* Fix addObject

* Refactors

Fix

* Preserve lowercase first char behaviour

* Default empty props

* Allow for reactive props from imperative code
2023-05-17 20:02:29 +02:00
Sabine Lim
a0a717367e Fix addObject() by renaming to addChild() (#84)
* Allow events to be registered on elements without parents

* Fix addObject
2023-05-17 18:53:55 +02:00
Sabine Lim
2e5255bee4 Allow events to be registered on elements without parents (#83) 2023-05-17 18:50:55 +02:00
Robert Jelic
5d682d1a76 Update install.lua
Small release download fix
2023-05-16 17:54:21 +02:00
Sabine Lim
6b5bbfb54b Refactor XML parser (#82)
* Move XMLParser into its own file

* Move xmlValue to xmlParser

* Remove getters and setters

* Simplify XMLNode data structure

* Remove unused functions

* Clarify comments

* Rename data to node

* Rename name to tag

* Reorder

* Remove all special uses of xmlValue
2023-05-16 15:07:41 +02:00
Sabine Lim
d6642ad855 Remove property whitelist (#81) 2023-05-16 10:37:35 +02:00
Robert Jelic
eb80f2daac Update install.lua
release fix
2023-05-15 22:29:27 +02:00
Robert Jelic
c0d670b57d Update install.lua 2023-05-15 22:23:24 +02:00
Robert Jelic
bb3bcfba2c Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2023-05-15 20:38:53 +02:00
Robert Jelic
8689858745 small fixes 2023-05-15 20:38:50 +02:00
Sabine Lim
bdc241575b getProperty() and setProperty() (#80)
* Fuck

* Add getProperty() and setProperty()

* Add getters and setters to VisualObject

* Update Frame and BaseFrame

* Update Flexbox

* Update Button and Label

* Update Input

* Update Image

* Update Checkbox

* Update Program

* Update Progressbar

* Update Slider

* Update Scrollbar

* Update Switch

* Update Textfield

* Update Timer

* Update List

* Update Dropdown

* Update Radio

* Update Menubar

* Update Graph

* Update Treeview
2023-05-15 19:24:16 +02:00
Sabine Lim
015666ad14 Fuck (#79) 2023-05-15 17:54:12 +02:00
Robert Jelic
325f1c1fb0 Merge pull request #78 from thesabinelim/create-object
Better syntax for basalt.createObject()
2023-05-15 17:50:26 +02:00
Sabine Lim
cc602c0749 Better syntax 2023-05-16 01:49:13 +10:00
Robert Jelic
7b0ad7294f Merge pull request #77 from thesabinelim/create-object
basalt.createObject()
2023-05-15 17:46:44 +02:00
Sabine Lim
e8748638db Minor refactor 2023-05-16 01:38:46 +10:00
Sabine Lim
37e5be8a6a Add createObject() 2023-05-16 01:32:16 +10:00
Robert Jelic
35113e2a7d Update install.lua 2023-05-15 06:20:02 +02:00
Robert Jelic
741f7cf4ec Update install.lua 2023-05-15 06:04:03 +02:00
Robert Jelic
8d3eaf21bc Update ui.lua 2023-05-14 22:20:23 +02:00
Robert Jelic
398f800270 Update ui.lua
hopefully last fix
2023-05-14 22:15:46 +02:00
Robert Jelic
2295581f37 Update ui.lua
forgot to remove
2023-05-14 22:10:19 +02:00
Robert Jelic
c549403988 Update plugin.lua
Small fix
2023-05-14 22:05:42 +02:00
Robert Jelic
e210939988 Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2023-05-14 21:50:12 +02:00
Robert Jelic
e84f65654d Update bTemp.lua 2023-05-14 21:49:56 +02:00
Robert Jelic
dcaeb04b2a Merge pull request #76 from thesabinelim/xml-events-api
[XML] Modify events API
2023-05-14 20:44:37 +02:00
Sabine Lim
45fdaa3da5 Update XML events API 2023-05-15 04:31:12 +10:00
Robert Jelic
b2e5476890 Merge pull request #75 from thesabinelim/child-layouts
[XML] Child layouts
2023-05-14 19:58:29 +02:00
Sabine Lim
ede6c87c88 OOps left this out 2023-05-15 03:55:39 +10:00
Sabine Lim
5593b3bbfb Child layouts 2023-05-15 03:51:53 +10:00
Robert Jelic
bfe5163956 Update install.lua
- fixed small mistake
2023-05-14 19:47:54 +02:00
Robert Jelic
588fe4f5cf Update ui.lua 2023-05-14 19:40:15 +02:00
Robert Jelic
5f53e7c7cd Update install.lua 2023-05-14 19:35:01 +02:00