Stefano Ceccherini def763251b cleanups, updated copyrights
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-03 20:05:47 +00:00

35 lines
656 B
C++

/*
* Copyright 2002-2007, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* <unknown, please fill in who knows>
* Stefano Ceccherini (stefano.ceccherini@gmail.com)
*/
#ifndef MENU_BAR_H
#define MENU_BAR_H
#include <MenuBar.h>
class BMenuItem;
class MenuBar : public BMenuBar {
public:
MenuBar();
virtual void AttachedToWindow();
void UpdateMenu();
void Update();
virtual void FrameResized(float width, float height);
private:
void _BuildMenu();
BMenuItem* fAlwaysShowTriggersItem;
BMenuItem* fControlAsShortcutItem;
BMenuItem* fAltAsShortcutItem;
};
#endif // MENU_BAR_H