| 164 | } |
| 165 | |
| 166 | int 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 | |
| 182 | int CNodeBase::AddOpenClose( const PVIEWINFO View, int x, int y ) |
| 183 | { |
nothing calls this directly
no outgoing calls
no test coverage detected