History

Desktop JSDoc

David Rowe committed 7 years ago

Commit 7183d101 parent d8f6e922 files · +54 −4Browse files

Showing the changes to interface/src/scripting/DesktopScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/DesktopScriptingInterface.cpp+7−0
@@ -31,6 +31,13 @@ int DesktopScriptingInterface::getHeight() { · 30 unmodified lines
3131 return size.height();
3232 }
3333
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+ */
3441 QVariantMap DesktopScriptingInterface::getPresentationMode() {
3542 static QVariantMap presentationModes {
3643 { "VIRTUAL", Virtual },