TinyMaterialDesign
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12]
 ▼Ntinymd
 CAnchorLayoutPositions a single rect relative to a corner/edge of a container
 CAppBundles 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()
 CAppBarTop app bar: a title plus optional leading/trailing icon widgets (typically IconButton)
 CBadgeSmall status marker, typically overlaid on an icon's corner
 CBannerPersistent, non-modal inline message with text actions - Material's "banner", e.g. "You're offline. [Retry] [Dismiss]" pinned below an app bar
 CBottomSheetModal 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
 CBoundsAxis-aligned pixel rectangle used for widget bounds and hit-testing
 CButtonMaterial Design button: Filled / Tonal / Outlined / Text / Elevated
 CCardElevated rounded-rect container with an optional title and word-wrapped body text
 CCarouselHorizontally 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
 CChartReferenceLineA horizontal line at a fixed value, e.g. a threshold or a target
 CChartSeriesOne data series of a LineChart
 CCheckboxSquare checkbox, toggled by tap
 CChipSmall rounded-rect label, optionally a toggle (filter chip) rather than a one-shot action (assist chip)
 CCircularProgressIndicatorCircular "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
 CColorSchemeMaterial Design 3 color roles
 CContainerA widget that holds child widgets, draws/dispatches gestures to them, and scrolls its content vertically when it overflows its own bounds
 CDialogModal alert dialog: full-screen scrim + centered card + title + wrapped message + action widgets (typically Button)
 CDividerA themed hairline. Orientation follows the bounds' aspect ratio: wider than tall draws horizontal (centered vertically), taller draws vertical (centered horizontally)
 CDrawerModal 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
 CEsp32WifiWifiControl 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()
 CFloatingActionButtonFloating Action Button: a circular (or pill, when it has a label) elevated icon button for a screen's single primary action
 CFlowLayoutComputes wrapping rects for items of varying width (chip/tag rows)
 CGridLayoutComputes wrapped grid cell positions for a row of equal-size cards
 CIconButtonCircular 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)
 CKeyboardOn-screen QWERTY keyboard that drives one text input at a time
 CKeyValueRowKey on the left, value on the right (label font)
 CLabelSingle line of themed, non-interactive text
 CLinearLayoutComputes equal- or weighted-split rects along one axis of a container
 CLinearProgressIndicatorHorizontal progress bar. Determinate (value in [0,1]) or indeterminate (a segment sweeps back and forth, driven by update())
 CLineChartLine 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
 CListItemTappable row: optional leading icon + title, with a selected state
 CMaterialThemeBundles a color scheme, shape tokens, typography, and spacing into one theme, passed to widgets so they all draw with consistent styling
 CMediaCardTappable 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
 CMenuPopover 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
 CNavDestinationOne NavigationBar/NavigationRail destination: an icon plus a short label
 CNavigationBarBottom navigation bar: 3-5 exclusive destinations, each an icon with a label underneath and a pill highlight behind the selected icon
 CNavigationRailSide 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
 COffsetSurfaceDraws into target moved up by dy pixels, only inside the rows [clipTop, clipBottom) of target
 CPageOne page (tab) of an app: a scrollable Container with a title and an icon for the navigation, that builds its own widgets
 CPageNavigatorConnects 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
 CRadialLayoutPlaces item rects evenly spaced around a circle
 CRadioButtonOne radio button. Tapping it selects it (radio semantics: a tap never deselects); mutual exclusion across a group is RadioGroup's job
 CRadioGroupCoordinates 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.:
 CRadioRowRadioButton and caption; tapping the row selects it
 CScreenOwns 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
 CSearchBarPill-shaped search input: leading magnifier glyph, typed text, and a trailing "x" clear glyph shown once there's something to clear
 CSegmentedButtonConnected 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()
 CSettingRowCommon part of the rows: caption and background
 CShapeTokensMaterial 3 shape-scale corner radii, in pixels
 CSimulatedWifiWiFi 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")
 CSliderDraggable track-and-thumb slider over [minValue, maxValue]
 CSliderRowCaption and formatted value on one line, a Slider below. The value is quantized to step:
 CSnackbarTransient bottom message bar with an optional single text action
 CSplitLayoutSplits a container into two panes (master/detail, nav/content)
 CStackLayoutTwo 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":
 CStatTileA 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
 CSwitchTrack-and-thumb toggle switch. Toggled by tap (drag-to-slide is a possible follow-up, not implemented here)
 CSwitchRowCaption on the left, Switch on the right; tapping the row toggles it
 CTabBarRow 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
 CTableLayoutGrid with explicit, independently-sized column widths and row heights
 CTextAreaMulti-line, word-wrapped text input box
 CTextBlockMulti-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:
 CTextFieldSingle-line text input box
 CTextInputTarget
 CTooltipSmall floating label, shown briefly above an anchor widget
 CTypographyTypography roles, each backed by one of TinyGPU's bitmap fonts
 CWidgetBase class every TinyMaterialDesign widget derives from
 CWifiControlThe 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
 CWifiLoginPageWiFi 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)
 CWifiNetworkA WiFi network found by a scan
 CWifiNetworkRowOne 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