vgui2/src/Scheme.cpp
int CSchemeManager::GetProportionalScaledValueEx( CScheme *pScheme, int normalizedValue )
{
	VPANEL sizing = pScheme->GetSizingPanel();
	if ( !sizing )
	{
		return GetProportionalScaledValue( normalizedValue );
	}

	int w, h;
	g_pIPanel->GetSize( sizing, w, h );
	return GetProportionalScaledValue_( w, h, normalizedValue );
}
// gets the proportional coordinates for doing screen-size independant panel layouts
// use these for font, image and panel size scaling (they all use the pixel height of the display for scaling)
gets the proportional coordinates for doing screen-size independant panel layouts
use these for font, image and panel size scaling (they all use the pixel height of the display for scaling)
gets the proportional coordinates for doing screen - size independant panel layouts use these for font image and panel size scaling ( they all use the pixel height of the display for scaling )
int CSchemeManager::GetProportionalScaledValueEx( CScheme *pScheme, int normalizedValue )
{
	VPANEL sizing = pScheme->GetSizingPanel();
	if ( !sizing )
	{
		return GetProportionalScaledValue( normalizedValue );
	}
	int w, h;
	g_pIPanel->GetSize( sizing, w, h );
	return GetProportionalScaledValue_( w, h, normalizedValue );
}
int CSchemeManager :: GetProportionalScaledValueEx ( CScheme * pScheme , int normalizedValue ) { VPANEL sizing = pScheme -> GetSizingPanel ( ) ; if ( ! sizing ) { return GetProportionalScaledValue ( normalizedValue ) ; } int w , h ; g_pIPanel -> GetSize ( sizing , w , h ) ; return GetProportionalScaledValue_ ( w , h , normalizedValue ) ; }
gets the proportional coordinates for doing screen-size independant panel layouts
use these for font, image and panel size scaling (they all use the pixel height of the display for scaling)
gets the proportional coordinates for doing screen - size independant panel layouts use these for font image and panel size scaling ( they all use the pixel height of the display for scaling )