| 18 | } |
| 19 | |
| 20 | NODESIZE CNodeInt8::Draw( const PVIEWINFO View, int x, int y ) |
| 21 | { |
| 22 | int tx; |
| 23 | NODESIZE DrawSize; |
| 24 | __int8* Data; |
| 25 | |
| 26 | if (m_bHidden) |
| 27 | return DrawHidden( View, x, y ); |
| 28 | |
| 29 | Data = (__int8*)(View->Data + m_Offset); |
| 30 | AddSelection( View, 0, y, g_FontHeight ); |
| 31 | AddDelete( View, x, y ); |
| 32 | AddTypeDrop( View, x, y ); |
| 33 | //AddAdd(View,x,y); |
| 34 | |
| 35 | tx = x + TXOFFSET; |
| 36 | tx = AddIcon( View, tx, y, ICON_INTEGER, HS_NONE, HS_NONE ); |
| 37 | tx = AddAddressOffset( View, tx, y ); |
| 38 | tx = AddText( View, tx, y, g_crType, HS_NONE, _T( "Int8 " ) ); |
| 39 | tx = AddText( View, tx, y, g_crName, HS_NAME, _T( "%s" ), m_strName ); |
| 40 | tx = AddText( View, tx, y, g_crName, HS_NONE, _T( " = " ) ); |
| 41 | tx = AddText( View, tx, y, g_crValue, HS_EDIT, _T( "%i" ), *Data ) + g_FontWidth; |
| 42 | tx = AddComment( View, tx, y ); |
| 43 | |
| 44 | DrawSize.x = tx; |
| 45 | DrawSize.y = y + g_FontHeight; |
| 46 | return DrawSize; |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected