Changeset 651 for trunk/src/gui/styles/qs60style_s60.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/styles/qs60style_s60.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 64 64 #include <aknnavi.h> 65 65 #include <gulicon.h> 66 66 67 67 68 #if !defined(QT_NO_STYLE_S60) || defined(QT_PLUGIN) … … 73 74 EDrawGulIcon, 74 75 EDrawBackground, 76 75 77 ENoDraw 76 78 }; … … 98 100 } partMapEntry; 99 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 100 143 class QS60StyleModeSpecifics 101 144 { … … 114 157 static TAknsItemID partSpecificThemeId(int part); 115 158 159 160 116 161 private: 117 162 static QPixmap createSkinnedGraphicsLX(QS60StyleEnums::SkinParts part, … … 129 174 130 175 const partMapEntry QS60StyleModeSpecifics::m_partMap[] = { 131 /* SP_QgnGrafBarWait */ {KAknsIIDQgnGrafBarWaitAnim, EDrawIcon, ES60_All, -1,-1},176 /* SP_QgnGrafBarWaiton, ES60_All, -1,-1}, 132 177 /* SP_QgnGrafBarFrameCenter */ {KAknsIIDQgnGrafBarFrameCenter, EDrawIcon, ES60_All, -1,-1}, 133 178 /* SP_QgnGrafBarFrameSideL */ {KAknsIIDQgnGrafBarFrameSideL, EDrawIcon, ES60_All, -1,-1}, … … 372 417 { 373 418 switch(stylePart) { 374 case QS60StyleEnums::SP_QgnGrafBarWait :419 case QS60StyleEnums::SP_QgnGrafBarWait: 375 420 fallbackIndex = EMbmAvkonQgn_graf_bar_wait_1; 376 421 break; … … 605 650 } 606 651 652 653 654 655 656 607 657 QPoint qt_s60_fill_background_offset(const QWidget *targetWidget) 608 658 { … … 710 760 break; 711 761 } 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 712 825 } 713 826 if (!result) … … 732 845 QPixmap result; 733 846 734 // QS60WindowSurface::unlockBitmapHeap();735 847 static const TDisplayMode displayMode = S60->supportsPremultipliedAlpha ? Q_SYMBIAN_ECOLOR16MAP : EColor16MA; 736 848 static const TInt drawParam = S60->supportsPremultipliedAlpha ? KAknsDrawParamDefault : KAknsDrawParamNoClearUnderImage|KAknsDrawParamRGBOnly; … … 910 1022 911 1023 QFont QS60StylePrivate::s60Font_specific( 912 QS60StyleEnums::FontCategories fontCategory, int pointSize) 913 { 1024 QS60StyleEnums::FontCategories fontCategory, 1025 int pointSize, bool resolveFontSize) 1026 { 1027 Q_UNUSED(resolveFontSize); 1028 914 1029 TAknFontCategory aknFontCategory = EAknFontCategoryUndefined; 915 1030 switch (fontCategory) { … … 983 1098 } 984 1099 1100 1101 985 1102 QS60StylePrivate::QS60StylePrivate() 986 1103 { 1104 1105 1106 987 1107 // No need to set active layout, if dynamic metrics API is available 988 1108 setActiveLayout(); … … 1185 1305 topLevelWidget->ensurePolished(); 1186 1306 } 1307 1308 1309 1310 1311 1187 1312 } 1188 1313 … … 1204 1329 } 1205 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1206 1446 #endif // Q_WS_S60 1207 1447
Note:
See TracChangeset
for help on using the changeset viewer.