equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
119 * Retrieves button next to the button with specified id. |
119 * Retrieves button next to the button with specified id. |
120 * |
120 * |
121 * @param aButtonId Current button's id. |
121 * @param aButtonId Current button's id. |
122 * @return Next button after current. |
122 * @return Next button after current. |
123 */ |
123 */ |
124 CFsControlButton* NextButton( TInt aButtonId ); |
124 CFsControlButton* NextButton( TInt aButtonId, TBool aLandscape = EFalse ); |
125 |
125 |
126 /** |
126 /** |
127 * Retrieves button previous to the button with specified id. |
127 * Retrieves button previous to the button with specified id. |
128 * |
128 * |
129 * @param aButtonId Current button's id. |
129 * @param aButtonId Current button's id. |
130 * @return Previous button after current. |
130 * @return Previous button after current. |
131 */ |
131 */ |
132 CFsControlButton* PrevButton( TInt aButtonId ); |
132 CFsControlButton* PrevButton( TInt aButtonId, TBool aLandscape = EFalse ); |
133 |
133 |
134 /** |
134 /** |
135 * Sets focus state for control bar. |
135 * Sets focus state for control bar. |
136 * |
136 * |
137 * @param aState State to be set. |
137 * @param aState State to be set. |
194 |
194 |
195 /** |
195 /** |
196 * Set bar's rect |
196 * Set bar's rect |
197 */ |
197 */ |
198 void SetRect( const TRect& aRect ); |
198 void SetRect( const TRect& aRect ); |
199 |
199 |
200 /** |
200 /** |
201 * Get size of the controlbar. |
201 * Get size of the controlbar. |
202 * |
202 * |
203 * @return Size of the controlbar. |
203 * @return Size of the controlbar. |
204 */ |
204 */ |
206 |
206 |
207 /** |
207 /** |
208 * Get top-left position |
208 * Get top-left position |
209 */ |
209 */ |
210 TPoint Pos() const; |
210 TPoint Pos() const; |
211 |
211 |
212 private: |
212 private: |
213 |
213 |
214 /** |
214 /** |
215 * Default constructor. |
215 * Default constructor. |
216 */ |
216 */ |
258 * Height default flag. |
258 * Height default flag. |
259 */ |
259 */ |
260 TBool iHeightUseDefault; |
260 TBool iHeightUseDefault; |
261 |
261 |
262 /** |
262 /** |
263 * Top-left position |
263 * Top-left position |
264 */ |
264 */ |
265 TPoint iTl; |
265 TPoint iTl; |
266 }; |
266 }; |
267 |
267 |
268 |
268 |