mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Lots of stuff
This commit is contained in:
21
PortabilityLayer/PLMenus.h
Normal file
21
PortabilityLayer/PLMenus.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user