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
31 return size.height();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 */
34QVariantMap DesktopScriptingInterface::getPresentationMode() {41QVariantMap DesktopScriptingInterface::getPresentationMode() {
35 static QVariantMap presentationModes {42 static QVariantMap presentationModes {
36 { "VIRTUAL", Virtual },43 { "VIRTUAL", Virtual },