Gin
Loading...
Searching...
No Matches
Images Class Reference

Asset manager for common plugin UI images and icons. More...

#include <gin_images.h>

Public Member Functions

 Images ()

Public Attributes

juce::Path monoPath
juce::Path polyPath
juce::Path powerPath

Detailed Description

Asset manager for common plugin UI images and icons.

Images provides pre-loaded juce::Path objects for commonly used icons in plugin interfaces. These paths can be used with SVG buttons and other components that render vector graphics.

Available Icons:

  • monoPath: Mono/monophonic mode icon
  • polyPath: Poly/polyphonic mode icon
  • powerPath: Power on/off icon

Usage:

Images images;
// Use with SVG button
SVGButton powerBtn("power", images.powerPath);
// Or draw directly
void paint(juce::Graphics& g)
{
g.fillPath(images.monoPath);
}
juce::Path monoPath
Definition gin_images.h:40
juce::Path powerPath
Definition gin_images.h:40
Button that displays an SVG graphic instead of or alongside text.
Definition gin_svgbutton.h:45
See also
SVGButton, PluginLookAndFeel

Constructor & Destructor Documentation

◆ Images()

Images::Images ( )

Member Data Documentation

◆ monoPath

juce::Path Images::monoPath

◆ polyPath

juce::Path Images::polyPath

◆ powerPath

juce::Path Images::powerPath

The documentation for this class was generated from the following file: