[haiku-development] B_VIEW_RESIZED fields type

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 1 Aug 2010 17:14:43 +0200

It seems we violate the BeBook on B_VIEW_RESIZED:
http://www.haiku-os.org/legacy-docs/bebook/TheInterfaceKit_MessageConstants.html#B_VIEW_RESIZED

We should use int32 type but the code uses floats.
This breaks the XEmacs port at least.
Seems nobody noticed because BView::FrameResized() doesn't use the fields 
directly.

Does anyone use them as float already or can I fix them ?

Maybe we could add a rect field as well, which does use floats...

François.

Other related posts: