rem: ProgressIndicator *pPtr; W_Screen *scrPtr = W_VIEW(parent)->screen;  pPtr = wmalloc(sizeof(ProgressIndicator)); memset(pPtr, 0, sizeof(ProgressIndicator));  pPtr->widgetClass = WC_ProgressIndicator;  pPtr->view = W_CreateView(W_VIEW(parent)); if (!pPtr->view) { free(pPtr); return NULL; }  pPtr->view->self = pPtr;  pPtr->view->delegate = &_ProgressIndicatorDelegate;  WMCreateEventHandler(pPtr->view, ExposureMask|StructureNotifyMask, handleEvents, pPtr);   W_ResizeView(pPtr->view, DEFAULT_PROGRESS_INDICATOR_WIDTH, DEFAULT_PROGRESS_INDICATOR_HEIGHT);   pPtr->value = 0; pPtr->minValue = 0; pPtr->maxValue = 100;  WMAddNotificationObserver(realizeObserver, pPtr, WMViewRealizedNotification, pPtr->view);  return pPtr;
add: ProgressIndicator *pPtr;  pPtr = wmalloc(sizeof(ProgressIndicator)); memset(pPtr, 0, sizeof(ProgressIndicator));  pPtr->widgetClass = WC_ProgressIndicator;  pPtr->view = W_CreateView(W_VIEW(parent)); if (!pPtr->view) { free(pPtr); return NULL; }  pPtr->view->self = pPtr;  pPtr->view->delegate = &_ProgressIndicatorDelegate;  WMCreateEventHandler(pPtr->view, ExposureMask|StructureNotifyMask, handleEvents, pPtr);   W_ResizeView(pPtr->view, DEFAULT_PROGRESS_INDICATOR_WIDTH, DEFAULT_PROGRESS_INDICATOR_HEIGHT);   pPtr->value = 0; pPtr->minValue = 0; pPtr->maxValue = 100;  WMAddNotificationObserver(realizeObserver, pPtr, WMViewRealizedNotification, pPtr->view);  return pPtr;
context: WMCreateProgressIndicator(WMWidget *parent){	ProgressIndicator *pPtr;	W_Screen *scrPtr = W_VIEW(parent)->screen;	pPtr = wmalloc(sizeof(ProgressIndicator));	memset(pPtr, 0, sizeof(ProgressIndicator));	pPtr->widgetClass = WC_ProgressIndicator;	pPtr->view = W_CreateView(W_VIEW(parent));	if (!pPtr->view) {		free(pPtr);		return NULL;	}	pPtr->view->self = pPtr;	pPtr->view->delegate = &_ProgressIndicatorDelegate;	WMCreateEventHandler(pPtr->view, ExposureMask|StructureNotifyMask,			handleEvents, pPtr);	W_ResizeView(pPtr->view, DEFAULT_PROGRESS_INDICATOR_WIDTH,			DEFAULT_PROGRESS_INDICATOR_HEIGHT);	/* Initialize ProgressIndicator Values */	pPtr->value = 0;	pPtr->minValue = 0;	pPtr->maxValue = 100;	WMAddNotificationObserver(realizeObserver, pPtr,			WMViewRealizedNotification, pPtr->view);		return pPtr;}