HISE Docs

FrontEndMacroPanel


The front end Macro Panel

ID Default Value Description
Font Oxygen Bold Set the font type.
FontSize 14.0 Set the font size.


A list of all connected macro parameters. You have to enable the the functionality with Engine.setFrontendMacros .

This is the most convenient way of giving the user full control over the macro control assignments, but you can roll your own management solution using the Macrohandler Scripting API class that lets you manipulate the macro connections through a JSON object.

CSS Styling

The FrontEndMacroPanel can also be styled using the CSS renderer. This allows a far more in-depth customization than the scripted look and feel. In order to use the CSS renderer, register a LookAndFeel with a stylesheet to the FloatingTile and define the following selectors:

Selector Description
table Draws the background of the entire table. It also uses the margin and padding properties for positioning
th Draws the cells of the table header. Use the pseudo states :first-child and last-child to style the edges
tr Draws the background of a table row.
td Draws the content of a table cell (in this case the text of the first two columns).
button Renders the Inverted button. Use the width property to change the size of the button column.
.range-slider Renders the range sliders. Use the width property to change the size of the button column.
scrollbar Render the scrollbar that appears when the number of rows exceed the table height.

Layouting

In addition to the UI rendering, the CSS stylesheets will also be used for determining the positions & size of each element:

Note that the styling of this component is 100% identical to the styling of the MidiLearnPanel .