MCPcopy Create free account
hub / github.com/AshampooSystems/boden / updateFromStylesheet

Method updateFromStylesheet

framework/ui/src/TextField.cpp:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void TextField::updateFromStylesheet()
45 {
46 if (auto core = View::core<TextField::Core>()) {
47 if (stylesheet->count("font")) {
48 core->font = (Font)stylesheet->at("font");
49 } else {
50 core->font = Font();
51 }
52 }
53
54 View::updateFromStylesheet();
55 }
56}

Callers

nothing calls this directly

Calls 1

FontClass · 0.85

Tested by

no test coverage detected