For dragging, I think you need to use a background xypad. Thatās when things are starting to get complex. Lots of tounge-in-cheek class layout and area detection.
Just some small pointers that could save you some time:
Xypad snapback can be used to detect mouse release.
Super quick hiding/reshowing of a button will make the xypad catch the click (IIRC).
Thanks for your tool, well done, looks super slick. ! thing i would suggest ( if possible in the API ) is that a new note lane is created when we create a chord in the piano roll instead of having to manually doing it 1st in the tracker.
Window resize is currently not possible with the API. What i can do is adding fields for changing the grid size. Or maybe buttons for different predefined versions like (Small, Normal, XXL).
Scrolling / Pageswitch: you mean follow play cursor (auto scrolling, auto page switch)? Scrolling is possible for patterns longer than 64 lines, it should add a slider to the bottom, where you can scroll through your pattern.
At any time you can change the width or height of any object with āwidthā and āhightā. You can do it using the identifier of each object.
Navigating and modifying the window complicates the design of the tool, and should be studied before creating it. If the window is static, you will save yourself a lot of headaches.
Congratulations on the tool! You will see that creating new content is fun!
Thank you. Yeah i know. Thatās the reason, why iāve wrote that adding fields for changing the grid size would be a solution for this. When i read window resize, iām thinking about stuff like this. Dynamically change the window size using the window borders:
This is really nice. Though I wouldnāt try to hack the system, if the system doesnāt really allow you to do dragānādrop, scrolling or other required fundamentals, you only will frustrate yourself. Itās taktikās turn now.
My comment was referring to the current API, to create tools with LUA.
This will most likely never happen. In fact, if there was time to develop something new, it would be a good idea to invest it in further boosting the tracker, improving the automation editor, and other details. Renoise still has bugs that need to be fixed as well.
On the other hand, there are LUA programmers with great programming capacity. If there was a better API for building more complex things people would be surprised. Renoise is a very powerful DAW thanks also to its API for building tools.