Adding JUCE to an exisiting iOS/Android project


#1

Apologies if this is a duplicate. I have an existing openGL mobile project and I would like to use JUCE for a gui overlay. How could I just add the components I want to use (buttons sliders etc) on top of my existing 3D App? I’ve followed the tutorial of creating a new project, but if possible I would like to just use the GUI elements and not create a whole application window etc… What would be the minimum I’d have to add to the existing app?


#2

Probably the cleanest way would be to use a component like the juce-demo does, and to put your existing GL rendering code into the juce renderOpenGL() callback. Trying to overlay a juce view over your own existing view would be possible with a lot of low-level hackery, but would be very messy.