Showing the changes to interface/src/scripting/DesktopScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -31,6 +31,13 @@ int DesktopScriptingInterface::getHeight() { · 30 unmodified lines | ||
| 31 | 31 | return size.height(); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | +/**jsdoc | |
| 35 | + * The presentation mode specifies how an {@link InteractiveWindow} is displayed. | |
| 36 | + * @typedef {object} InteractiveWindow.PresentationMode | |
| 37 | + * @property {number} VIRTUAL - The window is displayed inside Interface: in the desktop window in desktop mode or on the HUD | |
| 38 | + * surface in HMD mode. | |
| 39 | + * @property {number} NATIVE - The window is displayed separately from the Interface window, as its own separate window. | |
| 40 | + */ | |
| 34 | 41 | QVariantMap DesktopScriptingInterface::getPresentationMode() { |
| 35 | 42 | static QVariantMap presentationModes { |
| 36 | 43 | { "VIRTUAL", Virtual }, |