|
TinyMaterialDesign
|
| ▼Ntinymd | |
| CAnchorLayout | Positions a single rect relative to a corner/edge of a container |
| CApp | Bundles the surface + display + gesture routing + Screen boilerplate that every single-widget example under examples/controls and examples/layouts otherwise hand-rolls identically, down to a constructor plus two calls: begin() and update() |
| CAppBar | Top app bar: a title plus optional leading/trailing icon widgets (typically IconButton) |
| CBadge | Small status marker, typically overlaid on an icon's corner |
| CBanner | Persistent, non-modal inline message with text actions - Material's "banner", e.g. "You're offline. [Retry] [Dismiss]" pinned below an app bar |
| CBottomSheet | Modal panel sliding up from the bottom edge, full width, with rounded top corners and a drag-handle bar - Material's "modal bottom sheet". Holds a list of items (typically ListItem or Button) the same non-owning way Drawer holds its items, in a Container (Core/Container.h) that scrolls automatically once they overflow the sheet's height |
| CBounds | Axis-aligned pixel rectangle used for widget bounds and hit-testing |
| CButton | Material Design button: Filled / Tonal / Outlined / Text / Elevated |
| CCard | Elevated rounded-rect container with an optional title and word-wrapped body text |
| CCarousel | Horizontally paged, drag-to-swipe row of items (typically MediaCard), with a snap-to-item animation and a page-dot indicator - Material's "carousel", e.g. a row of featured stations/genres |
| CChartReferenceLine | A horizontal line at a fixed value, e.g. a threshold or a target |
| CChartSeries | One data series of a LineChart |
| CCheckbox | Square checkbox, toggled by tap |
| CChip | Small rounded-rect label, optionally a toggle (filter chip) rather than a one-shot action (assist chip) |
| CCircularProgressIndicator | Circular "spinner" ring. Determinate (value in [0,1], drawn as a sweep starting at 12 o'clock) or indeterminate (a fixed-length arc rotates continuously, driven by update()). Both use TinyGPU's ISurface::drawArc |
| CColorScheme | Material Design 3 color roles |
| CContainer | A widget that holds child widgets, draws/dispatches gestures to them, and scrolls its content vertically when it overflows its own bounds |
| CDialog | Modal alert dialog: full-screen scrim + centered card + title + wrapped message + action widgets (typically Button) |
| CDivider | A themed hairline. Orientation follows the bounds' aspect ratio: wider than tall draws horizontal (centered vertically), taller draws vertical (centered horizontally) |
| CDrawer | Modal side navigation panel, holding a list of items (typically ListItem) that scrolls automatically once they overflow the panel's height - the item area is a Container (Core/Container.h) under the hood |
| CEsp32Wifi | WifiControl for the ESP32: asynchronous scan and connection, the credentials are stored in the flash (Preferences, namespace "wifi") when a connection works, and used by begin() |
| CFloatingActionButton | Floating Action Button: a circular (or pill, when it has a label) elevated icon button for a screen's single primary action |
| CFlowLayout | Computes wrapping rects for items of varying width (chip/tag rows) |
| CGridLayout | Computes wrapped grid cell positions for a row of equal-size cards |
| CIconButton | Circular tap target hosting one vector glyph from Draw/Icons.h (or any function matching IconPainter). Tap feedback is a ripple, same rationale as Button (see Button.h's class comment) |
| CKeyboard | On-screen QWERTY keyboard that drives one text input at a time |
| CKeyValueRow | Key on the left, value on the right (label font) |
| CLabel | Single line of themed, non-interactive text |
| CLinearLayout | Computes equal- or weighted-split rects along one axis of a container |
| CLinearProgressIndicator | Horizontal progress bar. Determinate (value in [0,1]) or indeterminate (a segment sweeps back and forth, driven by update()) |
| CLineChart | Line chart with one or more series, a vertical value scale with round-numbered grid lines, optional reference lines, and an optional card frame with a title and a footer line |
| CListItem | Tappable row: optional leading icon + title, with a selected state |
| CMaterialTheme | Bundles a color scheme, shape tokens, typography, and spacing into one theme, passed to widgets so they all draw with consistent styling |
| CMediaCard | Tappable card with a thumbnail image and a caption - e.g. one tile in a grid of stations/genres/countries. Pair with GridLayout (Core/GridLayout.h) to lay out several of these |
| CMenu | Popover list of items (typically ListItem), anchored near whatever opened it - e.g. a dropdown from a Button, or a context menu from a long-press. Scrolls automatically once the items overflow the panel's height - the item area is a Container (Core/Container.h) under the hood |
| CNavDestination | One NavigationBar/NavigationRail destination: an icon plus a short label |
| CNavigationBar | Bottom navigation bar: 3-5 exclusive destinations, each an icon with a label underneath and a pill highlight behind the selected icon |
| CNavigationRail | Side navigation rail: a narrow vertical column of 3-7 exclusive destinations, each an icon with a label underneath and a pill highlight behind the selected icon - the tablet/landscape counterpart of NavigationBar |
| COffsetSurface | Draws into target moved up by dy pixels, only inside the rows [clipTop, clipBottom) of target |
| CPage | One page (tab) of an app: a scrollable Container with a title and an icon for the navigation, that builds its own widgets |
| CPageNavigator | Connects Pages with a NavigationBar: one destination per page, only the selected page is visible. All pages share the same bounds, so the screen itself never scrolls; each page scrolls on its own |
| CRadialLayout | Places item rects evenly spaced around a circle |
| CRadioButton | One radio button. Tapping it selects it (radio semantics: a tap never deselects); mutual exclusion across a group is RadioGroup's job |
| CRadioGroup | Coordinates a set of RadioButtons so selecting one deselects the rest. Not itself a Widget - each RadioButton must still be added to the Screen individually, e.g.: |
| CRadioRow | RadioButton and caption; tapping the row selects it |
| CScreen | Owns a set of widgets, draws them, and routes gesture events to whichever one should handle each event - the one root Container every sketch has, plus what only a root needs: a second non-scrolling widget layer, modal dialog presentation, and actually writing to a display |
| CSearchBar | Pill-shaped search input: leading magnifier glyph, typed text, and a trailing "x" clear glyph shown once there's something to clear |
| CSegmentedButton | Connected row of segments sharing one pill-shaped outline (M3 "segmented button"). Single-select (radio-like, the default) or multi-select (checkbox-like, toggling independently) - see setMultiSelect() |
| CSettingRow | Common part of the rows: caption and background |
| CShapeTokens | Material 3 shape-scale corner radii, in pixels |
| CSimulatedWifi | WiFi without hardware, for the desktop and tests: a fixed list of networks; connecting succeeds after connectMs if the network is open or the password is password ("demo") |
| CSlider | Draggable track-and-thumb slider over [minValue, maxValue] |
| CSliderRow | Caption and formatted value on one line, a Slider below. The value is quantized to step: |
| CSnackbar | Transient bottom message bar with an optional single text action |
| CSplitLayout | Splits a container into two panes (master/detail, nav/content) |
| CStackLayout | Two unrelated single-rect placement helpers bundled under one name - not "arrange these into a row/column" (that's LinearLayout), but "place one rect relative to another rect it sits on top of or overlaps": |
| CStatTile | A small tile with one value: a caption at the top, the value in an accent color and an optional unit / sub text - for dashboards and KPIs |
| CSwitch | Track-and-thumb toggle switch. Toggled by tap (drag-to-slide is a possible follow-up, not implemented here) |
| CSwitchRow | Caption on the left, Switch on the right; tapping the row toggles it |
| CTabBar | Row of evenly-spaced exclusive-selection labels (primary tabs), with a sliding indicator under the selected one. Tabs are fixed text strings added via addTab() rather than separate child widgets, so the whole row is one hit-testable/drawable Widget |
| CTableLayout | Grid with explicit, independently-sized column widths and row heights |
| CTextArea | Multi-line, word-wrapped text input box |
| CTextBlock | Multi-line text that is wrapped at word boundaries to the widget width (' ' starts a new line) - for notes, explanations and messages. Unlike Label it can span several lines; heightFor() tells how much room the text needs, so a layout can size the widget to its text: |
| CTextField | Single-line text input box |
| CTextInputTarget | |
| CTooltip | Small floating label, shown briefly above an anchor widget |
| CTypography | Typography roles, each backed by one of TinyGPU's bitmap fonts |
| CWidget | Base class every TinyMaterialDesign widget derives from |
| CWifiControl | The WiFi of a device as WifiLoginPage uses it: scan, connect and the stored credentials. All calls must return quickly - the scan and the connection run in the background and are polled |
| CWifiLoginPage | WiFi selection and login as a Page: the state of the connection, the SSID with a button that opens the networks of a scan as pop-up list, the password (masked, "Show password"), Connect (Disconnect while connected) and Cancel (leaves the page without connecting) |
| CWifiNetwork | A WiFi network found by a scan |
| CWifiNetworkRow | One network in a list: name, a lock for a secured network and the signal bars; tapping the row calls onSelect. The connected network is highlighted |