|
1 /* |
|
2 * Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0"" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: header file of peninput ui layout |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CFEPUILAYOUT_H |
|
20 #define C_CFEPUILAYOUT_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <s32std.h> |
|
24 #include "peninputuilayoutownerinf.h" |
|
25 #include "peninputuilayoutbase.h" |
|
26 #ifdef RD_TACTILE_FEEDBACK |
|
27 #include <touchfeedback.h> |
|
28 #endif //RD_TACTILE_FEEDBACK |
|
29 #include "peninputlayoutminterface.h" |
|
30 #include "peninputlayoutbasecontrol.h" |
|
31 #include "peninputcmdparam.h" |
|
32 |
|
33 class CFepUiCursor; |
|
34 |
|
35 class CControlGroup; |
|
36 class CDragBar; |
|
37 class CFepUiLayoutRootCtrl; |
|
38 class CCoeControl; |
|
39 const TInt KMaxDragBarNum = 4; |
|
40 |
|
41 |
|
42 /** |
|
43 * class CFepUiLayout |
|
44 * |
|
45 * This is main class for Fep UI framework. |
|
46 * |
|
47 * @lib peninputlayoutcontrol.lib |
|
48 * @since S60 v4.0 |
|
49 */ |
|
50 class CFepUiLayout : public CBase, |
|
51 public MPenUiLayoutBase, |
|
52 public MEventObserver |
|
53 { |
|
54 public: |
|
55 /** |
|
56 * Destructor. |
|
57 * |
|
58 * @since S60 v4.0 |
|
59 */ |
|
60 IMPORT_C virtual ~CFepUiLayout(); |
|
61 |
|
62 /** |
|
63 * BaseConstructL |
|
64 * Does the base construction. Derivated class must call this when constructed. |
|
65 * |
|
66 * @since S60 v4.0 |
|
67 */ |
|
68 IMPORT_C virtual void BaseConstructL(); |
|
69 |
|
70 /** |
|
71 * AddControlL |
|
72 * Add a control to layout. |
|
73 * |
|
74 * @since S60 v4.0 |
|
75 * @param aControl The control to be added. The ownership transferred to layout |
|
76 * @param aEventObserverFlag ETrue if layout is this control's event observer. |
|
77 * Otherwise not. Default value is ETrue. |
|
78 */ |
|
79 IMPORT_C void AddControlL(CFepUiBaseCtrl* aControl, |
|
80 TBool aEventObserverFlag = ETrue); |
|
81 |
|
82 /** |
|
83 * AddControlL |
|
84 * Add a control to layout. |
|
85 * |
|
86 * @since S60 v4.0 |
|
87 * @param aControl The control to be added. The ownership transferred to layout |
|
88 * @param aEventObserverFlag ETrue if layout is this control's event observer. |
|
89 * Otherwise not. Default value is ETrue. |
|
90 */ |
|
91 IMPORT_C void AddControlL(CCoeControl* aControl, |
|
92 TBool aEventObserverFlag = ETrue); |
|
93 |
|
94 /** |
|
95 * RemoveControl |
|
96 * Remove a control from layout. |
|
97 * |
|
98 * @since S60 v4.0 |
|
99 * @param aControl The control to be removed. |
|
100 */ |
|
101 IMPORT_C void RemoveControl(CFepUiBaseCtrl* aControl); |
|
102 |
|
103 /** |
|
104 * RemoveControl |
|
105 * Remove a control from layout. |
|
106 * |
|
107 * @since S60 v4.0 |
|
108 * @param aControl The control to be removed. |
|
109 */ |
|
110 IMPORT_C void RemoveControl(CCoeControl* aControl); |
|
111 |
|
112 |
|
113 /** |
|
114 * Get ui layout control list |
|
115 * |
|
116 * @since S60 v4.0 |
|
117 * @return The control list. |
|
118 */ |
|
119 inline const RPointerArray<CFepUiBaseCtrl>& ControlList(); |
|
120 |
|
121 /** |
|
122 * Report layout event to layout owner |
|
123 * |
|
124 * @since S60 v4.0 |
|
125 * @param aEventType the event type |
|
126 * @param aEventData Event data |
|
127 */ |
|
128 IMPORT_C void SignalOwner(TInt aEventType, |
|
129 const TDesC& aEventData = KNullDesC); |
|
130 |
|
131 |
|
132 /** |
|
133 * Test whether the position is valid. |
|
134 * This is used to test the target position when draging controls to some place |
|
135 * |
|
136 * @since S60 v4.0 |
|
137 * @param aRect The rect to be checked. |
|
138 * @param aDragbar The dragbar being dragged |
|
139 * @param aVInfo The valid information in vertial dirtection. ETrue is vertical |
|
140 * moving is valid.It's only used when aRect is not valid but moving in |
|
141 * vertical direction is valid. |
|
142 * @param aHInfo The valid information in horizontal dirtection. ETrue is |
|
143 * horizontal moving is valid.It's only used when aRect is not |
|
144 * valid but moving in vertical direction is valid. |
|
145 * @param aFlag ETrue if whole layout is moving, otherwise, only components moving |
|
146 * @return ETue if aRect is a valid position. Otherwise, EFalse. |
|
147 */ |
|
148 IMPORT_C virtual TBool IsValidDestination(const TRect& aRect, |
|
149 CDragBar* aDragBar, |
|
150 TBool& aVInfo,TBool& aHInfo, |
|
151 TBool aFlag); |
|
152 |
|
153 /** |
|
154 * Enable whole layout moved by a dragbar. |
|
155 * |
|
156 * @since S60 v4.0 |
|
157 * @param aDragBar The dragging bar drags the layout |
|
158 */ |
|
159 IMPORT_C void EnableLayoutMoving(CDragBar* aDragbar); |
|
160 |
|
161 |
|
162 /** |
|
163 * Get ui layout root control |
|
164 * |
|
165 * @since S60 v4.0 |
|
166 * @param aPos The new position. |
|
167 */ |
|
168 inline CFepUiLayoutRootCtrl* RootControl(); |
|
169 |
|
170 /** |
|
171 * Get the layout owner |
|
172 * |
|
173 * @since S60 v4.0 |
|
174 * @return The layout owner |
|
175 */ |
|
176 inline MLayoutOwner* LayoutOwner(); |
|
177 |
|
178 /** |
|
179 * Set the layout size. It will update region-aware control's valid region |
|
180 * It will call owner's LayoutSizeChanged if size changed. |
|
181 * |
|
182 * @since S60 v4.0 |
|
183 * @param aRect The layout size. |
|
184 */ |
|
185 IMPORT_C void SetRect(const TRect& aRect); |
|
186 |
|
187 /** |
|
188 * Set the layout shadow size. Shadow will draw between shadow rect and |
|
189 * layout rect. Ui layout rect is then changed to shadow rect. |
|
190 * |
|
191 * @since S60 v4.0 |
|
192 * @param aRect The layout shadow size. |
|
193 */ |
|
194 IMPORT_C void SetShadowRect(const TRect& aRect); |
|
195 |
|
196 /** |
|
197 * Set shadow rect for a shadow area. |
|
198 * The nth shadow is drawn in this shadow rect |
|
199 * |
|
200 * @since S60 V4.0 |
|
201 * @param aRect The shadow rect.The rect's coordinate is relative to layout. |
|
202 * @param aIndex The index position for shadow rect |
|
203 */ |
|
204 IMPORT_C void SetShadowAreaRect(const TRect& aRect, |
|
205 TShadowBitmapIndex aIndex); |
|
206 |
|
207 |
|
208 /** |
|
209 * set layout's shadow bitmap and mask bmp |
|
210 * @since S60 V4.0 |
|
211 * @param The shadow background bitmap. Ownership transferred |
|
212 * @param The shadow background mask bitmap. Ownership transferred |
|
213 * @param aIndex The shadow bitmap position index. See CFepUiBaseCtrl's |
|
214 * SetShadowBmp the defination of TShadowBitmapIndex |
|
215 */ |
|
216 IMPORT_C void SetShadowBmp(CFbsBitmap* aBmp,CFbsBitmap* aMaskBmp, |
|
217 TShadowBitmapIndex aIndex); |
|
218 |
|
219 |
|
220 /** |
|
221 * Set whole screen size. |
|
222 * |
|
223 * @since S60 v4.0 |
|
224 * @param aSize The screen size |
|
225 */ |
|
226 inline void SetScreenSize(const TSize& aSize); |
|
227 |
|
228 /** |
|
229 * get whole screen size. |
|
230 * |
|
231 * @since S60 v4.0 |
|
232 * @return The screen size |
|
233 */ |
|
234 inline const TSize& ScreenSize(); |
|
235 |
|
236 /** |
|
237 * Lock a area |
|
238 * |
|
239 * @since S60 v4.0 |
|
240 * @param aRect The locked area |
|
241 * @param aOwner The owner of the locked area |
|
242 */ |
|
243 IMPORT_C void LockArea(const TRect& aRect, CFepUiBaseCtrl* aOwner); |
|
244 |
|
245 /** |
|
246 * unlock a area |
|
247 * |
|
248 * @since S60 v4.0 |
|
249 * @param aRect The locked area |
|
250 * @param aCtrl The owner of the locked area |
|
251 */ |
|
252 IMPORT_C void UnLockArea(const TRect& aRect, CFepUiBaseCtrl* aCtrl); |
|
253 |
|
254 /** |
|
255 * get the locked area |
|
256 * |
|
257 * @since S60 v5.0 |
|
258 * @reeturn return current locked area. |
|
259 */ |
|
260 inline const TRect& LockedArea(); |
|
261 |
|
262 /** |
|
263 * get the locked area owner |
|
264 * |
|
265 * @since S60 v5.0 |
|
266 * @reeturn return current locked area owner. |
|
267 */ |
|
268 inline const CFepUiBaseCtrl* LockareaOwner() const; |
|
269 |
|
270 /** Update layout area, cause flush in screen |
|
271 * |
|
272 * @since S60 V4.0 |
|
273 * @param aCtrl The control who requires the update |
|
274 * @param aRect the rect to be flushed in screen |
|
275 * @param aUpdateFlag ETrue if full update. |
|
276 * @param aImmedFlag flag tells whethere updating is executing immediately |
|
277 */ |
|
278 IMPORT_C void UpdateArea(const CFepUiBaseCtrl* aCtrl,const TRect& aRect, |
|
279 TBool aUpdateFlag,TBool aImmedFlag = EFalse); |
|
280 |
|
281 /** |
|
282 * Call back function. Called when cursor in input context field changed by pointer. |
|
283 * Just signal layout owner this event in default implementation |
|
284 * |
|
285 * @since S60 v4.0 |
|
286 * @param aCursorSel Current cursor selection in input context field |
|
287 */ |
|
288 IMPORT_C virtual void SetAppEditorCursor(const TCursorSelection& aCursorSel, |
|
289 TBool aReqMoreText = EFalse); |
|
290 |
|
291 /** |
|
292 * Get layout status. Layout is only ready after initialized. |
|
293 * @since S60 v4.0 |
|
294 * |
|
295 * @return The layout status |
|
296 */ |
|
297 inline TBool LayoutReady(); |
|
298 |
|
299 //from base class MPenUiLayoutBase |
|
300 |
|
301 /** |
|
302 * From MPenUiLayoutBase |
|
303 * Init. |
|
304 * Do layout initialization. It's called by layout owner |
|
305 * |
|
306 * @since S60 v4.0 |
|
307 * @return The layout rect including the shadow rect |
|
308 */ |
|
309 IMPORT_C TRect Init(); |
|
310 |
|
311 /** |
|
312 * From MPenUiLayoutBase |
|
313 * HandleEventL. Handle UI event. |
|
314 * There are only 3 kinds of UI event right now: raw event, |
|
315 * pointer and pointer buffer event. |
|
316 * |
|
317 * @since S60 v4.0 |
|
318 * @param aType The event type. See TEventType |
|
319 * @param aEventData The event data. |
|
320 * @return The control which processes the event |
|
321 */ |
|
322 IMPORT_C TBool HandleEventL(TEventType aType, const TAny* aEventData); |
|
323 |
|
324 /** |
|
325 * From MPenUiLayoutBase |
|
326 * HandleCommand. Handle layout command event. |
|
327 * |
|
328 * @since S60 v4.0 |
|
329 * @param aCmd Command Id. |
|
330 * @param aData Data for command. |
|
331 * @return precessing result. Errors when return value small than 0. |
|
332 */ |
|
333 IMPORT_C TInt HandleCommand(TInt aCmd, TUint8* aData) ; |
|
334 |
|
335 /** |
|
336 * From MPenUiLayoutBase |
|
337 * Draw layout. |
|
338 * |
|
339 * @since S60 v4.0 |
|
340 */ |
|
341 IMPORT_C virtual void Draw() ; |
|
342 |
|
343 /** |
|
344 * From MPenUiLayoutBase |
|
345 * OnResourceChange. Inform layout the system resource changed. |
|
346 * |
|
347 * @since S60 v4.0 |
|
348 * @param aType the event type |
|
349 * @return KErrNone if successfully size changing. |
|
350 */ |
|
351 IMPORT_C virtual TInt OnResourceChange(TInt aType); |
|
352 |
|
353 /** |
|
354 * From MPenUiLayoutBase |
|
355 * HandleAppInfoChange. Inform UI that application infomation changed. |
|
356 * |
|
357 * @since S60 v5.0 |
|
358 * @param aInfo The information. |
|
359 * @param aType The information type |
|
360 */ |
|
361 IMPORT_C virtual void HandleAppInfoChange(const TDesC& aInfo, TPeninputAppInfo aType); |
|
362 |
|
363 /** |
|
364 * Handle editor text coming |
|
365 * Called by animation dll when app editor text is coming. |
|
366 * If a ui layout has a editor area, it must implements this function to get the text |
|
367 * |
|
368 * @since S60 v4.0 |
|
369 * @param aData The fep input context field data |
|
370 * @return KErrNone is operation succeeded. |
|
371 */ |
|
372 IMPORT_C virtual TInt OnAppEditorTextComing(const TFepInputContextFieldData& aData); |
|
373 |
|
374 /* |
|
375 * From MPenUiLayoutBase |
|
376 * Get the max editor length which the input context field can hold |
|
377 * |
|
378 * @since S60 v4.0 |
|
379 * @return The editor length |
|
380 */ |
|
381 IMPORT_C virtual TInt GetInputContextFieldMaxLen(); |
|
382 |
|
383 /** |
|
384 * Get layout start position |
|
385 * |
|
386 * @since S60 v4.0 |
|
387 * @return The layout start position |
|
388 */ |
|
389 IMPORT_C virtual TPoint Position(); |
|
390 /** |
|
391 * Get layout area |
|
392 * |
|
393 * @since S60 v4.0 |
|
394 * @return The layout size in rect |
|
395 */ |
|
396 IMPORT_C virtual TRect Rect(); |
|
397 |
|
398 /** |
|
399 * From MPenUiLayoutBase |
|
400 * Destroy layout |
|
401 * |
|
402 * @since S60 v4.0 |
|
403 * @return The layout size in rect |
|
404 */ |
|
405 IMPORT_C virtual void Destroy(); |
|
406 |
|
407 /** |
|
408 * From MPenUiLayoutBase |
|
409 * OnActivate. Called by owner when the layout is going to be shown. |
|
410 * |
|
411 * @since S60 v4.0 |
|
412 */ |
|
413 IMPORT_C void OnActivate(); |
|
414 |
|
415 /** |
|
416 * From MPenUiLayoutBase |
|
417 * OnDeActivate. Called by owner when the layout is going to be hidden |
|
418 * |
|
419 * @since S60 v4.0 |
|
420 */ |
|
421 IMPORT_C void OnDeActivate(); |
|
422 /** |
|
423 * SemiTransparencyRequired. Tell whether this layout requires semi-transparency. |
|
424 * This is to save memory used in mask bitmap. If transparency not deeded, |
|
425 * We use black-white bitmap. |
|
426 * |
|
427 * @since S60 v4.0 |
|
428 * @return ETrue if layout require transparency, otherwise EFalse. |
|
429 */ |
|
430 IMPORT_C TBool SemiTransparencyRequired(); |
|
431 |
|
432 /** |
|
433 * Set layout position |
|
434 * |
|
435 * @since S60 v4.0 |
|
436 * @param The layout position |
|
437 */ |
|
438 IMPORT_C void SetLayoutPos(const TPoint& aPt); |
|
439 |
|
440 IMPORT_C TInt GetEnabledPluginMode( ); |
|
441 |
|
442 /** |
|
443 * RegisterFeedbackArea. Register the area which requires tactile feedback. |
|
444 * Note, if two control have the same area, you need to register twice. |
|
445 * |
|
446 * @since S60 v4.0 |
|
447 * @param aId The unique id of this area |
|
448 * @param aRect The tactile area. |
|
449 */ |
|
450 IMPORT_C void RegisterFeedbackArea(TInt aId,const TRect& aRect); |
|
451 |
|
452 /** |
|
453 * DeRegisterFeedbackArea. Remove the area which has required tactile feedback. |
|
454 * Nothing happends if the area not registered before. |
|
455 * |
|
456 * @since S60 v4.0 |
|
457 * @param aId The unique id of this area. Don't use negative id. |
|
458 * @param aRect The tactile area. |
|
459 */ |
|
460 IMPORT_C void DeRegisterFeedbackArea(TInt aId,const TRect& aRect); |
|
461 |
|
462 /** |
|
463 * ChangeFeedbackArea. Change the area which has required tactile feedback. |
|
464 * |
|
465 * @since S60 v4.0 |
|
466 * @param aId The unique id of this area |
|
467 * @param aNew The new registered area |
|
468 * @param aOld Previous area for tactile feedback. |
|
469 */ |
|
470 IMPORT_C void ChangeFeedbackArea(TInt aId,const TRect& aNew,const TRect& aOld); |
|
471 |
|
472 /** |
|
473 * This function can be used to check, whether touch feedback is |
|
474 * supported at all in the device. |
|
475 * |
|
476 * @since S60 v4.0 |
|
477 * @return ETrue if touch feedback is supported in this device. |
|
478 */ |
|
479 IMPORT_C TBool SupportTactileFeedback(); |
|
480 |
|
481 /** |
|
482 * Gives instant feedback. |
|
483 * |
|
484 * Notice that the feedback might not be actually played, if |
|
485 * for example user has disabled the feedback from the settings. |
|
486 * |
|
487 * @since S60 v4.0 |
|
488 * @param aType - The logical feedback type to play. |
|
489 */ |
|
490 IMPORT_C void DoTactileFeedback(TInt aType); |
|
491 |
|
492 /** |
|
493 * Gives instant feedback. |
|
494 * |
|
495 * Notice that the feedback might not be actually played, if |
|
496 * for example user has disabled the feedback from the settings. |
|
497 * |
|
498 * @since S60 v4.0 |
|
499 * @param aType - The logical feedback type to play. |
|
500 * @param aVibraEnable - Enable Audio Feedback. |
|
501 * @param aAudioEnable - Enable Vibra Feedback. |
|
502 */ |
|
503 IMPORT_C void DoTactileFeedback(TInt aType, TBool aVibraEnable, TBool aAudioEnable); |
|
504 |
|
505 /** |
|
506 * Create the cursor. There is only one cursor within a pen ui. |
|
507 * |
|
508 * |
|
509 * @since S60 v4.0 |
|
510 * @return The cursor instance |
|
511 */ |
|
512 IMPORT_C CFepUiCursor* CreateCursor(); |
|
513 |
|
514 /** |
|
515 * SetPositionFromOutside. Inform UI that the position is change from outside of UI. |
|
516 * |
|
517 * @since S60 v5.0 |
|
518 * @param aInfo The information. |
|
519 * @param aType The information type |
|
520 */ |
|
521 IMPORT_C void SetPositionFromOutside(const TPoint& aNewPos); |
|
522 |
|
523 |
|
524 /** |
|
525 * RegisterFeedbackArea. Register the area which requires tactile feedback. |
|
526 * Note, if two control have the same area, you need to register twice. |
|
527 * |
|
528 * @since S60 v4.0 |
|
529 * @param aId The unique id of this area |
|
530 * @param aRect The tactile area. |
|
531 */ |
|
532 //Advanced Tactile feedback REQ417-47932 |
|
533 IMPORT_C void RegisterFeedbackArea(TInt aId,const TRect& aRect, TInt aTactileType); |
|
534 |
|
535 |
|
536 /** |
|
537 * ChangeFeedbackType. Change the tactile feedback which has required tactile feedback. |
|
538 * |
|
539 * @since S60 v4.0 |
|
540 * @param aId The unique id of this feedback type |
|
541 * @param aRect The area |
|
542 * @param aNewTactileType new feedback type. |
|
543 * |
|
544 */ |
|
545 //Advanced Tactile feedback REQ417-47932 |
|
546 IMPORT_C void ChangeFeedbackType(TInt aId, TInt aNewTactileType); |
|
547 |
|
548 protected: |
|
549 /** |
|
550 * Constructor |
|
551 * |
|
552 * @since S60 v4.0 |
|
553 * @param aLayoutOwner The layout owner |
|
554 */ |
|
555 IMPORT_C CFepUiLayout(MLayoutOwner* aLayoutOwner); |
|
556 |
|
557 /** |
|
558 * OnSkinChange. Called when system skin changed. |
|
559 * |
|
560 * @since S60 v4.0 |
|
561 * @return KErrNone if successfully handling. |
|
562 */ |
|
563 IMPORT_C virtual TInt OnSkinChange(); |
|
564 |
|
565 private: |
|
566 |
|
567 /** |
|
568 * Handle raw key event. Call back function. Called when raw key event happens |
|
569 * Do nothing in default implementation |
|
570 * |
|
571 * @since S60 v4.0 |
|
572 * @param aKeyEvent Key event |
|
573 * @return EFalse if the key has not been processed. Otherwise ETrue. |
|
574 * If key is not processed, it will be passed to CONE's control stack. |
|
575 */ |
|
576 IMPORT_C virtual TBool HandleRawKeyEventL(const TRawEvent& aKeyEvent); |
|
577 |
|
578 /** |
|
579 * Handle pointer down/up event while this event is outside of the layout |
|
580 * Do nothing in default implementation |
|
581 * |
|
582 * @since S60 v4.0 |
|
583 * @param aEvent The raw event |
|
584 * @return EFalse if the event needs forward on. Otherwise ETrue. |
|
585 */ |
|
586 IMPORT_C virtual TBool OnPointerEventOutsideLayout(const TRawEvent& aEvent); |
|
587 |
|
588 /** |
|
589 * IsSemiTransparencyRequired. Tell whether one of the contorl require transparency. |
|
590 * |
|
591 * @since S60 v4.0 |
|
592 * @param aCtrlList The control list |
|
593 * @return ETrue if layout require transparency, otherwise EFalse. |
|
594 */ |
|
595 TBool IsSemiTransparencyRequired(const RPointerArray<CFepUiBaseCtrl>& aCtrlList); |
|
596 |
|
597 /** |
|
598 * SizeChanged. Called when screen size changed. |
|
599 * |
|
600 * @since S60 v4.0 |
|
601 * @param aData the event data |
|
602 * @return KErrNone if successfully size changing. |
|
603 */ |
|
604 IMPORT_C virtual TInt SizeChanged(const TAny* aData); |
|
605 |
|
606 /** |
|
607 * Send editor text and cursor pos |
|
608 * |
|
609 * @since S60 v4.0 |
|
610 * @param aData Editor text and cursor pos information |
|
611 */ |
|
612 void SendEditorTextAndCursorPosL(TUint8* aData); |
|
613 |
|
614 private: |
|
615 /** |
|
616 * Layout dragging position. Same as iLayoutPos, but only used when layout is |
|
617 * dragging. |
|
618 * |
|
619 */ |
|
620 TPoint iLayoutDraggingPos; |
|
621 |
|
622 /** |
|
623 * screen size |
|
624 */ |
|
625 TSize iScreenSize; |
|
626 |
|
627 /** |
|
628 * Root control. It's a control group. |
|
629 * Own |
|
630 */ |
|
631 CFepUiLayoutRootCtrl* iRootCtrl; |
|
632 |
|
633 /** |
|
634 * Layout owner. |
|
635 * Not own |
|
636 */ |
|
637 MLayoutOwner* iLayoutOwner; |
|
638 /** |
|
639 * layout dragbar number. |
|
640 */ |
|
641 TInt iDragbarNum; |
|
642 /** |
|
643 * dragbar list |
|
644 */ |
|
645 CDragBar* iDragbarList[KMaxDragBarNum]; |
|
646 |
|
647 /** |
|
648 * locked area. There may be one locked area which only the locker can |
|
649 * update the area. |
|
650 */ |
|
651 TRect iLockedArea; |
|
652 |
|
653 /** |
|
654 * The owner of the locked area |
|
655 */ |
|
656 CFepUiBaseCtrl* iLockedAreaOwner; |
|
657 |
|
658 /** |
|
659 * State indicates layout ready to be drawn |
|
660 */ |
|
661 TInt iLayoutReady; |
|
662 |
|
663 /** |
|
664 * Reserved item1 |
|
665 */ |
|
666 TInt iReserved1; |
|
667 |
|
668 /** |
|
669 * Flag for tactile feedback support |
|
670 */ |
|
671 TBool iTactileSupported; |
|
672 }; |
|
673 |
|
674 #include "peninputlayout.inl" |
|
675 |
|
676 #endif C_CFEPUILAYOUT_H |
|
677 |
|
678 // End of file |