- Timestamp:
- Oct 10, 2009, 7:01:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/TabFolder.java
r172 r197 60 60 * area. 61 61 */ 62 // WNDCLASS lpWndClass = new WNDCLASS ();63 62 CLASSINFO pclsiClassInfo = new CLASSINFO (); 64 63 OS.WinQueryClassInfo (OS.NULLHANDLE, TabFolderClass, pclsiClassInfo); … … 234 233 int pageID = OS.WinSendMsg (handle, OS.BKM_INSERTPAGE, 0, OS.MPFROM2SHORT((short)(OS.BKA_MAJOR),(short)OS.BKA_LAST)); 235 234 //@@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 , 0x00C 0C0C0);235 OS.WinSendMsg (handle, OS.BKM_SETTABCOLOR, pageID , 0x00CCCCCC); 237 236 //@@INFO(lpino): The background of empty tabs are set to gray 238 237 OS.WinSendMsg (handle, OS.BKM_SETNOTEBOOKCOLORS, OS.SYSCLR_FIELDBACKGROUND , OS.BKA_BACKGROUNDPAGECOLORINDEX); … … 329 328 int height = rect.yTop - rect.yBottom; 330 329 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);339 330 340 331 return new Rectangle (0, y, width, height);
Note:
See TracChangeset
for help on using the changeset viewer.