SimpleMenu.cpp
/*
     * Check and Paint each of the entries - including the label.
     */
Check and Paint each of the entries - including the label.
Check and Paint each of the entries - including the label .
ForAllChildren(smw, entry) {
	if (!XtIsManaged ( (Widget) *entry)) continue;
	if (region != NULL) 
	    switch(XRectInRegion(region, (int) (*entry)->rectangle.x,
				 (int) (*entry)->rectangle.y,
				 (unsigned int) (*entry)->rectangle.width,
				 (unsigned int) (*entry)->rectangle.height)) {
	    case RectangleIn:
	    case RectanglePart:
		break;
	    default:
		continue;
	    }
	widgetClass = (SmeObjectClass) (*entry)->object.widget_class;
	if (widgetClass->rect_class.expose != NULL)
	    (widgetClass->rect_class.expose)( (Widget) *entry, NULL, NULL);
    }
ForAllChildren ( smw , entry ) { if ( ! XtIsManaged ( ( Widget ) * entry ) ) continue ; if ( region != NULL ) switch ( XRectInRegion ( region , ( int ) ( * entry ) -> rectangle . x , ( int ) ( * entry ) -> rectangle . y , ( unsigned int ) ( * entry ) -> rectangle . width , ( unsigned int ) ( * entry ) -> rectangle . height ) ) { case RectangleIn : case RectanglePart : break ; default : continue ; } widgetClass = ( SmeObjectClass ) ( * entry ) -> object . widget_class ; if ( widgetClass -> rect_class . expose != NULL ) ( widgetClass -> rect_class . expose ) ( ( Widget ) * entry , NULL , NULL ) ; }
Check and Paint each of the entries - including the label.
Check and Paint each of the entries - including the label .