equal
deleted
inserted
replaced
1483 */ |
1483 */ |
1484 void SetFrameRects(); |
1484 void SetFrameRects(); |
1485 |
1485 |
1486 /** |
1486 /** |
1487 * Converts text to visual and clips it. This is called when there |
1487 * Converts text to visual and clips it. This is called when there |
1488 * are possible changes in visual text. |
1488 * are possible changes in visual text or text area changed. |
1489 */ |
1489 * Notice that if the text area size is changed, clipped visual text |
1490 void ConvertTextToVisualAndClip() const; |
1490 * should be regenerated. |
|
1491 * |
|
1492 * @param aRect new text area. |
|
1493 * |
|
1494 */ |
|
1495 void ConvertTextToVisualAndClip( const TRect& aRect ) const; |
|
1496 |
|
1497 /* |
|
1498 * Get rect for icon and text of the current button state . |
|
1499 * |
|
1500 * @param aIconRect the rectangle for icon. If no icon used in current state, |
|
1501 * this will be EUninitialized. |
|
1502 * @param aTextRect the rectangle for text. If no text in current state, |
|
1503 * this will be EUninitialized. |
|
1504 */ |
|
1505 void GetCurrentStateTextAndIconRect( TRect& aIconRect, TRect& aTextRect ) const; |
1491 |
1506 |
1492 protected: // Data |
1507 protected: // Data |
1493 |
1508 |
1494 // array to keep states |
1509 // array to keep states |
1495 CArrayPtrFlat<CAknButtonState>* iStates; |
1510 CArrayPtrFlat<CAknButtonState>* iStates; |