Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions shared/ScriptUI.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ declare class StaticText extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -914,7 +914,7 @@ declare class Button extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -990,7 +990,7 @@ declare class IconButton extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1048,7 +1048,7 @@ declare class Image extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1139,7 +1139,7 @@ declare class EditText extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1251,7 +1251,7 @@ declare class ListBox extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1361,7 +1361,7 @@ declare class DropDownList extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1525,7 +1525,7 @@ declare class Checkbox extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1623,7 +1623,7 @@ declare class Scrollbar extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1706,7 +1706,7 @@ declare class RadioButton extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1792,7 +1792,7 @@ declare class Slider extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
Expand Down Expand Up @@ -1836,7 +1836,7 @@ declare class Progressbar extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void
}

/**
Expand Down Expand Up @@ -1931,7 +1931,7 @@ declare class TreeView extends _Control {
* An event-handler callback function, called when the window is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* An event-handler callback function, called when the user expands (opens) a collapsed node in the treeview.
Expand Down Expand Up @@ -2070,7 +2070,7 @@ declare class Group extends _Control {
* An event-handler callback function, called when the group is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* Removes the specified child control from this group's children array.
Expand Down Expand Up @@ -2154,7 +2154,7 @@ declare class Panel extends _Control {
* An event-handler callback function, called when the panel is about to be drawn.
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
*/
onDraw(): void
onDraw(drawState: DrawState): void

/**
* Removes the specified child control from this group's children array.
Expand Down