HISE Docs

Interface Designer

The Interface Designer is split into three parts:

Canvas

On the Canvas you can build your plugins Graphical User Interface. Here you can add UI Components to the interface with right-clicking on the canvas and selecting a component from the dropdown list.

With the Pen/Lock symbol in the Toolbar you can toggle between the Edit and Play -Mode [F4].

When you lock the interface into Play Mode you can use the UI Components as in a compiled plugin, test the sliders and the general layout. This is the same behaviour as the Interface Preview (house symbol) in the top-bar.

Behind the scenes the Interface consists of two parts:

The default File > New (Preset) file (HISE Preset , not to be confused with UserPresets ) already features a setup with a ScriptProcessor named Interface in the MIDIProcessor Tab of the Master Chain that is already connected to the Interface Designer.

Toolbar

The Toolbar features convenient helpers in building your interface.

Select and position UI Components

You can select components by clicking on them or dragging a lasso around many, for multiple selection. While holding the Command/Ctrl key you can add and delete components from the selection. To deselect all components, press the Escape key .

You can move the selected Components with Mouse Dragging or the Arrow Keys on your keyboard. The Modifier Keys change their effect depending on each method:

Modifier Key Arrows Keys Mouse Dragging
Cmd / Ctrl Move the component in a 10px grid 10px grid
Shift Change the width/height of the component Restrict the movement to horizontal / vertical
Alt - Duplicates the selected component

You have to start a Mouse drag before the Modifier Keys take effect.

You can combine Modifier Keys. Shift + Cmd + Right-Key will increase the selections component width by 10 pixels.

Component List

The Component List shows a list of all UI Components that have been added to the Interface. You can add new components in here, too.

The Z-order of the components starts on the top (background) and advances to the bottom (front).

You can group components into each other. Create a Panel or a Viewport and add or drag other components beneath them in the Component List. This will group components together, which makes it easy to implement page-like logic for complex projects.

The little star icon indicates if an UIComponent has its saveinPreset -property set to true or false. This indicates if the value of the component should be saved in UserPreset or not. Learn more about this in the User Presets chapter.

Property Editor

The Property Editor displays a list of all available properties of a selected component. All UI Components have the same core properties like ID and Component Size , but they may vary widely in their additional properties, depending on their specific use. Have a look at Plugin Components for a list of all Common-, and Component Specific properties .

When you select multiple components, the property change will affect all selected components. If the selection has varying property values, it will show an asterisk, indicating that you are editing multiple values.

Set the ID

The textbox in the top row is used to change the ID of the component. After changing the ID make sure to accept the change with [ENTER].

Bear in mind that the ID is ridiculously important for further processing - preset restoring, script referencing, resolving the UI parent hierarchy etc. - Try to pick a name once and stick to it because changing the ID later on will become more and more unpleasant over time.

Copying selected properties as JSON

On the top-right of the Property Editor you can find two litte icons for copy & pasting properties with a JSON dump. With this functionality you can transfer multiple property values to other UI Components without hustle.