SRGScaleBar::FindAttachDisplay

SRGDisplayBase*SRGScaleBar::FindAttachDisplay(void)

This function is called by the draw routine to find the attach display component. By default, this function search the component list of the parent graph forward starting from itself. It will return the first display component it encountered or NULL if no display component was found. Override this function to customize the display finding procedure

Defined in: SRGScaleBar.cpp

Return Value

SRGDisplayBase* A display component found or NULL