Changeset 197 for trunk/src


Ignore:
Timestamp:
Oct 10, 2009, 7:01:57 PM (16 years ago)
Author:
lpino
Message:
  • Fix the right color for tabs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/TabFolder.java

    r172 r197  
    6060                * area.
    6161                */
    62 //              WNDCLASS lpWndClass = new WNDCLASS ();
    6362                CLASSINFO pclsiClassInfo = new CLASSINFO ();
    6463                OS.WinQueryClassInfo (OS.NULLHANDLE, TabFolderClass, pclsiClassInfo);
     
    234233         int pageID = OS.WinSendMsg (handle, OS.BKM_INSERTPAGE, 0, OS.MPFROM2SHORT((short)(OS.BKA_MAJOR),(short)OS.BKA_LAST));
    235234         //@@INFO(lpino): All tabs are gray to keep a consistent look with the rests of the platforms
    236          OS.WinSendMsg (handle, OS.BKM_SETTABCOLOR, pageID , 0x00C0C0C0);
     235         OS.WinSendMsg (handle, OS.BKM_SETTABCOLOR, pageID , 0x00CCCCCC);
    237236         //@@INFO(lpino): The background of empty tabs are set to gray
    238237         OS.WinSendMsg (handle, OS.BKM_SETNOTEBOOKCOLORS, OS.SYSCLR_FIELDBACKGROUND , OS.BKA_BACKGROUNDPAGECOLORINDEX);
     
    329328        int height = rect.yTop - rect.yBottom;
    330329        int y = swp.cy-height;
    331 
    332 //        System.out.println("XLEFT = " + rect.xLeft);
    333 //        System.out.println("YTOP = " + rect.yTop);
    334 //        System.out.println("XRIGHT = " + rect.xRight);
    335 //        System.out.println("YBOTTOM = " + rect.yBottom);
    336 //        System.out.println("width = " + width);
    337 //        System.out.println("height = " + height);
    338 //        System.out.println("Delta = " + swp.y);
    339330
    340331        return new Rectangle (0, y, width, height);
Note: See TracChangeset for help on using the changeset viewer.