uifw/EikStd/coctlsrc/EIKLBI.CPP
branchRCL_3
changeset 55 aecbbf00d063
parent 51 fcdfafb36fe7
child 56 d48ab3b357f1
equal deleted inserted replaced
51:fcdfafb36fe7 55:aecbbf00d063
    36 
    36 
    37 #include "laflbi.h"
    37 #include "laflbi.h"
    38 #include "laflbx.h"
    38 #include "laflbx.h"
    39 #include "akntrace.h"
    39 #include "akntrace.h"
    40 
    40 
    41 const TUint KListItemDrawerAllowedFlags = 0x3fff;
    41 const TUint KListItemDrawerAllowedFlags = 0x00ff;
    42 
    42 
    43 const TInt KDefaultMarkColumnWidth = 10;
    43 const TInt KDefaultMarkColumnWidth = 10;
    44 const TInt KDefaultMarkGutter = 2;
    44 const TInt KDefaultMarkGutter = 2;
    45 
    45 
    46 //
    46 //
    81     // single click mode is enabled
    81     // single click mode is enabled
    82     if ( aFlags & EPressedDownState 
    82     if ( aFlags & EPressedDownState 
    83            &&  iFlags & ESingleClickEnabled )
    83            &&  iFlags & ESingleClickEnabled )
    84         {
    84         {
    85         aFlags &= ~EPressedDownState;
    85         aFlags &= ~EPressedDownState;
    86         }
       
    87     
       
    88     // do not raise EDrawWholeBackground unless ENativeImplementation is set
       
    89     if ( ( aFlags & EDrawWholeBackground ) 
       
    90             && !( iFlags & ENativeImplementation ) )
       
    91         {
       
    92         aFlags &= ~EDrawWholeBackground;
       
    93         }
    86         }
    94     
    87     
    95     iFlags |= aFlags; 
    88     iFlags |= aFlags; 
    96     iFlags &= KListItemDrawerAllowedFlags;
    89     iFlags &= KListItemDrawerAllowedFlags;
    97     }
    90     }