Files
RedBear-OS/recipes/wip/files/mc/source/lib/widget/radio.h
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

39 lines
1.1 KiB
C

/** \file radio.h
* \brief Header: WRadio widget
*/
#ifndef MC__WIDGET_RADIO_H
#define MC__WIDGET_RADIO_H
#include "lib/keybind.h" /* global_keymap_t */
/*** typedefs(not structures) and defined constants **********************************************/
#define RADIO(x) ((WRadio *)(x))
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
typedef struct WRadio
{
Widget widget;
int pos;
int sel;
int count; /* number of members */
hotkey_t *texts; /* texts of labels */
} WRadio;
/*** global variables defined in .c file *********************************************************/
extern const global_keymap_t *radio_map;
/*** declarations of public functions ************************************************************/
WRadio *radio_new (int y, int x, int count, const char **text);
/*** inline functions ****************************************************************************/
#endif /* MC__WIDGET_RADIO_H */