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

Method SetFontStyle

source/messstyle.cpp:35–45  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

33}
34//---------------------------------------------------------------------------
35void TMessStyle::SetFontStyle(TFont * p)
36{
37 TFontStyles s = p->Style;
38 if( bBold ) s << fsBold;
39 else s >> fsBold;
40 if( bItalic ) s << fsItalic;
41 else s >> fsItalic;
42 if( bUnderline ) s << fsUnderline;
43 else s >> fsUnderline;
44 p->Style = s;
45}
46//---------------------------------------------------------------------------
47#pragma package(smart_init)
48

Callers 2

DrawGridDrawCellMethod · 0.80
LogSGDrawCellMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected