- Timestamp:
- Oct 23, 2009, 8:48:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/Composite.java
r191 r211 510 510 //@@TODO(dmik): think of it, not sure that it is processed in the right way here... 511 511 // And may be better to move this code to Decorations class... 512 MRESULT WM_ERASEBACKGROUND (int mp1, int mp2) { 513 //@@TODO (lpino): Remove log 514 // System.out.println("Composite::WM_ERASEBACKGROUND -> HANDLE = " + Integer.toHexString(handle)); 515 if ((state & CANVAS) != 0) { 516 return MRESULT.FALSE; 517 // return super.WM_ERASEBACKGROUND (mp1, mp2); 518 } 519 RECTL rcl = new RECTL(); 520 OS.objcpy (rcl, mp2); 521 drawBackground (mp1, rcl); 522 return MRESULT.TRUE; 523 } 512 // MRESULT WM_ERASEBACKGROUND (int mp1, int mp2) { 513 // //@@TODO (lpino): Remove log 514 // System.out.println("Composite::WM_ERASEBACKGROUND -> HANDLE = " + Integer.toHexString(handle)); 515 // if ((state & CANVAS) != 0) { 516 // // System.out.println("Composite::WM_ERASEBACKGROUND -> HANDLE = " + Integer.toHexString(handle)); 517 // return MRESULT.FALSE; 518 // // return super.WM_ERASEBACKGROUND (mp1, mp2); 519 // } 520 // System.out.println("Composite::WM_ERASEBACKGROUND -> HANDLE = " + Integer.toHexString(handle)); 521 // RECTL rcl = new RECTL(); 522 // OS.objcpy (rcl, mp2); 523 // drawBackground (mp1, rcl); 524 // return MRESULT.FALSE; 525 // } 524 526 525 527 MRESULT WM_QUERYDLGCODE (int mp1, int mp2) { … … 616 618 617 619 MRESULT WM_PAINT (int mp1, int mp2) { 620 // System.out.println("Composite::WM_PAINT -> HANDLE = " + Integer.toHexString(handle)); 618 621 if ((state & CANVAS) == 0) { 619 622 return super.WM_PAINT (mp1, mp2); 620 623 } 621 624 … … 805 808 } 806 809 810 MRESULT WM_ADJUSTWINDOWPOS (int mp1, int mp2) { 811 System.out.println("Composite::WM_ADJUSTWINDOWPOS -> HANDLE = " + Integer.toHexString(handle)); 812 return null; 813 } 814 807 815 //LRESULT WM_SYSCOLORCHANGE (int wParam, int lParam) { 808 816 // Control [] children = _getChildren ();
Note:
See TracChangeset
for help on using the changeset viewer.