The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
empty.c File Reference

idunn: an icon on its own, and the empty state: an icon in a muted square, a title and a muted line, in the middle of the space. More...

#include "idunn_internal.h"
#include <stdlib.h>
#include <string.h>

Macros

#define TILE   40
#define GLYPH   20

Functions

idunn_widget_t * idunn_icon_view (const char *name, int32_t size, idunn_color_t color)
 a Lucide icon on its own, size points, in a colour token
idunn_widget_t * idunn_empty_state (const char *icon, const char *title, const char *text)
 an empty state: an icon on a muted square, a title and a muted line (or NULL), in the middle of its space.

Detailed Description

idunn: an icon on its own, and the empty state: an icon in a muted square, a title and a muted line, in the middle of the space.

Macro Definition Documentation

◆ TILE

#define TILE   40

◆ GLYPH

#define GLYPH   20

Function Documentation

◆ idunn_icon_view()

idunn_widget_t * idunn_icon_view ( const char * name,
int32_t size,
idunn_color_t color )

a Lucide icon on its own, size points, in a colour token

◆ idunn_empty_state()

idunn_widget_t * idunn_empty_state ( const char * icon,
const char * title,
const char * text )

an empty state: an icon on a muted square, a title and a muted line (or NULL), in the middle of its space.

add buttons to it for actions.