[haiku-appserver] _BMCItem_

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 16 Feb 2006 21:35:05 +0100

Hi,

in src/kits/interface, we have BMCPrivate.cpp. It contains some special 
classes that deal with BMenuFields special version of a BMenuBar. However, 
I don't understand the purpose of _BMCItem_. All it does is override the 
BMenuItem::Draw() function to draw the "popup marker". And even this only 
if fShowPopUpMarker is true. I don't get it. Why is this not done in 
_BMCMenuBar_::Draw()? Will I break anything if I change this? Where are 
_BMCItem_ instantiated at all?

Best regards,
-Stephan

Other related posts: