Skip to content

fplWindowSettings Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

Stores window settings, such as size, title, etc. More...

#include <final_platform_layer.h>

Data Fields

Type Name
fplColor32 background
The background fplColor32 for the window when using fplVideoBackendType_Software or fplVideoBackendType_None. When all RGBA components are zero, the default system background color is used instead.
fplWindowCallbacks callbacks
Window callbacks.
uint32_t fullscreenRefreshRate
Fullscreen refresh rate in Hz.
fplWindowSize fullscreenSize
Fullscreen size in screen coordinates.
fplImageSource icons [2]
Window icons (0 = Small, 1 = Large).
fpl_b32 isDecorated
Is window decorated.
fpl_b32 isFloating
Is floating.
fpl_b32 isFullscreen
Is window in fullscreen mode.
fpl_b32 isMonitorPowerPrevented
Is monitor power change prevented (true: prevents the monitor from powering off automatically, false: system behavior).
fpl_b32 isResizable
Is window resizable.
fpl_b32 isScreenSaverPrevented
Is screen saver prevented (true: prevents the screensaver to kick-in, false: system behavior).
char title [FPL_MAX_NAME_LENGTH]
Window title.
fplWindowSize windowSize
Window size in screen coordinates.

Detailed Description

Stores window settings, such as size, title, etc.

Definition at line 6609 of file final_platform_layer.h.

Field Documentation

background

fplColor32 fplWindowSettings::background

The background fplColor32 for the window when using fplVideoBackendType_Software or fplVideoBackendType_None. When all RGBA components are zero, the default system background color is used instead.

Definition at line 6617 of file final_platform_layer.h.

callbacks

fplWindowCallbacks fplWindowSettings::callbacks

Window callbacks.

Definition at line 6615 of file final_platform_layer.h.

fullscreenRefreshRate

uint32_t fplWindowSettings::fullscreenRefreshRate

Fullscreen refresh rate in Hz.

Definition at line 6623 of file final_platform_layer.h.

fullscreenSize

fplWindowSize fplWindowSettings::fullscreenSize

Fullscreen size in screen coordinates.

Definition at line 6621 of file final_platform_layer.h.

icons

fplImageSource fplWindowSettings::icons[2]

Window icons (0 = Small, 1 = Large).

Definition at line 6613 of file final_platform_layer.h.

isDecorated

fpl_b32 fplWindowSettings::isDecorated

Is window decorated.

Definition at line 6627 of file final_platform_layer.h.

isFloating

fpl_b32 fplWindowSettings::isFloating

Is floating.

Definition at line 6629 of file final_platform_layer.h.

isFullscreen

fpl_b32 fplWindowSettings::isFullscreen

Is window in fullscreen mode.

Definition at line 6631 of file final_platform_layer.h.

isMonitorPowerPrevented

fpl_b32 fplWindowSettings::isMonitorPowerPrevented

Is monitor power change prevented (true: prevents the monitor from powering off automatically, false: system behavior).

Definition at line 6635 of file final_platform_layer.h.

isResizable

fpl_b32 fplWindowSettings::isResizable

Is window resizable.

Definition at line 6625 of file final_platform_layer.h.

isScreenSaverPrevented

fpl_b32 fplWindowSettings::isScreenSaverPrevented

Is screen saver prevented (true: prevents the screensaver to kick-in, false: system behavior).

Definition at line 6633 of file final_platform_layer.h.

title

char fplWindowSettings::title[FPL_MAX_NAME_LENGTH]

Window title.

Definition at line 6611 of file final_platform_layer.h.

windowSize

fplWindowSize fplWindowSettings::windowSize

Window size in screen coordinates.

Definition at line 6619 of file final_platform_layer.h.


The documentation for this struct was generated from the following file:

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally