MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / SetFont

Method SetFont

src/Display/Lcd/Lcd.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void Lcd::SetFont(size_t newFont) noexcept
58{
59 if (newFont < GetNumFonts())
60 {
61 currentFontNumber = newFont;
62 }
63}
64
65// Get the current font height
66PixelNumber Lcd::GetFontHeight() const noexcept

Callers 9

ButtonMenuItem.cppFile · 0.80
ExitMethod · 0.80
THROWSFunction · 0.80
UpdatingFirmwareMethod · 0.80
ValueMenuItem.cppFile · 0.80
TextMenuItem.cppFile · 0.80
FilesMenuItem.cppFile · 0.80
LoadErrorMethod · 0.80
MenuItem.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected