MCPcopy Create free account
hub / github.com/andybarry/makerscanner / OnSize

Method OnSize

camview.cpp:222–230  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////// Method: OnSize Class: CCamView Purose: adjust on windows resize Input: reference to size event Output: nothing ///////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

220// Output: nothing
221////////////////////////////////////////////////////////////////////
222void CCamView::OnSize( wxSizeEvent& even )
223{
224 int nWidth = even.GetSize().GetWidth();
225 int nHeight = even.GetSize().GetHeight();
226
227 m_nWidth = nWidth;
228 m_nHeight = nHeight;
229
230}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected