|
Fireset
|
Window management functions and types. More...
Classes | |
| struct | FsWindow |
| Window object. More... | |
Functions | |
| FsWindow | fsWindowCreate (const char *name, FsVec2 size, bool fullscreen) |
| Creates a window. | |
| void | fsWindowHandle (FsWindow *window) |
| Updates a window. | |
| void | fsWindowDestroy (FsWindow *window) |
| Destroys a window. | |
| bool | fsWindowShouldClose (FsWindow *window) |
| Checks if a window should close. | |
| FsVec2 | fsMonitorGetSize () |
| Returns the primary monitor resolution. | |
Window management functions and types.
| FsVec2 fsMonitorGetSize | ( | ) |
Returns the primary monitor resolution.
Retrieves the width and height, in pixels, of the primary monitor currently in use.
Creates a window.
Initializes a window using the provided data.
| name | The name/title of the generated window. |
| size | The Vec2 size of the window. |
| fullscreen | If window is or not Fullscreen |
| void fsWindowDestroy | ( | FsWindow * | window | ) |
Destroys a window.
Closes the window and releases its resources.
| window | Window to destroy. |
| void fsWindowHandle | ( | FsWindow * | window | ) |
Updates a window.
Processes events and updates the internal state of the window.
| window | Window to update. |
| bool fsWindowShouldClose | ( | FsWindow * | window | ) |
Checks if a window should close.
Queries the window to determine if a close request has been issued.
| window | Window to check. |