I Need Advice on Implementing Custom GUI Elements for HISE Plugin
-
Hello there,
I am developing a virtual instrument using HISE; and I have been experimenting with creating a custom GUI for it. While; I have made some progress; I am still struggling with a few aspects; and I was hoping to get some advice from the more experienced members; of this community.
I am aiming to design an interface; with custom sliders; buttons; and animations to really make the plugin stand out visually. Although; I am running into issues with integrating some of these elements smoothly.
I would like to implement a vertical slider with a different graphic; for each position. I have managed to add the slider; but it is not quite responding as expected. Is there a specific way to ensure smooth interpolation between positions; or am I missing something in the scripting?
I want to animate buttons when clicked; such as giving them a brief glow or a visual pulse effect. Is this achievable within HISE; and if so; how should I go about it? Are there performance implications I need to consider?
Also, I have gone through this post; https://forum.hise.audio/topic/3701/implement-aws-devops-juce-stretchable-gui-in-hise which definitely helped me out a lot.
I have seen some amazing interfaces that; incorporate external PNG files or vector graphics. Is there a best practice for loading and handling; these files within HISE for optimal performance?
Thanks in advance for your help and assistance.
-
@roberrrttt1 said in I Need Advice on Implementing Custom GUI Elements for HISE Plugin:
a vertical slider with a different graphic; for each position
Can you show an example?
@roberrrttt1 said in I Need Advice on Implementing Custom GUI Elements for HISE Plugin:
I want to animate buttons when clicked; such as giving them a brief glow or a visual pulse effect. Is this achievable within HISE; and if so; how should I go about it? Are there performance implications I need to consider?
You could use a timer. It's probably also possible using the new CSS system - but this is brand new so you won't find many examples on the forum. The more timers you have the more processing your plugin requires.
@roberrrttt1 said in I Need Advice on Implementing Custom GUI Elements for HISE Plugin:
PNG files or vector graphics
Always use vectors unless your design requires something that can't be done with vectors - but I would say in that case it's probably best to change your design.