KUIML
Blue Cat's User Interface Programming Language
CURVE

Description

This element can be used to create custom curves which value can be set using links.

Inherited Attributes

See Attributes Common to All Elements.

Specific Attributes

Name Value Type Default Value Description Comment V. Exp.

name

string

Empty.

Displayed named of the curve.


1.1

No

comment

string

Empty.

description of the curve.


1.1

No

persistent

boolean

false

Sets the persistency of the curve.

When this property is set to 'true', the curve will be saved when closing the user interface and the value will be restored next time the user interface is opened.

1.3

No

Events

value_changed

event

the event is triggered anytime the value of the object has changed.

2.0

also, each axis has the same attributes as a PARAM element, with additional "x_" or "y_" prefix, according to the considered axis.

Examples

The following example creates a curve used to display spectrum information in dB:

<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.1">
	<CURVE name="spectrum" x_default="20" x_max="20000" x_min="20" x_unit="Hz" y_default="0" y_max="0" y_min="-60" y_unit="dB" />
</SKIN>