Pyroxenium / Basalt

A UI Framework for CC:Tweaked
MIT License
164 stars 28 forks source link

Support for Advanced Monitors #10

Closed Nick1st closed 2 years ago

Nick1st commented 2 years ago

Does this have support for advanced monitors?

Nick1st commented 2 years ago

Like, I mean not everything of course, but stuff like buttons, dropdowns, etc...

Erb3 commented 2 years ago

Does this have support for advanced monitors?

Yes, it supports all monitor types. Everything that works on non-monitor works on monitor. I have an example of a project I made that uses them: image

I do this by using: monitor right program. Where program is the name of the program. If you wish to do this programatically: shell.run("monitor right program")

Nick1st commented 2 years ago

Thanks for your reply. Would you mind sending me the program (via pastebin or such)?

NoryiE commented 2 years ago

Hello,

officially basalt doesn't support monitors right now. But, thats something which will change soon. However, Erb3's solution would work to solve the issue for now.

I promise, monitor support is something i will add soon.

Erb3 commented 2 years ago

Thanks for your reply. Would you mind sending me the program (via pastebin or such)?

Here is my startup.lua https://devbin.dev/rJumtNfR app.lua is just the normal program using basalt

Nick1st commented 2 years ago

Thank you, you really helped me out with that.

NoryiE commented 2 years ago

Hello, basalt officially supports monitors now. But monitors do ignore keyboard events. There is a trick if you need this feature, but i wont add it as a supported feature- atleast for now.