Visual Styles Reference
Classes
BIVStyle
Attributes (9)
background (RenderAtom)
icon (RenderAtom)
iconalign (enum): vertical alignment of the icon within the content area (default: vcenter) - “left” or “right” additionally align an icon that has no value next to it
iconfillfactor (metric): size of the icon relative to the content area, aspect ratio is kept - more than 1 reaches beyond that area
iconleading (metric): icon is drawn before the value instead of after it
iconoverlay (metric): the icon overlays the value instead of taking away space from it
iconvaluespacing (metric): distance between the icon and the value
value (RenderAtom)
valuealign (enum): vertical alignment of the value within the content area, and horizontal alignment of the whole content (default: “textalign”)
Meta
Children: [ButtonStyle]
BasicStyle
Basic visual style attributes inherited by all other styles.
Attributes (9)
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Children: [BlockViewStyle] [DialogBuilderStyle] [DialogGroupStyle] [DividerStyle] [DropBoxStyle] [HeaderViewStyle] [ImageViewStyle] [ItemViewStyle] [KnobStyle] [LabelStyle] [ListViewStyle] [MenuBarControlStyle] [MenuControlStyle] [PageControlStyle] [PopupSelectorStyle] [ProgressBarStyle] [RangeSliderStyle] [SceneView3DStyle] [ScrollBarStyle] [ScrollButtonStyle] [ScrollPickerStyle] [ScrollViewStyle] [SegmentBoxStyle] [SliderStyle] [TabViewStyle] [TextBoxStyle] [ToolButtonStyle] [TriVectorPadStyle] [UpDownButtonStyle] [ValueBarStyle] [VectorPadStyle] [WindowBackgroundStyle]
BlockViewStyle
See also: [BlockView]
Attributes (10)
selectioncolor (color): background color for selected ranges
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
CheckBoxStyle
Draws an image that shows the parameter state (typically a checkmark) and an additional title besides the image.
See also: [CheckBox]
Attributes (11)
checkboxrightside (metric): if this is set (“1”), the checkbox is drawn algined to the right side of the view rect
mixedicon (image): fallback when no mixedicon at the checkbox is defined
Inherited from [BIVStyle]
background (RenderAtom)
icon (RenderAtom)
iconalign (enum): vertical alignment of the icon within the content area (default: vcenter) - “left” or “right” additionally align an icon that has no value next to it
iconfillfactor (metric): size of the icon relative to the content area, aspect ratio is kept - more than 1 reaches beyond that area
iconleading (metric): icon is drawn before the value instead of after it
iconoverlay (metric): the icon overlays the value instead of taking away space from it
iconvaluespacing (metric): distance between the icon and the value
value (RenderAtom)
valuealign (enum): vertical alignment of the value within the content area, and horizontal alignment of the whole content (default: “textalign”)
Meta
Parents: [ButtonStyle] <- [BIVStyle]
ComboBoxStyle
A ComboBox is drawn like a SelectBox - see the SelectBoxRenderer for the atoms and the layout, including the “button” image that indicates the popup.
Description
Only the value text differs: it comes from the edit parameter instead of the select parameter, and it is hidden while the ComboBox is edited, because the edit control draws it then.
See also: [ComboBox]
Attributes (10)
Inherited from [TextBoxStyle]
text (RenderAtom): the displayed string
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): the background image and the frame around it
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [SelectBoxStyle] <- [TextBoxStyle] <- [BasicStyle]
DialogBuilderStyle
Attributes (10)
noDialogFrame (metric): overrides the global configuration variable GUI. StandardDialog.UseDialogFrame for a dialog.
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
DialogGroupStyle
A dialog group draws a background image and optional title.
Description
The style contains 2 images “Image” and “SecondaryImage”, that can be selected via the option “primary” or “secondary”. If the DialogGroup has a title, it is drawn at the top edge.
See also: [DialogGroup]
Attributes (14)
Image (image): used when options “primary” is set (or as default)
SecondaryImage (image): used when options “secondary” is set
headergap (metric): a gap between the header and body is left of “headergap” pixels
headerheight (metric): height of text rectangle when title is drawn
headerlinecolor (color): color for simple divider line between header and body when there is no headergap
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
DividerStyle
A divider draws a background image, and optionally a handle centered on top.
See also: [Divider]
Attributes (13)
hGrip (image): handle for a horizontal divider
hImage (image): background for a horizontal divider
vGrip (image): handle for a vertical divider
vImage (image): background for a vertical divider
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
DropBoxStyle
Attributes (12)
freespace (metric): free space after last item
noSnap (metric): don’t snap to views size
spacing (metric): spacing between items
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
EditBoxStyle
An EditBox is drawn just like a TextBox.
See also: [EditBox]
Attributes (10)
Inherited from [TextBoxStyle]
text (RenderAtom): the displayed string
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): the background image and the frame around it
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [TextBoxStyle] <- [BasicStyle]
Children: [ValueBoxStyle]
HeaderViewStyle
A headerView draws column headers for each column of a column list.
Description
The “backgound” image is draw in each column rectangle, and the column title is drawn in top.
Attributes (11)
backcolor.spacing (color): color for the space between two columns
spacing (metric): space between two columns
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ImageViewStyle
See also: [ImageView]
Attributes (9)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): draws the image - its “color” colorizes a template or an adaptive image, and fills the view when there is no image (“colorize” option)
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ItemViewStyle
Attributes (39)
backcolor2 (color): used to draw alternating backgrounds, the other color is “backcolor”
columnWidth.xxx (metric): overrides the default width (in pixels) for the column with name “xxx”
folderIcon (image): icon for folder items (closed)
headerViewStyle (string): name of a visualStyle for the header view
highQualityMode (metric): set highQualityMode for image interpolations
iconcolor (color): color to colorize icons of unselected items
margin (metric): margin (in pixels) of itemview content
menu.separatorcolor (color): color of separating line for menu separators
openFolderIcon (image): icon for open folder items
rowHeight (metric): height of rows (in pixels)
scrollRows (metric): how many rows should scroll on mousewheel
scrolling.background (image): background for the whole view
selectediconcolor (color): color to colorize icons of selected items
selectedtextcolor (color): used instead of “textcolor” for selected items
selectionColor (color): used to fill a rectangle around selected items
separatorBeneath (metric): draw one pixel separator beneath items (on the bottom border - not below)
separatorcolor (color): color of separating line between rows
thumbnailFactor (metric): thumbnails exceeding the thumbnail limits will be scaled with this factor
thumbnailFrameColor (color): color of separating frame around thumbnails
thumbnailLimit.height (metric): thumbnails will be scaled down to (at least) this limit
thumbnailLimit.width (metric): thumbnails will be scaled down to (at least) this limit
thumbnailMarginV (metric): additional vertical margin for itemContent if thumbnails available
thumbnailPadding.bottom (metric): bottom padding for thumbnails
thumbnailPadding.left (metric): left padding for thumbnails
thumbnailPadding.top (metric): top padding for thumbnails
vSnapEnabled (metric): enable snapping to itemSize after scrolling
xxx.backcolor (color): custom background color for items of kind “xxx”
xxx.backcolor2 (color): custom alternating background color for items of kind “xxx”
xxx.rowHeight (metric): custom rowHeight for items of kind “xxx”
xxx.separatorcolor (color): custom separator line color for items of kind “xxx”
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
Children: [TreeViewStyle]
KnobStyle
See also: [Knob]
Attributes (38)
allowstretch (metric): allowstretch of background image (default is TRUE)
althilitecolor (color): color used to draw a circle from the current position to the current position of an optional offset parameter. Set via Knob attribute “referencename”.
circle (metric): a partial circle around the center is drawn. Same as Knob option “circle”. the circle color is the “hilitecolor” or set from the “colorname” parameter.
circle.indicatorwidth (metric): draw a partial circle indicator with the given width in degrees around the center. The circle indicator uses “indicatorcolor”.
circle.reversecolor (color): color used to draw a circle from the current position to range end
disabledoverlay (image): optional disabled overlay image to show an individual disabled state
filmstrip (metric): specifies that the “background” image should be used as a filmstrip. Same as Knob option “filmstrip”.
foreground (image): overlay image above the circle (alternative name “overlay” can be used)
framecount (metric): an external framecount can be used to repeat the existing filmstrip frames and reduce the overall memory footprint
indicator (metric): a line from the center to the end of the circle is drawn. Same as Knob option “indicator”. Color “indicatorcolor” is used.
indicatorcolor (color): color used for drawing the “indicator”
indicatormargin (metric): margin between view boudaries and indicator
indicatorwidth (metric): used when it should be different from the strokewidth (which is the default)
linearOffset (metric): used to remap filmstrip frames. LinearOffset is the optional offset used to transform the normalized value.
linearScaler (metric): used to remap filmstrip frames. LinearScaler is the slope used to transform the normalized value.
logscaler (metric): used to remap filmstrip frames. 1/logscaler * log(normalizedValue) is used to map frames onto a logarithmic curve.
margin (metric): margin between view boudaries and circle
overlay.filmstrip (metric): specifies that the “foreground” image should be used as a filmstrip
padding (metric): padding for background image, used if one of the paddings for left, top, right, bottom is not specified
padding.bottom (metric): bottom padding for background image
padding.left (metric): left padding for background image
padding.right (metric): right padding for background image
padding.top (metric): top padding for background image
range (metric): the range in degrees for circle and indicator
state1 (color): color used for drawing a special marker when the knob’s visual state is 1
state2 (color): color used for drawing a special marker when the knob’s visual state is 2
state3 (color): color used for drawing a special marker when the knob’s visual state is 3
topoverlay (image): topoverlay image (above the indicator)
topoverlay.filmstrip (metric): specifies that the “topoverlay” image should be used as a filmstrip
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (metric): color used to draw a circle from the range start to range end (when no overlay is used)
hilitecolor (color): color used to draw a circle from range start to the current position
strokewidth (metric): strokewidth of the optional circle
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
LabelStyle
A label draws it’s title using the style’s “textfont”, “textcolor”, and “textalignment” (for single line text) or “textoptions” (for multiline text).
See also: [Label]
Attributes (9)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ListViewStyle
Attributes (35)
icons.background (image): for “viewtype=icons”: draw background for each cell (use second frame for selection)
icons.dataheight (metric): for “viewtype=icons”: height of icon
icons.dataleft (metric): for “viewtype=icons”: left of icon inside item rectangle
icons.datatop (metric): for “viewtype=icons”: top of icon inside item rectangle
icons.datawidth (metric): for “viewtype=icons”: width of icon
icons.fixedColumns (metric): for “viewtype=icons”: use a fixed number of columns
icons.height (metric): for “viewtype=icons”: total height of one item
icons.iconsethalfsize (metric): for “viewtype=icons”: alternative way of displaying iconset images in half-size
icons.mirrored (metric): for “viewtype=icons”: draw icon columns in reverse order
icons.multiLineTitle (metric): for “viewtype=icons”: draw title as multiline text
icons.showthumbnails (metric): for “viewtype=icons”: draw thumbnails (if available) instead of icons,
icons.textfont (string): for “viewtype=icons”: optional alternative font in icons mode (falls back to “textfont” if not specified)
icons.textheight (metric): for “viewtype=icons”: height of title
icons.textleft (metric): for “viewtype=icons”: left of title inside item rectangle
icons.texttop (metric): for “viewtype=icons”: top of title inside item rectangle
icons.textwidth (metric): for “viewtype=icons”: width of title
icons.width (metric): for “viewtype=icons”: total width of one item
list.dataheight (metric): for “viewtype=list”: height of list
list.dataleft (metric): for “viewtype=list”: left of list inside item rectangle
list.datatop (metric): for “viewtype=list”: top of list inside item rectangle
list.datawidth (metric): for “viewtype=list”: width of list
list.itembackground (image): for “viewtype=list”: draw background for every unselected item in the list as an image
list.padding.bottom (metric): for “viewtype=list”: bottom padding of list
list.selectionbackground (image): for “viewtype=list”: draw background for a selected item as an image
list.textalign (enum): for “viewtype=list”: set text alignment for cells (default: kLeftCenter)
list.textmargin (metric): for “viewtype=list”: left text margin in cell
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
PageControlStyle
A PageControl draws a row of dots, with one dot per scroll page.
See also: [PageControl]
Attributes (11)
dot (image): dot image with frames “normal” and “normalOn” for the current page
spacing (metric): spacing (in pixels) between the dots
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): image drawn undeneath the dots
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
PopupSelectorStyle
Attributes (12)
popup.minwidth (metric): the popup’s minwidth sizelimit - used to override the default sizelimit (the width of the PopupBox)
popup.offset.x (metric): an additional horizontal offset to the popup position, applied when opened from SelectBox or PopupBox
popup.offset.y (metric): an additional vertical offset to the popup position, applied when opened from SelectBox or PopupBox
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ProgressBarStyle
A Progres bar draws a bar that reflects the parameter value over a background.
See also: [ProgressBar]
Attributes (11)
foreground (image): used to draw a bar over the background that reflects the parameter value
indicator (image): drawn at the boundary between the background and the bar
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
RangeSliderStyle
A Range Slider draws two handle moving over a background.
See also: [RangeSlider]
Attributes (13)
hHandle2 (image): handle (horizontal slider)
hSmallHandle2 (image): handle (horizontal slider with option “small”)
vHandle2 (image): handle (vertical slider)
vSmallHandle2 (image): handle (vertical slider with option “small”)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
RenderAtom
Attributes (18)
bordercolor (color)
borderleftbottomradius (metric)
borderlefttopradius (metric)
borderrightbottomradius (metric)
borderrighttopradius (metric)
borderwidth (metric)
color (color)
contrastcoloralphablend (color)
contrastcolorbright (color)
contrastcolordark (color)
contrastcolortransparent (color)
image (image)
imageframe (metric)
offsetx (metric)
offsety (metric)
opacity (metric)
rotation (metric)
scale (metric)
SceneView3DStyle
See also: [SceneView3D]
Attributes (11)
camera (string)
multisamplingfactor (metric)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ScrollBarStyle
A Scrollbar indicates the scrolling position of a scroll view.
Description
A scroll bar has a background, up/down buttons (vertical) and a handle (thumb).
See also: [ScrollBar]
Attributes (22)
clipBackground (metric): background is only drawn outside of handle area
hBack (image): background (horizontal bar)
hButtonDown (image): “right” button (horizontal bar)
hButtonUp (image): “left” button (horizontal bar)
hSmallBack (image): background (horizontal bar with option “small”)
hSmallThumb (image): small handle (horizontal bar with option “small”)
hThumb (image): handle (horizontal bar)
vBack (image): background (vertical bar)
vButtonDown (image): “down” button (vertical bar)
vButtonUp (image): “up” button (vertical bar)
vSmallBack (image): background (vertical bar with option “small”)
vSmallThumb (image): small handle (vertical bar with option “small”)
vThumb (image): handle (vertical bar)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ScrollPickerStyle
Attributes (20)
barrelTextColor (color): textcolor for the neighboring unselected values on the barrel
barrelTextFont (string): barrel font
centerBackcolor (color): backcolor for the center view
centerOffset (metric): optional vertical/horizontal offset of the center view - default is (clientSize - centerSize) / 2
centerOverlayImage (image): additional optional overlay for the center view
centerSize (metric): optional height/width of the vertical/horizontal center view, where the current value is displayed
centerTextColor (color): textcolor for the center view
centerTextFont (string): center view font
gradientThickness (metric): thickness of the fade-out area at the border of the barrel
itemSize (metric): optional explicit item size (height/width in vertical/horizontal case)
minimalEditWidth (metric): optional minimal width for the horizontal scrollpicker edit control
Inherited from [BasicStyle]
backcolor (color): backcolor for the control
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ScrollViewStyle
Attributes (15)
borderSize (metric): size (in pixels) of an optional border
buttonSize (metric): size of scroll buttons in pixels. For example: width for a vertical button.
buttonSpacing (metric): spacing between scroll buttons and scrollview edge
inertialDuration (metric): duration in seconds for inertial motion after user release the scrollview (not supported on all platforms)
scrollBarSize (metric): size of scrollbars in pixels. For example: width for a vertical bar.
snapDepth (metric): limits the view recursion depth for option “snapviewsdeep” (default: unlimited)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
SegmentBoxStyle
See also: [SegmentBox]
Attributes (12)
state1 (color): alternative text color when the parameter’s visual state is 1
state2 (color): alternative text color when the parameter’s visual state is 2
state3 (color): alternative text color when the parameter’s visual state is 3
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
SelectBoxStyle
If option “transparent” is not set, a SelectBox draws a background image.
Description
When no image is specified, it is filled in “backcolor”, and a rectangular frame in color “forecolor” can be drawn with option “border”.
A SelectBox uses the same render atoms as a Button: the “background” atom draws the background, the “icon” atom draws the popup button, and the “value” atom draws the text.
The background image shows the current parameter value when it has no element state frames: each of its frames stands for one (integer) value then, like the frames of a MultiToggle button. Such a state image covers the whole control, so it is usually opaque.
The popup button is pinned to an edge of the area left by “padding”, like the icon of a Button, and the value keeps a distance of “iconvaluespacing” to it. The edge is the horizontal part of “iconalign”: left and right pin the button, centered leaves it unpinned - which only shows when the text is hidden or “iconoverlay” is set, because otherwise the button is pinned to the trailing edge to keep the space for the text. With hidden text, an unpinned button is centered within the whole control, ignoring “padding”. When the parameter provides an image itself, the “value” atom draws this image instead of the text.
A color parameter (“colorname”) only affects the “value” and the “icon” atom when the atom has a “contrastcolorbright” or a “contrastcoloralphablend”. Unlike a Button or a TextBox, a SelectBox never draws them in the color of the parameter itself.
See also: [SelectBox]
Attributes (10)
Inherited from [TextBoxStyle]
text (RenderAtom): the displayed string
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): the background image and the frame around it
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [TextBoxStyle] <- [BasicStyle]
Children: [ComboBoxStyle]
SliderStyle
A Slider draws handle moving over a background.
See also: [Slider]
Attributes (29)
centerlinecolor (color): color for a centerline, when the parameter is bipolar and style is “bargraph”
centerlinewidth (metric): width for the centerline
disabledHandleColor (color): color to colorize the handle, when the parameter is disabled (usually handles are not drawn in this case)
hBack (image): background image (horizontal slider) - with optional frames (see above)
hDeepBack (image): additional background (horizontal slider)
hHandle (image): handle (horizontal slider) - with optional frames (see above)
hSmallBack (image): background image (horizontal slider with option “small”) - with optional frames (see above)
hSmallHandle (image): handle (horizontal slider with option “small”) - with optional frames (see above)
handleColor (color): color to colorize the handle, when the parameter is bipolar and style is “bargraph”
margin (metric): margin between handle and view edges in min/max handle positions
scaleHandle (metric): when handles are too big or small they are scaled with respect to their aspectratio
touchFineMaxScale (metric): max finescale factor (0…1)
touchFineMaxSpeed (metric): upper bound for finescale factor interpolation
touchFineMinScale (metric): min finescale factor (0…1)
touchFineMinSpeed (metric): lower bound for finescale factor interpolation
vBack (image): background image (vertical slider) - can have optional second frame for on-state of style “bargraph” - optional “disabled” on-state frame cannot be the first one
vDeepBack (image): additional background (vertical slider)
vHandle (image): handle (vertical slider) - can have optional second “pressed” frame - and optional third “mouseover” frame - optional “disabled” frame cannot be the first one
vSmallBack (image): background image (vertical slider with option “small”) - with optional frames (see above)
vSmallHandle (image): handle (vertical slider with option “small”) - with optional frames (see above)
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
TabViewStyle
See also: [TabView]
Attributes (26)
header (RenderAtom): the strip behind the tabs
iconvaluespacing (metric): distance between the icon and the title of a tab
margin (metric): distance between the edges of the content area and the child view of the active tab
padding (metric): padding for the icon and the title of a tab, used if one of the paddings for left, top, right, bottom is not specified
padding.bottom (metric): bottom padding for the icon and the title of a tab
padding.left (metric): left padding for the icon and the title of a tab
padding.right (metric): right padding for the icon and the title of a tab
padding.top (metric): top padding for the icon and the title of a tab
popupextended (metric): displays the menu as an extended menu instead of the default tree menu
tab.background (RenderAtom): the background of a tab - the “left”, “middle”, “right” and “menu” style conditions select its position within the row (a single tab has none of them), “on”, “mouseover”, “pressed” and “disabled” its state, the first three also the named frame of its image
tab.icon (RenderAtom): the icon of a tab - a tab without an icon of its own (like the menu button) shows the image of this atom, resolved with the “middle” or “menu” condition alone
tab.menuicon (RenderAtom): the menu icon the active tab displays (“tabmenu” option)
tab.value (RenderAtom): the title of a tab
tabheight (metric): height of the tabs
tabmenuspacing (metric): distance between the title and the menu icon of the active tab
tabprefericon (metric): a tab that has an icon shows only that icon
tabspacing (metric): spacing between the tabs
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): the content area next to the tabs
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
TextBoxStyle
If option “transparent” is not set, a TextBox draws a background image.
Description
When no image is specified, it is filled with the background color. A frame around it is defined by “background.bordercolor” and “background.borderwidth”, rounded by the four “background.border[left,right,top,bottom]radius” metrics - the radii also clip the background The text is drawn with an optional “padding”.
See also: [TextBox]
Attributes (10)
text (RenderAtom): the displayed string
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): the background image and the frame around it
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
Children: [EditBoxStyle] [SelectBoxStyle]
TreeViewStyle
Attributes (43)
expandSize (metric): size of expand symbol (same width & height)
iconSize (metric): size of item icons (same width & height)
itemInset (metric): inset (in pixels) per tree depth level
leafInset (metric): additional inset for leaf items
Inherited from [ItemViewStyle]
backcolor2 (color): used to draw alternating backgrounds, the other color is “backcolor”
columnWidth.xxx (metric): overrides the default width (in pixels) for the column with name “xxx”
folderIcon (image): icon for folder items (closed)
headerViewStyle (string): name of a visualStyle for the header view
highQualityMode (metric): set highQualityMode for image interpolations
iconcolor (color): color to colorize icons of unselected items
margin (metric): margin (in pixels) of itemview content
menu.separatorcolor (color): color of separating line for menu separators
openFolderIcon (image): icon for open folder items
rowHeight (metric): height of rows (in pixels)
scrollRows (metric): how many rows should scroll on mousewheel
scrolling.background (image): background for the whole view
selectediconcolor (color): color to colorize icons of selected items
selectedtextcolor (color): used instead of “textcolor” for selected items
selectionColor (color): used to fill a rectangle around selected items
separatorBeneath (metric): draw one pixel separator beneath items (on the bottom border - not below)
separatorcolor (color): color of separating line between rows
thumbnailFactor (metric): thumbnails exceeding the thumbnail limits will be scaled with this factor
thumbnailFrameColor (color): color of separating frame around thumbnails
thumbnailLimit.height (metric): thumbnails will be scaled down to (at least) this limit
thumbnailLimit.width (metric): thumbnails will be scaled down to (at least) this limit
thumbnailMarginV (metric): additional vertical margin for itemContent if thumbnails available
thumbnailPadding.bottom (metric): bottom padding for thumbnails
thumbnailPadding.left (metric): left padding for thumbnails
thumbnailPadding.top (metric): top padding for thumbnails
vSnapEnabled (metric): enable snapping to itemSize after scrolling
xxx.backcolor (color): custom background color for items of kind “xxx”
xxx.backcolor2 (color): custom alternating background color for items of kind “xxx”
xxx.rowHeight (metric): custom rowHeight for items of kind “xxx”
xxx.separatorcolor (color): custom separator line color for items of kind “xxx”
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [ItemViewStyle] <- [BasicStyle]
TriVectorPadStyle
See also: [TriVectorPad]
Attributes (23)
handle (image): handle image
handleColor (color): color for the handle when no image is provided
handlesize (metric): size where handle can be clicked (in pixels) when handle is drawn as a circle (no “handle” image)
handlethickness (metric): width of pen in pixels when handle is drawn as a circle (no “handle” image)
padding (metric): padding fallback
padding.bottom (metric): bottom padding triangle base (or peak if upside down)
padding.left (metric): left padding for triangle base
padding.right (metric): right padding for triangle base
padding.top (metric): top padding triangle peak (or base if upside down)
peakpadding.left (image): left padding for triangle peak
snapPointColor (color): color for the snap point highlights
snapsize (metric): size of the snappoint at corner (or at the edge-center when “invert” option is set)
triangle (image): triangle image
triangleColor (color): color of the triangle when no image is provided
Inherited from [BasicStyle]
backcolor (color): backcolor when no image is provided
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ValueBarStyle
Displays a value as a horizontal or verical bar.
Description
If no image is specified, “forecolor” and “backcolor” are used to draw the bar and the background as a filled rectangle.
See also: [ValueBar]
Attributes (14)
centerlinecolor (color): color for a centerline, when the parameter is bipolar
centerlinewidth (metric): width for the centerline
colorize.hilite (metric): use hilitecolor or colorparam color if applicable to colorize the hiliteimage
hilitecolor.alphablend (color): the non-transparent “colorname” color will be alphablended with this color (using “color.alphablend” as fallback) and used to colorize the hiliteimage
hilitecolor.transparent (color): hilitecolor. Transparent is used when colorize.hilite is set and the current color from colorparam is transparent.
Inherited from [BasicStyle]
backcolor (color): the background valuebar color when no valueBarImage is available
background (image): used to draw the background (frame “normal”) and bar (frame “normalOn”)
forecolor (color): color used for foreground elements
hilitecolor (color): the active valuebar color (using “forecolor” as fallback) - also used to colorize the valueBarImage when “colorize.hilite” is true
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
ValueBoxStyle
Drawn like an EditBox.
See also: [ValueBox]
Attributes (10)
Inherited from [TextBoxStyle]
text (RenderAtom): the displayed string
Inherited from [BasicStyle]
backcolor (color): backgound color
background (RenderAtom): the background image and the frame around it
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [EditBoxStyle] <- [TextBoxStyle] <- [BasicStyle]
VectorPadStyle
See also: [VectorPad]
Attributes (17)
crosshair (color): draw crosshair
crosshair.color (color): color for crosshair
drawlabels (metric): draws labels with min / max values for both parameters
handle (image): handle
handlecolor (color): used when “handle” image is not available
handlesize (metric): size where handle can be clicked (in pixels) when handle is drawn as a circle (no “handle” image)
handlethickness (metric): width of line in pixels) when handle is drawn as a circle (no “handle” image)
reference.color (color): used to draw the second frame of the “background” image, when the luminacnce of this “reference.color” is > 0. 5f.
Inherited from [BasicStyle]
backcolor (color): used when “back” image is not available
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): used for “drawlabels”
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
WindowBackgroundStyle
Draws a background image.
Description
Two separate images can be specified for normal windows and dialogs. if no image is available, “backcolor” is used.
Attributes (11)
DialogBack (image): used when window is a dialog
WindowBack (image): used when window is not a dialog
Inherited from [BasicStyle]
backcolor (color): backgound color
background (image): background image
forecolor (color): color used for foreground elements
hilitecolor (color): color used for a hilite state
strokewidth (metric): width in pixels used when lines are drawn
textalign (enum): alignment of text
textcolor (color): color used for drawing text
textfont (string): font used for drawing text
textoptions (enum): additional options for drawing text. Supported option: “wordbreak” (for multiline text).
Meta
Parents: [BasicStyle]
Enums
DefaultColors
Enumerators
aliceblue
antiquewhite
aqua
aquamarine
azure
beige
bisque
black
blanchedalmond
blue
blueviolet
brown
burlywood
cadetblue
chartreuse
chocolate
coral
cornflowerblue
cornsilk
crimson
cyan
darkblue
darkcyan
darkgoldenrod
darkgray
darkgreen
darkgrey
darkkhaki
darkmagenta
darkolivegreen
darkorange
darkorchid
darkred
darksalmon
darkseagreen
darkslateblue
darkslategray
darkslategrey
darkturquoise
darkviolet
deeppink
deepskyblue
dimgray
dimgrey
dodgerblue
firebrick
floralwhite
forestgreen
fuchsia
gainsboro
ghostwhite
gold
goldenrod
gray
green
greenyellow
grey
honeydew
hotpink
indianred
indigo
ivory
khaki
lavender
lavenderblush
lawngreen
lemonchiffon
lightblue
lightcoral
lightcyan
lightgoldenrodyellow
lightgray
lightgreen
lightgrey
lightpink
lightsalmon
lightseagreen
lightskyblue
lightslategray
lightslategrey
lightsteelblue
lightyellow
lime
limegreen
linen
magenta
maroon
mediumaquamarine
mediumblue
mediumnightblue
mediumorchid
mediumpurple
mediumseagreen
mediumslateblue
mediumspringgreen
mediumturquoise
mediumvioletred
mintcream
mintyrose
moccasin
navajowhite
navy
oldlace
olive
olivedrab
orange
orangered
orchid
palegoldenrod
palegreen
paleturquoise
palevioletred
papayawhip
peachpuff
peru
pink
plum
powderblue
purple
red
rosybrown
royalblue
saddlebrown
salmon
sandybrown
seagreen
seashell
sienna
silver
skyblue
slateblue
slategray
slategrey
snow
springgreen
steelblue
tan
teal
thistle
tomato
turquoise
violet
wheat
white
whitesmoke
yellow
yellowgreen
StandardStyles
Enumerators
BlockView
Button
CheckBox
ComboBox
ContextMenu
DialogGroup
Divider
EditBox
H1
H2
H3
H4
H5
H6
HeaderView
Knob
Label
ListView
MenuBarControl
MenuControl
PageControl
PalettePopup
PerspectiveSwitcher
PopupMenu
PopupMenuLarge
ProgressBar
RadioButton
RangeSlider
ScrollBar
ScrollButton
ScrollPicker
SegmentBox
SelectBox
Slider
TabView
TextBox
TreeView
TriVectorPad
UpDownBox
ValueBar
ValueBox
VectorPad
WindowBackground
ThemeColors
Enumerators
AlphaCursorColor
AlphaSelectionColor
HyperlinkColor
ListViewBackColor
PushButtonTextColor
SelectionColor
SelectionTextColor
TooltipBackColor
TooltipTextColor
ThemeCursors
Enumerators
ArrowCursor
CopyCursor
CrosshairCursor
GrabCursor
GrabbingCursor
NoDropCursor
PointhandCursor
SizeDownCursor
SizeHorizontalCursor
SizeLeftCursor
SizeLeftDownCursor
SizeLeftDownRightUpCursor
SizeLeftUpCursor
SizeLeftUpRightDownCursor
SizeRightCursor
SizeRightDownCursor
SizeRightUpCursor
SizeUpCursor
SizeVerticalCursor
TextCursor
WaitCursor
ZoomInCursor
ZoomOutCursor
ThemeElementImages
Enumerators
Button
CheckBox
RadioButton
TreeViewExpandButton
ThemeElementStates
Enumerators
disabled
focus
mouseover
normal
pressed
ThemeElementStatesOn
Enumerators
disabledOn
focus
mouseoverOn
normalOn
pressedOn
ThemeFonts
Enumerators
MenuFont
ThemeMetrics
Enumerators
Border
ButtonHeight
ButtonWidth
CheckBoxSize
DividerOutreach
DividerSize
HeaderHeight
Margin
ScrollBarSize
SliderHandleSize
Spacing
SystemMarginLeft
SystemMarginRight
SystemNavigationBarHeight
SystemStatusBarHeight
TextBoxHeight
TitleBarHeight