rem: int oldHeight; WMView *view = sPtr->view; int newWidth = view->size.width; WMView *upper, *lower;
context: handleViewResized(void *self, WMNotification *notification){    SplitView *sPtr = (SplitView*)self;    int oldHeight;    WMView *view = sPtr->view;    int newWidth = view->size.width;    WMView *upper, *lower;    if (!view->childrenList)	return;        if (view->childrenList->nextSister==NULL) {	if (view->self)	    WMResizeWidget(view->childrenList->self, newWidth, view->size.height);	else	    W_ResizeView(view->childrenList, newWidth, view->size.height);    } else {	upper = view->childrenList;	lower = upper->nextSister;	oldHeight = upper->size.height+DIVIDER_THICKNESS+lower->size.height;		if (oldHeight > view->size.height	    && upper->size.height+DIVIDER_THICKNESS >= view->size.height) {	    WMAdjustSplitViewSubviews(sPtr);	} else {	    if (upper->self) {		WMResizeWidget(upper->self, newWidth, upper->size.height);	    } else {		W_ResizeView(upper, newWidth, upper->size.height);	    }	    if (lower->self) {		WMResizeWidget(lower->self, newWidth,			       view->size.height-lower->pos.y);	    } else {		W_ResizeView(lower, newWidth, view->size.height-lower->pos.y);	    }	}    }}