Sabine Lim
910a51466f
Fix addObject
2023-05-18 03:47:42 +10: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
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
Sabine Lim
e8748638db
Minor refactor
2023-05-16 01:38:46 +10:00
Robert Jelic
1fdf569ba8
Small Fix
...
- Added ui installer
- Fixed visual list bug
2023-05-14 19:25:00 +02:00
Robert Jelic
e35708902c
Docs
...
- added a onSelect event for lists
- added docs for onSelect
- added addPlugin and addObject docs
2023-05-10 17:21:17 +02:00
Robert Jelic
d2f4717500
Small Fixes
...
- Small Dropdown fix
- Fast, let us fix isDragging variable before the global police comes
2023-05-10 16:56:10 +02:00
Robert Jelic
e14922f6c0
Small Fix
...
this is a quick solution for labels
Removed the Animation Object
2023-05-09 19:37:53 +02:00
Sabine Lim
3de3fbecb3
Add align items
2023-05-08 18:53:59 +10:00
Sabine Lim
6cd8e0ebb0
Fix Flexbox offset
...
Was off by one, leading to the outer pixel getting cut off at the boundary
2023-05-08 17:47:44 +10:00
Robert Jelic
2fb0f1c8ce
Small fix
...
- Added default autosize for images
- removed unnecessary Graphic object
- removed unnecessary module file
2023-05-07 23:09:21 +02:00
Robert Jelic
5604925e27
Small Fixes
...
- onEvent now skips passing the custom event "other_event"
- small error handling for xml lua errors
2023-05-07 18:03:08 +02:00
Robert Jelic
1eddd209f0
Small fix
...
- Fixed monitor frames not receiving other events
2023-05-07 17:02:49 +02:00
Robert Jelic
c9a74dfbd4
Small Fixes
...
- added Label RichText System - experimental
- moved eventhandlers to object
- Fixed still listening to incomming events when removing a object
- Fixed not passing args when creating a event via xml, args are now always stored inside a table called event
2023-05-07 15:17:27 +02:00
Robert Jelic
2b2de1cddf
Small Fix
...
Fixed Progressbar drawing with wrong coordinates
2023-05-06 18:46:56 +02:00
Robert Jelic
2931a95c20
- Docs Update
...
- Updated List & ScrollbarFrame Docs
- Added setOptions for the List Object
2023-05-06 18:32:33 +02:00
Robert Jelic
e87557aba9
Small Fix
...
- Fixed BaseFrame & Frames not setting correct cursor position, when there is a offset
2023-05-06 14:46:44 +02:00
Robert Jelic
dda224bb53
Small Fixes
...
- Fixed Timer throwing a getNames is nil error
- Fixed Scrollbars not calculating opened dropdowns properly
- Fixed Dropdowns not using getSelectionColor
- Fixed ScrollbarFrames not prioritizing the scroll event on their childrens before they actually scroll
- Dropdowns now calculate their height based on added items, you can change that behaviour by using setDropdownSize
2023-05-06 14:36:09 +02:00
Robert Jelic
6e00661011
Small Fix
...
- Fixed dropdown draw-priority order (on same z-index)
2023-05-04 21:02:02 +02:00
Robert Jelic
ba1f602965
Small fixes
...
- Fixed basalt_resize and basalt_reposition event
- Fixed program not changing the size of the internal window object
2023-05-04 19:59:31 +02:00
Robert Jelic
fe590dceab
Small fixes
...
- Fixed Program Object not sending queued events correctly
- Fixed size of error window on smaller screens
- Fixed size of debug window on smaller screens
2023-05-04 19:24:07 +02:00
Robert Jelic
6176bb0bf2
ScrollbarFrame Fix
...
Forgot to reimplement :setScrollAmount to ScrollbarFrames
2023-05-04 18:44:35 +02:00
Robert Jelic
a97254ddf7
Small fixes
...
- Fixed event system passing incorrect parameters
- Fixed basalt.update not behaving correctly
2023-05-04 18:19:56 +02:00
Robert Jelic
cbce567e59
Merge branch 'master' of https://github.com/Pyroxenium/Basalt
2023-05-03 22:49:16 +02:00
Robert Jelic
f90c2e3878
Fixed checkbox color
2023-05-03 22:49:14 +02:00
Robert Jelic
710106e125
Update Scrollbar.lua
...
Forgot to use absolute position instead of relative position
2023-05-03 21:48:44 +02:00
Robert Jelic
4f0d154b31
Small Fixes
...
Fixed Scrollbar issue causing too long without yield
Fixed ignoreOffset bug
2023-05-03 21:00:20 +02:00
Robert Jelic
4b2d417d75
Small Update
...
- Fixed MonitorFrame
- Added MonitorFrame Docs
2023-05-03 19:50:35 +02:00
Robert Jelic
92b93a3862
Fixed XML stuff
...
- Added a XML Guide
- Fixed some XML Code
2023-05-01 16:04:36 +02:00
Robert Jelic
6bab574e8a
Treeview Docs
...
Added Treeview docs
Improved some stuff in the treeview object
2023-05-01 14:56:16 +02:00
Robert Jelic
999a563a3e
Rename changeableObject.lua to ChangeableObject.lua
2023-04-30 18:25:43 +02:00
Robert Jelic
bb1b1beb79
Basalt 1.7 Update
...
- New Objects (Flexbox, Graph, Treeview)
- Pluginsystem to add/remove functionality
- Reworked the entire Object system, instead of one big Object Class we have multiple classes: Object, VisualObject, ChangeableObject
- Instead of one big Frame Class we have multiple Frame Classes: BaseFrame, Frame, MovableFrame, ScrollableFrame, MonitorFrame, Flexbox
- Removed the Animation Object, and added a animation plugin instead
- Removed the Graphic Object and merged it's functionality with the image object
- Updated currently existing objects
2023-04-30 17:05:34 +02:00
Robert Jelic
075903f9a9
Small 1.6 fixes
...
- added basalt.forceRenderUpdate
- fixed dropdowns behaving wrong on monitors
2023-04-29 23:14:19 +02:00
Robert Jelic
d6931412c8
Updated textfield
...
- fixed paste-events by removing an outdated if-statement
2023-04-17 17:42:11 +02:00
Robert Jelic
73b43358ff
Small palette fix
2023-03-11 20:10:06 +01:00
Robert Jelic
6f0ddd6bf6
Small fix
...
Small XML borderColor fix
2023-02-20 16:28:22 +01:00
Robert Jelic
50dce1c1e7
added :setSelectionColor()
...
added :setSelectionColor(backgroundCol, foregroundCol)
2023-01-23 21:52:20 +01:00
Robert Jelic
a4d0492d17
Update Program.lua
2023-01-08 10:03:39 +01:00
Robert Jelic
5ebb5fe436
Update Program.lua
...
Fixed args for programs
2023-01-08 10:02:50 +01:00
Robert Jelic
2b85ab9746
Small fix
...
Forgot to check if program is active or not
2023-01-01 22:46:34 +01:00
Robert Jelic
29ebd7d4d7
Update Program.lua
2023-01-01 22:24:03 +01:00
Robert Jelic
8ab7bc4bde
Auto Resizing fix
...
Forgot to move code for term_resize events to customEventHandler..
2023-01-01 22:21:52 +01:00
Robert Jelic
20ceb6b56f
Small event fix for programs
2022-12-25 16:56:13 +01:00
Robert Jelic
5f00dfe401
Update Button.lua
2022-12-19 20:32:35 +01:00
Robert Jelic
c0fab23cef
Small update to 1.6.4
...
- added bimg support
- reworked graphic object
- added blit for drawsystem (makes drawing bit faster
- added bimg lib
- reworked image object
- fixed thread bug
2022-11-23 17:32:06 +01:00
Robert Jelic
8f2e191fe3
Border Bugfix for Buttons
...
Small visual fix for buttons, when using borders
2022-11-21 06:23:13 +01:00
Robert Jelic
04ad97ccbe
Small program fix
2022-10-20 06:22:14 +02:00
Robert Jelic
44402b1d26
Basalt 1.6.3 - some improvements
...
- added new animations (:setMode("animname")
- added :addMode("animname", f) to create custom easings
- Fixed a bug in input when using - or . nothing happens (inputmode number)
- Added a event for labels when using multiple line text and the window/frame gets resized)
- Changed some backend stuff for programs
- added a setEnviroment method for programs
- Added a program_done event and a program_error event for programs (:onError() and :onDone())
- Fixed a bug in textfields (when using editLine it doesn't update colors)
- seperated the char event from the key event (before both events executed :onKey events, now there is a :onChar() and :onKey() event
2022-10-09 10:50:02 +02:00