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

Method AddIcon

ReClass/CNodeBase.cpp:166–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166int CNodeBase::AddIcon( const PVIEWINFO View, int x, int y, int idx, int ID, int Type )
167{
168 if ((y > View->ClientRect->bottom) || (y + 16 < 0))
169 return x + 16;
170
171 DrawIconEx( View->Dc->m_hDC, x, y, g_Icons[idx], 16, 16, 0, NULL, DI_NORMAL );
172
173 if (ID != -1)
174 {
175 CRect pos( x, y, x + 16, y + 16 );
176 AddHotSpot( View, pos, CString( ), ID, Type );
177 }
178
179 return x + 16;
180}
181
182int CNodeBase::AddOpenClose( const PVIEWINFO View, int x, int y )
183{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected