RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_window_frame_t Struct Reference

Retained control state of one window; zero-initialised is the initial state. More...

#include <window_frame.h>

Data Fields

uint8_t hover
uint8_t pressed
uint8_t capture
uint8_t states
uint8_t group_hover

Detailed Description

Retained control state of one window; zero-initialised is the initial state.

The host sets or clears RMGUI_STYLE_STATE_DISABLED in states.

rmgui_window_frame_t.hover

control under the pointer (rmgui_window_frame_control_t)

rmgui_window_frame_t.pressed

control the held press began on

rmgui_window_frame_t.capture

1 while a press that began inside the frame is held

rmgui_window_frame_t.states

HOVER/PRESSED/FOCUSED (input), DISABLED (host)

rmgui_window_frame_t.group_hover

Pointer inside control_group, including gaps.

Field Documentation

◆ hover

uint8_t rmgui_window_frame_t::hover

◆ pressed

uint8_t rmgui_window_frame_t::pressed

◆ capture

uint8_t rmgui_window_frame_t::capture

◆ states

uint8_t rmgui_window_frame_t::states

◆ group_hover

uint8_t rmgui_window_frame_t::group_hover

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