33 #include "MessageWindow.h"
41 void*
const Menu::showMessageAreaRef =
reinterpret_cast<void*
>(1);
43 void*
const Menu::resetMessageAreaRef =
reinterpret_cast<void*
>(2);
47 void Menu::menuHandlerCallback(
void* menuRef,
void* itemRef)
49 Menu* menu =
reinterpret_cast<Menu*
>(menuRef);
56 messageWindow(messageWindow),
58 showMessageAreaIndex(-1)
60 XPLMMenuID pluginsMenuID = XPLMFindPluginsMenu();
62 int menuIndex = XPLMAppendMenuItem(pluginsMenuID,
"Remote Access", 0, 1);
63 menuID = XPLMCreateMenu(
"Remote Access", pluginsMenuID, menuIndex,
76 XPLMMenuCheck checked = xplm_Menu_NoCheck;
78 if (checked==xplm_Menu_Unchecked) {
81 }
else if (checked==xplm_Menu_Checked) {