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

Method Save

sourcecommon/utils.cpp:216–231  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

214}
215//---------------------------------------------------------------------------
216bool TMyFont::Save(TMYIniFile * f, char * Section)
217{
218 bool bRetVal = true;
219 try
220 {
221 f->WriteString(Section, "FontName", Name);
222 f->WriteInteger(Section, "FontHeight", Height);
223 f->WriteInteger(Section, "FontPitch", Pitch);
224 f->WriteInteger(Section, "FontPixelsPerInch", PixelsPerInch);
225 f->WriteInteger(Section, "FontSize", Size);
226 f->WriteInteger(Section, "FontStyle", Style);
227 f->WriteInteger(Section, "FontColor", Color);
228 }
229 catch(...) { bRetVal = false; }
230 return bRetVal;
231}
232//---------------------------------------------------------------------------
233bool DeleteDirectory(char * szPath, bool bDelTopDir)
234{

Callers 1

CreateLinkFunction · 0.45

Calls 2

WriteStringMethod · 0.45
WriteIntegerMethod · 0.45

Tested by

no test coverage detected