MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / AddSelection

Method AddSelection

ReClass/CNodeBase.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void CNodeBase::AddSelection( const PVIEWINFO View, int x, int y, int Height )
155{
156 if ((y > View->ClientRect->bottom) || (y + Height < 0))
157 return;
158
159 if (m_bSelected)
160 View->Dc->FillSolidRect( 0, y, View->ClientRect->right, Height, g_crSelect );
161
162 CRect pos( 0, y, INT_MAX, y + Height );
163 AddHotSpot( View, pos, CString( ), 0, HS_SELECT );
164}
165
166int CNodeBase::AddIcon( const PVIEWINFO View, int x, int y, int idx, int ID, int Type )
167{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected