I am working with Projucer and i want to add objects to my component with a buttonclick. When they are added to the Component, i want to drag them arround and measure thier position. Is there a simple way to do this in JUCE?
I have got three Components:
In my Program component I have got a JUCE-Viewport with the View component showing. The Data component is initialized in the View. With a Buttonklick in the Program component I want to add an image to the View component where I can drag it arround. In the Data Component i want to read the positions form the View´s Objects.
My Question is, how can I make dragable Objects in a JUCE component while runtime. I do not want full code provided, but I did not found anything in the internet.