ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
ui_selectable_list_t Struct Reference

ui selectable list keeps the values that move through the subsystem: selected, first_visible. Some members are pointers into caller- or subsystem-owned memory, so lifetime follows the API that populated them rather than the struct copy itself. More...

#include <include/ascii-chat/ui/selectable_list.h>

Data Fields

int selected
int first_visible

Detailed Description

ui selectable list keeps the values that move through the subsystem: selected, first_visible. Some members are pointers into caller- or subsystem-owned memory, so lifetime follows the API that populated them rather than the struct copy itself.

Shared cursor and viewport state for selectable terminal lists.

Definition at line 9 of file selectable_list.h.

Field Documentation

◆ first_visible

int ui_selectable_list_t::first_visible

Definition at line 11 of file selectable_list.h.

Referenced by ui_selectable_list_keep_visible().

◆ selected

int ui_selectable_list_t::selected

Definition at line 10 of file selectable_list.h.

Referenced by ui_selectable_list_keep_visible(), and ui_selectable_list_move().


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