[haiku-development] Layout question

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 3 Sep 2008 08:56:28 +0200

Hi
Any reason why the SimpleLayouter (and ComplexLayouter) constructor
accepts an int32 parameter for spacing, while
BTwoDimensionalLayout::CompoundLayouter::_Spacing() returns a float ?
This produces a warning while compiling TwoDimensionalLayout.cpp with
gcc4, since _Spacing() is passed as second paramenter of the above
constructor. While the fix is easy, I was wondering why spacing was
defined with two different types.

Other related posts: