mirror of
https://review.haiku-os.org/haiku
synced 2025-02-08 22:58:18 +01:00
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21001 a95241bf-73f2-0310-859d-f6bbb57e9c96
35 lines
656 B
C++
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
|