Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Release v2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Oct 9, 2023
1 parent d60fc59 commit 14668cc
Show file tree
Hide file tree
Showing 3 changed files with 2,530 additions and 3,503 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function getWindowTitle(handle: number): string;
* @param {number} handle - The handle ID of the window to be focused.
* @returns {void}
*/
export function focusWindow(handle: number): void
export function focusWindow(handle: number): boolean

/**
* Resizes a window by its handle to the given width and height.
Expand All @@ -68,7 +68,7 @@ export function focusWindow(handle: number): void
* @param {Size} newSize - The new size of the window.
* @returns {void}
*/
export function resizeWindow(handle: number, newSize: Size): void
export function resizeWindow(handle: number, newSize: Size): boolean

/**
* Moves a window by its handle to the given x and y coordinates.
Expand All @@ -77,6 +77,6 @@ export function resizeWindow(handle: number, newSize: Size): void
* @param {Point} newOrigin - The new size of the window.
* @returns {void}
*/
export function moveWindow(handle: number, newOrigin: Point): void
export function moveWindow(handle: number, newOrigin: Point): boolean

export const screen: Screen;
Loading

0 comments on commit 14668cc

Please sign in to comment.