javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/ercp/swt/mobile/ListBox.java
changeset 80 d6dafc5d983f
parent 35 85266cc22c7f
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
  1437         for (int i = 0; i < count; i++) {
  1437         for (int i = 0; i < count; i++) {
  1438             if (items[i]!=null && items[i].detailIcons != null) {
  1438             if (items[i]!=null && items[i].detailIcons != null) {
  1439                 imageCount = items[i].detailIcons.length;
  1439                 imageCount = items[i].detailIcons.length;
  1440                 detailImageHandles = new int[imageCount];
  1440                 detailImageHandles = new int[imageCount];
  1441                 for (int j = 0; j < imageCount; j++) {
  1441                 for (int j = 0; j < imageCount; j++) {
  1442                     detailImageHandles[j] = Internal_GfxPackageSupport.getPixmapHandle(items[i].detailIcons[j]);
  1442                     detailImageHandles[j] = Internal_GfxPackageSupport.getImageHandle(items[i].detailIcons[j]);
  1443                 }
  1443                 }
  1444             } else {
  1444             } else {
  1445                 detailImageHandles = null;
  1445                 detailImageHandles = null;
  1446             }
  1446             }
  1447 
  1447 
  1448             if ( items[i]!=null && items[i].headingIcons != null) {
  1448             if ( items[i]!=null && items[i].headingIcons != null) {
  1449                 imageCount = items[i].headingIcons.length;
  1449                 imageCount = items[i].headingIcons.length;
  1450                 headingImageHandles = new int[imageCount];
  1450                 headingImageHandles = new int[imageCount];
  1451                 for (int j = 0; j < imageCount; j++) {
  1451                 for (int j = 0; j < imageCount; j++) {
  1452                     headingImageHandles[j] = Internal_GfxPackageSupport.getPixmapHandle(items[i].headingIcons[j]);
  1452                     headingImageHandles[j] = Internal_GfxPackageSupport.getImageHandle(items[i].headingIcons[j]);
  1453                 }
  1453                 }
  1454             } else {
  1454             } else {
  1455                 headingImageHandles = null;
  1455                 headingImageHandles = null;
  1456             }
  1456             }
  1457             if(items[i]!=null){
  1457             if(items[i]!=null){