equal
deleted
inserted
replaced
73 void UpdateFullScreenState(); |
73 void UpdateFullScreenState(); |
74 TRect GetTopShellRect() const; |
74 TRect GetTopShellRect() const; |
75 void DoDraw(); |
75 void DoDraw(); |
76 void DoCallDSAResourcesCallback(MUiEventConsumer *aConsumer); |
76 void DoCallDSAResourcesCallback(MUiEventConsumer *aConsumer); |
77 void DoCallUICallback(MUiEventConsumer *aConsumer, TInt aCallbackId); |
77 void DoCallUICallback(MUiEventConsumer *aConsumer, TInt aCallbackId); |
|
78 void FixUIOrientation(); |
|
79 void UnFixUIOrientation(); |
78 |
80 |
79 public: // From CCoeControl |
81 public: // From CCoeControl |
80 void SetDimmed(TBool aDimmed); |
82 void SetDimmed(TBool aDimmed); |
81 void HandleResourceChange(TInt aType); |
83 void HandleResourceChange(TInt aType); |
82 void MakeVisible(TBool aVisible); |
84 void MakeVisible(TBool aVisible); |
114 void MdcGetDSAResources( |
116 void MdcGetDSAResources( |
115 MUiEventConsumer& aConsumer, |
117 MUiEventConsumer& aConsumer, |
116 TBool aIsInUiThread); |
118 TBool aIsInUiThread); |
117 void MdcGetUICallback(MUiEventConsumer& aConsumer, TInt aCallbackId); |
119 void MdcGetUICallback(MUiEventConsumer& aConsumer, TInt aCallbackId); |
118 TRect MdcContainerWindowRect() const; |
120 TRect MdcContainerWindowRect() const; |
|
121 void MdcFixUIOrientation(TBool aEnableFix); |
119 |
122 |
120 public: // From MSwtDcFullscreenProvider |
123 public: // From MSwtDcFullscreenProvider |
121 void HandleDcEvent(int aType); |
124 void HandleDcEvent(int aType); |
122 |
125 |
123 #ifdef SWTDCCONTROL_DSA_ENABLED |
126 #ifdef SWTDCCONTROL_DSA_ENABLED |
191 |
194 |
192 // Own. |
195 // Own. |
193 // This observer receives requests from any thread and asynchronously |
196 // This observer receives requests from any thread and asynchronously |
194 // calls a callback in ESWT thread to a given receiver |
197 // calls a callback in ESWT thread to a given receiver |
195 CSwtDcObserver* iDcObserver; |
198 CSwtDcObserver* iDcObserver; |
196 |
199 |
|
200 // Indicates that UI orientation has been set to fixed |
|
201 // by this instance already, so another calls of |
|
202 // MdcFixUIOrientation(ETrue) are ignored then. And vice versa. |
|
203 TBool iFixedOrientationSet; |
197 |
204 |
198 }; |
205 }; |
199 |
206 |
200 |
207 |
201 #endif // SWTDCCONTROL_H |
208 #endif // SWTDCCONTROL_H |