ultimatepp/uppsrc/CtrlCore/CocoTop.h
Zbigniew Rębacz d4bae3cd09
CtrlCore: Cocoa always use bundled icon (#339)
* CtrlCore: Cocoa always use bundled icon.

* Reworked

* .cosmetics

* .simplified
2026-01-12 08:33:07 +01:00

25 lines
No EOL
475 B
C

protected:
friend struct MMImp;
bool placefocus;
dword GetMMStyle() const;
virtual void MMClose() { WhenClose(); }
static void SyncMainMenu(bool force);
void *menubar = NULL;
Event<Bar&> MainMenu;
public: // really private:
static TopWindow *GetMenuTopWindow(bool dock);
public:
virtual bool HotKey(dword key);
Event<Bar&> WhenDockMenu;
void SetMainMenu(Event<Bar&> menu);
void SetBadgeLabel(const String& label = String());