equal
deleted
inserted
replaced
13 #ifndef SWTUIUTILS_H |
13 #ifndef SWTUIUTILS_H |
14 #define SWTUIUTILS_H |
14 #define SWTUIUTILS_H |
15 |
15 |
16 |
16 |
17 #include <AknPopupFader.h> |
17 #include <AknPopupFader.h> |
|
18 #include <aknappui.h> |
18 #include "eswtwidgetscore.h" |
19 #include "eswtwidgetscore.h" |
19 |
20 |
20 |
21 |
21 class CAknNavigationDecorator; |
22 class CAknNavigationDecorator; |
22 |
23 |
185 */ |
186 */ |
186 const CFont& InlineReferenceFont() const; |
187 const CFont& InlineReferenceFont() const; |
187 |
188 |
188 void HideIndicator(TInt aId); |
189 void HideIndicator(TInt aId); |
189 void HideIndicators(); |
190 void HideIndicators(); |
190 |
191 |
191 void DoSetSplitInputShellPos(const TPoint& aPos); |
192 void DoSetSplitInputShellPos(const TPoint& aPos); |
192 void DoSetSplitInputViewSize(const TSize& aSize); |
193 void DoSetSplitInputViewSize(const TSize& aSize); |
193 |
194 |
194 MSwtControl* ScrolledCompositeAncestor(const MSwtControl& aControl) const; |
195 MSwtControl* ScrolledCompositeAncestor(const MSwtControl& aControl) const; |
195 |
196 |
196 // From MSwtUiUtils |
197 // From MSwtUiUtils |
197 public: |
198 public: |
198 TRgb GetSystemColor(TSwtColorId aId) const; |
199 TRgb GetSystemColor(TSwtColorId aId) const; |
238 MSwtControl* SplitInputEditor() const; |
239 MSwtControl* SplitInputEditor() const; |
239 MSwtControl* SplitInputView() const; |
240 MSwtControl* SplitInputView() const; |
240 void SetSplitInputShellPos(const TPoint& aOriginalPos); |
241 void SetSplitInputShellPos(const TPoint& aOriginalPos); |
241 void SetSplitInputViewSize(const TSize& aOriginalSize); |
242 void SetSplitInputViewSize(const TSize& aOriginalSize); |
242 void AdjustSplitInputShellPos(); |
243 void AdjustSplitInputShellPos(); |
243 |
244 void RegisterFixScreenOrientation(); |
|
245 void UnRegisterFixScreenOrientation(); |
|
246 TBool IsScreenOrientationFixed() const; |
|
247 |
244 protected: |
248 protected: |
245 void HandleFreeRamEventL(TInt aEventType); |
249 void HandleFreeRamEventL(TInt aEventType); |
246 |
250 |
247 // From MSwtAppFocusObserver |
251 // From MSwtAppFocusObserver |
248 public: |
252 public: |
398 |
402 |
399 /** |
403 /** |
400 * Key input flag. |
404 * Key input flag. |
401 */ |
405 */ |
402 TBool iNaviKeyInput; |
406 TBool iNaviKeyInput; |
403 |
407 |
404 /** |
408 /** |
405 * Split input data. |
409 * Split input data. |
406 */ |
410 */ |
407 MSwtControl* iSplitInputEditor; |
411 MSwtControl* iSplitInputEditor; |
408 MSwtControl* iSplitInputView; |
412 MSwtControl* iSplitInputView; |
409 TSize iSplitInputViewSize; |
413 TSize iSplitInputViewSize; |
410 TPoint iSplitInputShellPos; |
414 TPoint iSplitInputShellPos; |
411 TBool iSplitInputSPVisible; |
415 TBool iSplitInputSPVisible; |
|
416 TInt iFixScreenOrientationApplicantsCount; |
|
417 TBool iRestoreOrientation; |
|
418 CAknAppUiBase::TAppUiOrientation iOldUiOrientation; |
412 }; |
419 }; |
413 |
420 |
414 /** |
421 /** |
415 * Return the existing shells |
422 * Return the existing shells |
416 */ |
423 */ |