mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
22 lines
592 B
C++
22 lines
592 B
C++
#pragma once
|
|
#ifndef __PL_MENUS_H__
|
|
#define __PL_MENUS_H__
|
|
|
|
#include "PLCore.h"
|
|
|
|
class PLPasStr;
|
|
|
|
MenuHandle GetMenu(int resID);
|
|
void AppendResMenu(MenuHandle menu, UInt32 resType); // Appends all menus of a given type
|
|
void InsertMenu(MenuHandle menu, int index);
|
|
void DeleteMenu(int menuID); // ???
|
|
void DrawMenuBar();
|
|
void HiliteMenu(int menu);
|
|
|
|
void EnableMenuItem(MenuHandle menu, int index);
|
|
void DisableMenuItem(MenuHandle menu, int index);
|
|
void CheckMenuItem(MenuHandle menu, int index, Boolean checked);
|
|
void SetMenuItemText(MenuHandle menu, int index, const PLPasStr &text);
|
|
|
|
#endif
|