Raptor:Display Button Bar Setup Button: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to Screen Functions page [[File:RaptorDisplayButtonBarSetupButton.png|right|frame|Rapto…')
 
Line 119: Line 119:
| Indicates whether the previous and next ports are shown.
| Indicates whether the previous and next ports are shown.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Revision as of 13:25, 7 July 2014

Return to the main Raptor page

Return to Screen Functions page

Raptor™ Display Button Bar Setup Button

Description

This block sets the height and mode of the button bar. This block should be called in the Create_Background or Create_Foreground function of the screen definition.

Inputs

Input Type Description
Previous boolean Optional port used for enforcing the execution order of blocks.
Not Pressed image Optional port to specify image displayed when button is not pressed.
Pressed image Optional port to specify image displayed when button is pressed.
Line 1 String Optional port to specify second line of text for the button.
Line 2 String Optional port to specify first line of text for the button.
Color uint16 Optional port to specify color of text.

Outputs

Output Type Description
Next boolean Optional port used for enforcing the execution order of blocks.

Parameters

Parameter Type Description
Key Specify button to setup.
Images From Ports Specify images from input ports on block.
Not Pressed Image Specify button image when button is not pressed.
Select Image Opens file browser to select image file.
Pressed Image Specify button image when button is pressed.
Select Image Opens file browser to select image file.
Text From Ports Specify text from input ports on block.
Text Line 1 String Specify the first line of text for the button.
Text Line 2 String Specify the second line of text for the button.
Font Font to use when drawing text.
Height Number Height of text.
Color From Port Specify drawing color from input port on block.
Color Drawing color of text in hex.
Select Color This button opens the color chooser tool.
Show Prev/Next Ports Indicates whether the previous and next ports are shown.