The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
idunn Directory Reference

Directories

 
include

Files

 
app.c
 idunn: the app loop and windows on the window server.
 
badge.c
 idunn: a badge: small medium text in a pill, 22 pixels high, in four variants (default, secondary, outline, destructive).
 
button.c
 idunn: buttons in the variants of the preview (shadcn's, with the refined finish and a soft red delete button).
 
canvas.c
 a widget the program draws itself (a terminal, a game).
 
check.c
 idunn: a check box, 16 pixels, with a label.
 
context.c
 idunn: the fonts, text faces and icons of a theme.
 
empty.c
 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.
 
field.c
 idunn: a field: a label above a control, and help text below it, 6 pixels apart, as the usual form row.
 
file_dialog.c
 idunn: a dialog to choose a file to open, or a name to save as.
 
floating.c
 idunn: what floats over a window: tooltips (the primary colour, small text), popovers (a card next to a widget) and dialogs (a card in the middle of the window over the overlay colour, with buttons at the bottom right; the window behind gets no input).
 
idunn_internal.h
 idunn: what the widget classes share (not for apps).
 
label.c
 idunn: text in a style.
 
layout.c
 idunn: rows and columns (a small CSS flexbox) and spacers.
 
list.c
 idunn: a list view: rows of 32 pixels with an icon, text and a muted second text on the right; and a grid view, the same with tiles: a 48 pixel colour icon and the name below it (a file manager's icons).
 
list_heads.c
 idunn: heads over the columns of a list view.
 
menu.c
 idunn: menus: a card in a popup (the card colour, a border, the radius, the md shadow, 4 pixels inside) with items of 32 pixels: an icon, the text and a shortcut in the muted colour; check items, separators and sub-menus.
 
option.c
 idunn: a small control with its label to the right (check box, radio, switch), 10 pixels apart as in the preview.
 
popup.c
 idunn: popup windows (menus, a select's choices, popovers, tooltips).
 
progress.c
 idunn: a progress bar: a rounded track in the muted colour, filled from the left in the accent colour, 8 pixels high.
 
radio.c
 idunn: a radio group: choices with 16 pixel circles, one of them chosen (an accent ring and an 8 pixel dot).
 
scroll.c
 idunn: a scroll view: one child that can be taller than the view.
 
select.c
 idunn: a select: a button like a text field with the chosen value and a chevron.
 
separator.c
 idunn: a 1 pixel line in the border colour, across a column or down a row (its box stretches it).
 
slider.c
 idunn: a slider: a 4 pixel round track in the muted colour, filled with the accent up to a 16 pixel thumb.
 
switch.c
 idunn: a switch, 32 by 18 pixels: a round track (the input colour when off, the accent when on) and a white 14 pixel thumb that slides in 120 ms.
 
tabs.c
 idunn: tabs: a muted strip of tab names, the active one a raised pill, and below it the page of the active tab (the others are hidden).
 
text_area.c
 idunn: a text area: text in lines that wrap at spaces, in the same well as a text field.
 
text_edit.c
 idunn: the text, the caret and the selection of an editable text, and the keys that act on them the same way in a text field and a text area.
 
text_field.c
 idunn: a one-line text field: a slightly inset well with a placeholder, a blinking caret, selection with the mouse and the keys, the clipboard, and scrolling when the text is longer than the field.
 
theme.c
 idunn: the design tokens and the theme file.
 
widget.c
 idunn: the widget tree, sizes, what must be drawn again, and transitions.
 
window.c
 idunn: a window's widgets: layout, drawing what changed, and the pointer and the keys.