Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 22 files). Show all
Unified · Split
| @@ -326,7 +326,7 @@ public slots: · 325 unmodified lines | |||
| 326 | * full resolution is used (window dimensions in desktop mode; HMD display dimensions in HMD mode), otherwise one of the | 326 | * full resolution is used (window dimensions in desktop mode; HMD display dimensions in HMD mode), otherwise one of the |
| 327 | * dimensions is adjusted in order to match the aspect ratio. | 327 | * dimensions is adjusted in order to match the aspect ratio. |
| 328 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user | 328 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user |
| 329 | * name>-on-YYYY-MM-DD_HH-MM-SS".<br /> | 329 | * name>-on-YYYY-MM-DD_HH-MM-SS".<br /> |
| 330 | * Still images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, | 330 | * Still images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, |
| 331 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of | 331 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of |
| 332 | * <code>".jpg"</code>. Animated images are saved in GIF format. | 332 | * <code>".jpg"</code>. Animated images are saved in GIF format. |
| @@ -365,7 +365,7 @@ public slots: · 32 unmodified lines | |||
| 365 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} | 365 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} |
| 366 | * signal. | 366 | * signal. |
| 367 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user | 367 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user |
| 368 | * name>-on-YYYY-MM-DD_HH-MM-SS".<br /> | 368 | * name>-on-YYYY-MM-DD_HH-MM-SS".<br /> |
| 369 | * Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, | 369 | * Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, |
| 370 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of | 370 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of |
| 371 | * <code>".jpg"</code>. | 371 | * <code>".jpg"</code>. |
| @@ -384,7 +384,7 @@ public slots: · 12 unmodified lines | |||
| 384 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} | 384 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} |
| 385 | * signal. | 385 | * signal. |
| 386 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user | 386 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user |
| 387 | * name>-on-YYYY-MM-DD_HH-MM-SS".<br /> | 387 | * name>-on-YYYY-MM-DD_HH-MM-SS".<br /> |
| 388 | * Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, | 388 | * Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, |
| 389 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of | 389 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of |
| 390 | * <code>".jpg"</code>. | 390 | * <code>".jpg"</code>. |