StandardDialog
Extends Group
The StandardDialog node is the base for Roku's pre-built standard message, keyboard, pinpad, and progress dialogs. It can also be used directly with a custom dialog structure built with the StdDialogItem nodes.
Fields
Field | Type | Default | Access Permission | Description |
|---|---|---|---|---|
width | float | 0.0f | READ_WRITE | Sets the width of the dialog:
|
height | float | 0.0f | READ_WRITE | Sets the height of the dialog. |
buttonSelected | int | 0 | READ_ONLY | Indicates the index of the selected button when the user selects one of the buttons in the button area. |
buttonFocused | int | 0 | READ_ONLY | Indicates the index of the button that gained focus when the user moved the focus onto one of the buttons in the button area. |
palette | RSGPalette node | not set | READ_WRITE | Sets the color palette for the dialog's background, text, buttons, and other elements. |
close | boolean | false | WRITE_ONLY | Dismisses the dialog. The dialog is dismissed whenever the close field is set, regardless of whether the field is set to true or false. |
wasClosed | event | N/A | READ_ONLY | An event that indicates the dialog was dismissed. This event is triggered when one of the following occurs:
|
RSG Palette Color Node fields
Palette Color Name | Usages |
|---|---|
DialogBackgroundColor | Blend color for dialog's background bitmap. |
DialogItemColor | Blend color for the following items:
|
DialogTextColor | Color for the text in the following items:
|
DialogFocusColor | Blend color for the following:
|
DialogFocusItemColor | Color for the text of the focused button. |
DialogSecondaryTextColor | Color for the text of in the following items:
|
DialogSecondaryItemColor | Color for the following items:
|
DialogInputFieldColor | The blend color for the text edit box background bitmap for keyboards used inside dialogs. |
DialogKeyboardColor | The blend color for the keyboard background bitmap for keyboards used inside dialogs |
DialogFootprintColor | The blend color for the following items:
|
Updated 3 months ago
