Changeset 190 for trunk/src


Ignore:
Timestamp:
Sep 25, 2009, 3:24:44 PM (16 years ago)
Author:
lpino
Message:
  • Real fix of redraw clipped backgrounds of composite classes
File:
1 edited

Legend:

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

    r182 r190  
    555555        hps = this.hps;
    556556    }
     557//     System.out.println("Control::drawBackground -> xLeft = " + rcl.xLeft);
     558//     System.out.println("Control::drawBackground -> xRight = " + rcl.xRight);
     559//     System.out.println("Control::drawBackground -> yBottom = " + rcl.yBottom);
     560//     System.out.println("Control::drawBackground -> yTop = " + rcl.yTop);
    557561    OS.WinFillRect (hps, rcl, getBackgroundPixel ());
    558562}
     
    28942898int widgetStyle () {
    28952899    /* Force strict clipping by setting WS_CLIPSIBLINGS */
    2896     return OS.WS_VISIBLE | OS.WS_CLIPSIBLINGS;
     2900    //@@TODO (lpino): Remove log
     2901//    System.out.println("Control::widgetStyle");
     2902    return OS.WS_VISIBLE;// | OS.WS_CLIPSIBLINGS;
    28972903
    28982904    /*
     
    36783684MRESULT WM_PAINT (int mp1, int mp2) {
    36793685    /* Exit early - don't draw the background */
    3680     if (!hooks (SWT.Paint)) return null;
    3681 
     3686    if (!hooks (SWT.Paint)) {
     3687        return null;
     3688    }
     3689//    System.out.println("Control::WM_PAINT -> HANDLE  =  " + Integer.toHexString(handle));
    36823690    /* lazily obtain a long-term cached micro presentation space */
    36833691    GCData data = new GCData ();
     
    36873695        data.doInit = true;
    36883696    }
    3689 
    36903697    /* Get the damage */
    36913698    int hrgn = OS.GpiCreateRegion (hps, 0, null);
Note: See TracChangeset for help on using the changeset viewer.