ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
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 16 of file selectable_list.h.

Field Documentation

◆ first_visible

int ui_selectable_list_t::first_visible

Definition at line 18 of file selectable_list.h.

Referenced by ui_selectable_list_keep_visible().

◆ selected

int ui_selectable_list_t::selected

Definition at line 17 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: