Showing the changes to interface/src/scripting/DesktopScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -55,12 +55,14 @@ static const QVariantMap DOCK_AREA { · 54 unmodified lines | |||
| 55 | /**jsdoc | 55 | /**jsdoc |
| 56 | * The possible "relative position anchors" of an <code>InteractiveWindow</code>. Used when defining the `relativePosition` property of an `InteractiveWindow`. | 56 | * The possible "relative position anchors" of an <code>InteractiveWindow</code>. Used when defining the `relativePosition` property of an `InteractiveWindow`. |
| 57 | * @typedef {object} InteractiveWindow.RelativePositionAnchors | 57 | * @typedef {object} InteractiveWindow.RelativePositionAnchors |
| 58 | * @property {InteractiveWindow.RelativePositionAnchor} NO_ANCHOR - Specifies that the position of the `InteractiveWindow` will not be relative to any part of the Interface window. | ||
| 58 | * @property {InteractiveWindow.RelativePositionAnchor} TOP_LEFT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the top left of the Interface window. | 59 | * @property {InteractiveWindow.RelativePositionAnchor} TOP_LEFT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the top left of the Interface window. |
| 59 | * @property {InteractiveWindow.RelativePositionAnchor} TOP_RIGHT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the top right of the Interface window. | 60 | * @property {InteractiveWindow.RelativePositionAnchor} TOP_RIGHT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the top right of the Interface window. |
| 60 | * @property {InteractiveWindow.RelativePositionAnchor} BOTTOM_RIGHT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the bottom right of the Interface window. | 61 | * @property {InteractiveWindow.RelativePositionAnchor} BOTTOM_RIGHT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the bottom right of the Interface window. |
| 61 | * @property {InteractiveWindow.RelativePositionAnchor} BOTTOM_LEFT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the bottom left of the Interface window. | 62 | * @property {InteractiveWindow.RelativePositionAnchor} BOTTOM_LEFT - Specifies that the `relativePosition` of the `InteractiveWindow` will be offset from the bottom left of the Interface window. |
| 62 | */ | 63 | */ |
| 63 | static const QVariantMap RELATIVE_POSITION_ANCHOR { | 64 | static const QVariantMap RELATIVE_POSITION_ANCHOR { |
| 65 | { "NO_ANCHOR", RelativePositionAnchor::NO_ANCHOR }, | ||
| 64 | { "TOP_LEFT", RelativePositionAnchor::TOP_LEFT }, | 66 | { "TOP_LEFT", RelativePositionAnchor::TOP_LEFT }, |
| 65 | { "TOP_RIGHT", RelativePositionAnchor::TOP_RIGHT }, | 67 | { "TOP_RIGHT", RelativePositionAnchor::TOP_RIGHT }, |
| 66 | { "BOTTOM_RIGHT", RelativePositionAnchor::BOTTOM_RIGHT }, | 68 | { "BOTTOM_RIGHT", RelativePositionAnchor::BOTTOM_RIGHT }, |