MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateFont

Method updateFont

Tools/FontEditor/FontTryControl.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 void FontTryControl::updateFont()
56 {
57 DataPtr data = DataUtility::getSelectedDataByType("Font");
58 if (data != nullptr)
59 mEdit->setFontName(data->getPropertyValue("FontName"));
60 else
61 mEdit->setFontName(std::string_view{});
62 }
63
64}

Callers

nothing calls this directly

Calls 1

setFontNameMethod · 0.45

Tested by

no test coverage detected