src/game/UILayout.cc
bool UILayout::setScreenSize(UINT16 width, UINT16 height)
{
	if((width >= MIN_INTERFACE_WIDTH) && (height >= MIN_INTERFACE_HEIGHT))
	{
		m_screenWidth = width;
		m_screenHeight = height;
		recalculatePositions();
		return true;
	}
	return false;
}
/** Set new screen size.
 * This method should be called before most of the application initialization is done. */
Set new screen size.
This method should be called before most of the application initialization is done.
Set new screen size . This method should be called before most of the application initialization is done .
bool UILayout::setScreenSize(UINT16 width, UINT16 height)
{
	if((width >= MIN_INTERFACE_WIDTH) && (height >= MIN_INTERFACE_HEIGHT))
	{
		m_screenWidth = width;
		m_screenHeight = height;
		recalculatePositions();
		return true;
	}
	return false;
}
bool UILayout :: setScreenSize ( UINT16 width , UINT16 height ) { if ( ( width >= MIN_INTERFACE_WIDTH ) && ( height >= MIN_INTERFACE_HEIGHT ) ) { m_screenWidth = width ; m_screenHeight = height ; recalculatePositions ( ) ; return true ; } return false ; }
Set new screen size.
Set new screen size .