Пример #1
0
/**
* Gets the preferred height for the block bar widget for this particular width.
*/
void GtkBlockBar::get_preferred_height_for_width_vfunc(int /* width */,
        int& minimum_height, int& natural_height) const
{
	get_preferred_height(minimum_height, natural_height);
}
Пример #2
0
	float ImageView::calculate_first_baseline_offset(Canvas &canvas, float width)
	{
		return get_preferred_height(canvas, width);
	}