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

Method ToDialog

source/messstyleframe.cpp:17–27  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

15}
16//---------------------------------------------------------------------------
17void TMessStyleFr::ToDialog(TMessStyle * p)
18{
19 EnableStyleChange = false;
20 TextColorBox->Selected = p->TextColor;
21 BackgroundColorBox->Selected = p->BackgroundColor;
22 BoldCB->Checked = p->bBold;
23 ItalicCB->Checked = p->bItalic;
24 UnderlineCB->Checked = p->bUnderline;
25 EnableStyleChange = true;
26 //UpdatePreview();
27}
28//---------------------------------------------------------------------------
29void TMessStyleFr::FromDialog(TMessStyle * p)
30{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected