ASPiK SDK
hiviewoptionmenu.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #ifndef __hiviewoptionmenu__
6 #define __hiviewoptionmenu__
7 
8 #include "../../iplatformoptionmenu.h"
9 
10 #if MAC_CARBON
11 
12 #include <Carbon/Carbon.h>
13 
14 namespace VSTGUI {
15 
16 //-----------------------------------------------------------------------------
17 class HIViewOptionMenu : public IPlatformOptionMenu
18 {
19 public:
20 
21  PlatformOptionMenuResult popup (COptionMenu* optionMenu) override;
22 
23 protected:
24  MenuRef createMenu (COptionMenu* menu);
25 };
26 
27 } // namespace
28 
29 #endif // MAC_CARBON
30 #endif // __hiviewoptionmenu__
Definition: customcontrols.cpp:8