Invalidate less in BMenuBar::FrameResized() and a bit more in _BMCMenuBar_::FrameResized(), removed unused _BMCItem_
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17417 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,33 +34,6 @@
|
||||
#include <MenuBar.h>
|
||||
#include <MenuItem.h>
|
||||
|
||||
// Project Includes ------------------------------------------------------------
|
||||
|
||||
// Local Includes --------------------------------------------------------------
|
||||
|
||||
// Local Defines ---------------------------------------------------------------
|
||||
|
||||
// Globals ---------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
class _BMCItem_ : public BMenuItem {
|
||||
|
||||
public:
|
||||
_BMCItem_(BMenu *menu);
|
||||
_BMCItem_(BMessage *message);
|
||||
virtual ~_BMCItem_();
|
||||
|
||||
static BArchivable *Instantiate(BMessage *data);
|
||||
|
||||
void Draw();
|
||||
void GetContentSize(float *width, float *height);
|
||||
|
||||
private:
|
||||
friend class BMenuField;
|
||||
|
||||
bool fShowPopUpMarker;
|
||||
};
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/*//------------------------------------------------------------------------------
|
||||
_BMCFilter_::_BMCFilter_(BMenuField *menuField, uint32)
|
||||
@@ -101,9 +74,9 @@ virtual void MouseDown(BPoint where);
|
||||
|
||||
private:
|
||||
_BMCMenuBar_&operator=(const _BMCMenuBar_ &);
|
||||
|
||||
BMenuField *fMenuField;
|
||||
bool fFixedSize;
|
||||
|
||||
BMenuField *fMenuField;
|
||||
bool fFixedSize;
|
||||
BMessageRunner *fRunner;
|
||||
};
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user