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

Method SaveColumnKoeff

sourcecommon/gridcolumns.cpp:66–73  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

64}
65//---------------------------------------------------------------------------
66void TStringGridLivingColumns::SaveColumnKoeff(void)
67{
68 oldClientWidth = SG->ClientWidth;
69
70 int AllColWidth = GetAllColumnsWidth();
71 for(int i=0, c=SG->ColCount; i<c; i++)
72 ColumnKoeff[i] = (double)SG->ColWidths[i] / (double)AllColWidth;
73}
74//---------------------------------------------------------------------------
75void TStringGridLivingColumns::ResizeColumnWidth(void)
76{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected