docs » plugins.finalcutpro.hud.manager
Manager for the Final Cut Pro HUD.
- Constants - Useful values which cannot be changed
- DEFAULT_HEIGHT
- DEFAULT_WIDTH
- lastTab
- position
- Variables - Configurable values
- _handlers
- _panels
- Functions - API calls offered directly by the extension
- addHandler
- addPanel
- currentPanelID
- delete
- getHandler
- getLabel
- getWebview
- hide
- injectScript
- maxPanelHeight
- new
- refresh
- resize
- selectPanel
- show
- update
- updatePosition
- updateVisibility
- Fields - Variables which can only be accessed from an object returned by a constructor
- enabled
| Signature | plugins.finalcutpro.hud.manager.DEFAULT_HEIGHT -> number |
|---|---|
| Type | Constant |
| Description | Default Height of HUD |
| Signature | plugins.finalcutpro.hud.manager.DEFAULT_WIDTH -> number |
|---|---|
| Type | Constant |
| Description | Default Width of HUD |
| Signature | plugins.finalcutpro.hud.manager.lastTab |
|---|---|
| Type | Constant |
| Description | Returns the last tab saved in settings. |
| Signature | plugins.finalcutpro.hud.manager.position |
|---|---|
| Type | Constant |
| Description | Returns the last frame saved in settings. |
| Signature | plugins.finalcutpro.hud.manager._handlers -> table |
|---|---|
| Type | Variable |
| Description | Table containing handlers. |
| Signature | plugins.finalcutpro.hud.manager._panels -> table |
|---|---|
| Type | Variable |
| Description | Table containing panels. |
| Signature | plugins.finalcutpro.hud.manager.addHandler(id, handlerFn) -> string |
|---|---|
| Type | Function |
| Description | Adds a Handler |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.addPanel(params) -> plugins.finalcutpro.hud.manager.panel |
|---|---|
| Type | Function |
| Description | Adds a new panel with the specified params to the HUD manager. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Signature | plugins.finalcutpro.hud.manager.currentPanelID() -> string |
|---|---|
| Type | Function |
| Description | Returns the panel ID with the highest priority. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.delete() |
|---|---|
| Type | Function |
| Description | Deletes the existing HUD if it exists |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.getHandler(id) -> string |
|---|---|
| Type | Function |
| Description | Returns the handler for a given ID. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.getLabel() -> string |
|---|---|
| Type | Function |
| Description | Returns the Webview label. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.getWebview() -> hs.webview |
|---|---|
| Type | Function |
| Description | Returns the Webview of the HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.hide() -> none |
|---|---|
| Type | Function |
| Description | Hides the HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.injectScript(script) -> none |
|---|---|
| Type | Function |
| Description | Injects JavaScript into the HUD Webview. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.maxPanelHeight() -> number |
|---|---|
| Type | Function |
| Description | Returns the maximum size defined by a panel. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.new() -> none |
|---|---|
| Type | Function |
| Description | Creates a new HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.refresh() -> none |
|---|---|
| Type | Function |
| Description | Refreshes the HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.resize() |
|---|---|
| Type | Function |
| Description | Resizes the HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.selectPanel([id]) -> none |
|---|---|
| Type | Function |
| Description | Selects a HUD Panel. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.show() -> boolean |
|---|---|
| Type | Function |
| Description | Shows the HUD |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.update() -> none |
|---|---|
| Type | Function |
| Description | Enables or Disables the HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.updatePosition() -> none |
|---|---|
| Type | Function |
| Description | Updates the HUD position. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.updateVisibility() -> none |
|---|---|
| Type | Function |
| Description | Update the visibility of the HUD. |
| Parameters |
|
| Returns |
|
| Signature | plugins.finalcutpro.hud.manager.enabled <cp.prop: boolean> |
|---|---|
| Type | Field |
| Description | Is the HUD enabled in the settings? |