Tyro/src/widgets/TyroMenu.h

27 lines
446 B
C
Raw Normal View History

2015-05-08 16:01:36 -04:00
/**
* Main Menu class
*/
#ifndef TYRO_MENU_H
#define TYRO_MENU_H
2015-05-08 16:01:36 -04:00
#include "widget.h"
class TyroMenu : public wxMenuBar {
public:
TyroMenu();
~TyroMenu();
void EnableEditControls(bool enable);
private:
wxMenu *fileMenu;
wxMenu *editMenu;
wxMenu *viewMenu;
wxMenu *langMenu;
wxMenu *helpMenu;
void SetupMainMenus();
void SetupLangMenu();
void EnableEntireMenu(size_t menuId, wxMenu *menu, bool enable);
};
#endif /* TYRO_MENU_H */