idlehomescreen/widgetmanager/inc/wmlistbox.h
changeset 2 08c6ee43b396
parent 1 5315654608de
child 5 c743ef5928ba
equal deleted inserted replaced
1:5315654608de 2:08c6ee43b396
   242      * 
   242      * 
   243      * NOTE: caller must call HandleItemAdditionL() for the listbox after
   243      * NOTE: caller must call HandleItemAdditionL() for the listbox after
   244      * adding all widget datas to update the listbox correctly!
   244      * adding all widget datas to update the listbox correctly!
   245      * 
   245      * 
   246      * @param aWidget Data data to add
   246      * @param aWidget Data data to add
   247      */
   247      * @param aRedraw listbox update flag 
   248     void AddWidgetDataL( CWmWidgetData* aWidgetData );
   248      */
       
   249     void AddWidgetDataL( CWmWidgetData* aWidgetData, TBool aRedraw = ETrue );
   249     
   250     
   250     /** 
   251     /** 
   251      * removes widget data from given index in the model
   252      * removes widget data from given index in the model
   252      * The method reorganises the list model and size.
   253      * The method reorganises the list model and size.
   253      * Drawing is still needed to update the appearance.
   254      * Drawing is still needed to update the appearance.
   376      * array of widget data objects (the list model) 
   377      * array of widget data objects (the list model) 
   377      */
   378      */
   378     RWidgetDataValues   iWidgetDatas;
   379     RWidgetDataValues   iWidgetDatas;
   379 
   380 
   380     /** 
   381     /** 
       
   382      * array of trashed widget data objects, not visible in list. 
       
   383      */
       
   384     RPointerArray<CWmWidgetData> iTrashedData;
       
   385 
       
   386     /** 
   381      * the currently active item ADD button's rectangle, for push recognition 
   387      * the currently active item ADD button's rectangle, for push recognition 
   382      */
   388      */
   383     TRect               iButtonRect;
   389     TRect               iButtonRect;
   384 
   390 
   385     /** 
   391     /** 
   390 	/** 
   396 	/** 
   391      * state of pointer pressed down and hold 
   397      * state of pointer pressed down and hold 
   392      */
   398      */
   393     TBool               iPressedDown;
   399     TBool               iPressedDown;
   394 	
   400 	
       
   401     /** size of logo rect in list item */
       
   402     TSize               iLogoSize;    
   395 	};
   403 	};
   396 #include "wmlistbox.inl"
   404 #include "wmlistbox.inl"
   397 
   405 
   398 #endif ___WMLISTBOX_H__
   406 #endif ___WMLISTBOX_H__
   399 
   407