MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / SetFont

Method SetFont

sourcecommon/savepar.cpp:256–267  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

254}
255//---------------------------------------------------------------------------
256void TSaveParams::SetFont(AnsiString Section, AnsiString Name, TFont* Font)
257{
258 int StInt;
259 TFontStyles St;
260 Set(Section, Name + "_Name", Font->Name);
261 Set(Section, Name + "_Charset", Font->Charset);
262 Set(Section, Name + "_Size", Font->Size);
263 Set(Section, Name + "_Color", Font->Color);
264 St = Font->Style;
265 memcpy(&StInt, &St, 1);
266 Set(Section, Name + "_Style", StInt);
267}
268//---------------------------------------------------------------------------
269void TSaveParams::GetFont(AnsiString Section, AnsiString Name, TFont* Font)
270{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected