Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::platform::KeyboardInset Struct Reference

Soft-keyboard inset (mobile only). More...

#include <environment.hpp>

Public Attributes

float bottom = 0.0f
float animation_duration = 0.0f
 Animation duration the OS reported for the show/hide transition, in seconds.

Detailed Description

Soft-keyboard inset (mobile only).

The on-screen keyboard occupies bottom pixels of the display from the bottom edge; layout should translate / shrink accordingly so focused inputs remain visible.

Member Data Documentation

◆ animation_duration

float pulp::platform::KeyboardInset::animation_duration = 0.0f

Animation duration the OS reported for the show/hide transition, in seconds.

Zero when not animating or unknown.

◆ bottom

float pulp::platform::KeyboardInset::bottom = 0.0f

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/platform/include/pulp/platform/environment.hpp