MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / set_font

Method set_font

2dlib/pentext.cpp:105–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103// ---------------------------------------------------------------------------
104
105void grViewport::set_font(const char *fontname) { text_Font.init(fontname); }
106
107void grViewport::get_font(char *fontname, int size) {
108 ASSERT(size > (int)strlen(text_Font.get_name()));

Callers 3

SetCurrentIndexMethod · 0.45
OnDrawMethod · 0.45
OnMouseBtnDownMethod · 0.45

Calls 1

initMethod · 0.45

Tested by

no test coverage detected