Commit Graph

322 Commits

Author SHA1 Message Date
Robert Jelic
a6c47ce61a border update
Final border update (hopefully), now the border is inside the object, which means other objects can be above the border
2022-09-15 20:07:31 +02:00
Robert Jelic
96bc472b0d -Added drag throttle
Drag events is now skipping some update calls, now i should work much better
Also added basalt.setDragThrottle(number)
2022-09-14 06:43:24 +02:00
Robert Jelic
f76ead42ce Mouse_move + shrink fix
- Added mouse_move support (still not fully done but should work)
- fixed :shrink bug ignoring object size
2022-09-13 21:55:22 +02:00
Robert Jelic
4857753c08 1.6.0@Dev
1.6.0 Version on dev branch
2022-08-25 22:21:16 +02:00
Robert Jelic
e150737d32 very small bugfixes
- basalt_resize and basalt_reposition events fix
- Animations now automatically cancel other animations on same object
- some smaller fixxes
2022-08-23 22:56:51 +02:00
Robert Jelic
6bd1f6d49d Fixes
- fixed a bug where program still listens to other events (even the program is using a filter for pullEvent)
- fixed a focus bug, now if a program is focused and you terminate, the program will be terminated instead of basalt)
2022-08-20 23:38:33 +02:00
Robert Jelic
535dddb41d some fixes
- added logsystem (basalt.log(text))
- changed programs: using now shell.execute instead of os.run
- added basalt.logging boolean which turns on the logsystem (currently only logs errors, will add more in the near future)
- fixed a bug with setTransparent
- changed the default background color of sliders and labels to false
2022-08-20 21:26:43 +02:00
Robert Jelic
d6a4c06363 Monitor/Mirror fixes
- Fixed monitor events
- Monitor's now automatically resize
- Fixed mirror events
- Fixed input's cursor position if height is bigger than 1
2022-08-18 23:45:22 +02:00
Robert Jelic
97df49d7c2 smaller changes
- fixed setTheme
- changed drag event (it does not have to be inside the parent frame anymore
- added a bg symbol feature to setBackground - obj:setBackground(bgcolor, bgsymbol, bgsymbolcolor)
2022-08-17 22:55:25 +02:00
Robert Jelic
948b1dac96 Drawsystem update
- changed the draw system to only draw when something really changes
- added stopUpdate
- changed focusSystem a bit
2022-08-15 01:07:35 +02:00
Robert Jelic
373bbdc490 some finishing moves for the new event system
- focus order bug fixed
- added a new parameter for onChange() (its the value you would get with :getValue()
- small fix with drag events
- added paste events to textfields and input
- added a mouse event to input's (now you can change the text x position with mouse, like you can do in textfields
2022-08-12 23:24:27 +02:00
Robert Jelic
f863b986c2 fixes and changes
- added other events (now animations/threads/timers should work like intended)
- fixed a bug with auto resize (especially for craftos pc)
- removed importantScroll (i really disliked this, but now its just not necessary anymore)
- removed setMaxScroll and setMinScroll, now it's only 1 method called :setScrollAmount()
- if you make a frame scrollable (:setScrollable()) the frame will calculate the allowed scroll amount by it's childrens object's position+height unless you are using :setScrollAmount()
2022-08-12 12:06:33 +02:00
Robert Jelic
6dcd4c2427 changed eventHandler
- the event handler is now only listening to necessary events, which makes the overall event loop much smaller and makes other stuff also possible
- base frame is now auto. resizing
- setMoveable -> setMovable

Note: There may be some (ofc expected) bugs..
2022-08-12 01:52:06 +02:00
Robert Jelic
5f76a059cc Small improvements
- added term_resize event for craft os pc
- added auto resize on baseframe until you use :setSize()
- added auto max. scrollheight (it will be automatically calculated based on the frames children positions) you can cancel that when using :setMaxScroll()
2022-07-30 19:02:14 +02:00
Robert Jelic
a19cddfc37 Update basaltPackager.lua 2022-07-29 23:03:50 +02:00
Robert Jelic
00f3267901 update
updated dev branch to master changes
added bugfix for basalt.update
2022-07-29 00:56:32 +02:00
Robert Jelic
4782360bb6 bugfixes
-fixed bug where dynamicvalue table increases which makes the program very laggy
- improved focuslose/focusget events
2022-07-24 23:16:04 +02:00
Robert Jelic
ae8c9dd64b test 2022-07-24 19:51:14 +02:00
Robert Jelic
09e640d845 Update Object.lua 2022-07-24 19:38:53 +02:00
Robert Jelic
25baa2fc22 Update Frame.lua 2022-07-24 19:27:41 +02:00
Robert Jelic
738ad2576e bugfix
- some offset bugfixes
- reworked dynamic values - % got removed for now, now you are able to use parent.w*0.8 instead of 80% - but you are also able to use objectid.x/y/w/h
2022-07-23 21:57:34 +02:00
Robert Jelic
ea36b124be Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2022-07-18 16:46:01 +02:00
Robert Jelic
9d10e95fae docs 2022-07-18 16:45:59 +02:00
Robert Jelic
dbfa91dc28 Update Basalt.md 2022-07-18 14:16:29 +02:00
Robert Jelic
6ab840cb1c Update Basalt.md 2022-07-18 14:11:37 +02:00
Robert Jelic
8157c025ea docs again 2022-07-18 13:58:43 +02:00
Robert Jelic
af34fa1a18 docs 2022-07-17 23:17:28 +02:00
Robert Jelic
dfc53658f1 Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2022-07-17 22:39:13 +02:00
Robert Jelic
01412b4c55 docs 2022-07-17 22:37:32 +02:00
Robert Jelic
3107a7adb8 Update Frame.md 2022-07-17 20:24:09 +02:00
Robert Jelic
3819c14c08 Update README.md 2022-07-17 19:33:13 +02:00
Robert Jelic
8242f7868d Delete geometric.lua 2022-07-17 19:25:17 +02:00
Robert Jelic
f6cdd02270 Delete Lerp.lua 2022-07-17 19:24:58 +02:00
Robert Jelic
4d66e2778f Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2022-07-17 19:20:06 +02:00
Robert Jelic
b940ef7154 added new features
-remade animation
-added xml support
-finished dynamic values
-added new object: graphic
-added themes for frames
-textfield got some basic improvements to create coding editors
2022-07-17 19:20:02 +02:00
Robert Jelic
3e89e73c64 Update Basalt.md 2022-07-12 22:33:53 +02:00
Robert Jelic
fca756888c Update Basalt.md 2022-07-12 22:30:29 +02:00
Robert Jelic
3b33bb7009 small path fix 2022-07-10 19:18:58 +02:00
Robert Jelic
e98c552fa1 Update Basalt.md 2022-07-09 06:35:30 +02:00
Robert Jelic
21b261332d Update Basalt.md 2022-07-08 22:33:37 +02:00
Robert Jelic
f16a32da1a Update Basalt.md 2022-07-08 22:32:22 +02:00
Robert Jelic
842352b473 Update Basalt.md 2022-07-08 22:31:50 +02:00
Robert Jelic
5505e4f3e8 Update main.lua 2022-07-08 21:23:40 +02:00
Robert Jelic
22274b402e Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2022-07-08 21:06:25 +02:00
Robert Jelic
c6d7929741 small bugfix 2022-07-08 21:06:12 +02:00
Robert Jelic
5bd827618d bugfix
fixed bug where bpm was always creating a single file version
2022-07-08 19:53:15 +02:00
Robert Jelic
b78bf92cca Merge branch 'master' of https://github.com/Pyroxenium/Basalt 2022-07-08 19:46:33 +02:00
Robert Jelic
cbdf439791 fixed monitors, added setIndex4scrollbars, added dynamic values 2022-07-08 19:46:28 +02:00
Robert Jelic
022bef3b03 Update README.md 2022-07-08 19:43:53 +02:00
Robert Jelic
5f9060dae3 Update basaltPreview.lua 2022-07-06 20:52:16 +02:00