[haiku-commits] Re: haiku: hrev45455 - in src: apps/deskbar kits/interface

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 07 Apr 2013 12:58:05 +0200

On 04/07/2013 09:02 AM, jscipione@xxxxxxxxx wrote:
+                                       int32 arrowDirection = 
BControlLook::B_RIGHT_DOWN_ARROW;
+                                       
lastItem->DrawExpanderArrow(arrowDirection);

Don't draw outside Draw(). This is only supported for backwards compatibility with BeOS, and might be removed completely in future Haiku versions.
No need to write code like this anymore.

Bye,
   Axel.


Other related posts: