Gin
Loading...
Searching...
No Matches
Assets Namespace Reference

SVG path data strings for common UI icons. More...

Variables

juce::String next
juce::String prev
juce::String add
juce::String del
juce::String browse
juce::String menu
juce::String info
juce::String voice
juce::String cpu
juce::String power
juce::String panic
juce::String retrigger
juce::String caretDown
juce::String disk
juce::String pencil
juce::String undo
juce::String redo
juce::String bipolar

Detailed Description

SVG path data strings for common UI icons.

Assets namespace contains SVG path strings for standard UI icons used throughout the Gin plugin framework. These can be used with SVGButton, Path::parsePathString(), or DrawablePath to create scalable icons without requiring external image files.

Available Icons:

  • Navigation: next, prev, add, del, browse
  • UI Controls: menu, info, caretDown
  • System: voice, cpu, power, panic, retrigger
  • File Operations: disk, pencil, undo, redo
  • Modulation: bipolar

All icons are defined as SVG path strings that can be parsed and rendered at any size without loss of quality.

Usage:

// Create a next button
auto nextButton = new SVGButton("Next", Assets::next);
// Or use with Path
juce::Path iconPath;
iconPath.parsePathString(Assets::undo);
g.fillPath(iconPath);
// With DrawablePath
auto drawable = new juce::DrawablePath();
drawable->setPath(juce::Drawable::parseSVGPath(Assets::menu));
Button that displays an SVG graphic instead of or alongside text.
Definition gin_svgbutton.h:45
juce::String menu
juce::String undo
juce::String next
See also
SVGButton, juce::Path, juce::DrawablePath

Variable Documentation

◆ next

juce::String Assets::next
extern

◆ prev

juce::String Assets::prev
extern

◆ add

juce::String Assets::add
extern

◆ del

juce::String Assets::del
extern

◆ browse

juce::String Assets::browse
extern

◆ menu

juce::String Assets::menu
extern

◆ info

juce::String Assets::info
extern

◆ voice

juce::String Assets::voice
extern

◆ cpu

juce::String Assets::cpu
extern

◆ power

juce::String Assets::power
extern

Referenced by ParamBox::addEnable().

◆ panic

juce::String Assets::panic
extern

◆ retrigger

juce::String Assets::retrigger
extern

◆ caretDown

juce::String Assets::caretDown
extern

◆ disk

juce::String Assets::disk
extern

◆ pencil

juce::String Assets::pencil
extern

◆ undo

juce::String Assets::undo
extern

◆ redo

juce::String Assets::redo
extern

◆ bipolar

juce::String Assets::bipolar
extern