1 | #include <config.h> |
---|---|
2 | #include "lst.h" |
3 | |
4 | int _lstVisible( HLSTITEM hItem ) |
5 | { |
6 | HLST hLst; |
7 | |
8 | if ( !hItem ) |
9 | return false; |
10 | |
11 | hLst = (HLST)hItem->hLst; |
12 | |
13 | if ( hItem->bDelete && hLst->bShowDeleted == false ) |
14 | return false; |
15 | |
16 | if ( hItem->bHide && hLst->bShowHidden == false ) |
17 | return false; |
18 | |
19 | return true; |
20 | } |
21 | |
22 | |
23 | |
24 |