mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
39 lines
576 B
Text
39 lines
576 B
Text
#include <CtrlCore/CtrlCore.h>
|
|
|
|
#ifdef GUI_COCOA
|
|
|
|
#include <CtrlCore/CocoMM.h>
|
|
|
|
namespace Upp {
|
|
|
|
#define LLOG(x) // LOG(x)
|
|
|
|
TopWindow& TopWindow::FullScreen(bool b)
|
|
{
|
|
return *this;
|
|
}
|
|
|
|
TopWindow& TopWindow::TopMost(bool b, bool stay_top)
|
|
{
|
|
GuiLock __;
|
|
return *this;
|
|
}
|
|
|
|
bool TopWindow::IsTopMost() const
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void TopWindow::GuiPlatformConstruct()
|
|
{
|
|
}
|
|
|
|
void TopWindow::SetBadgeLabel(const String& label)
|
|
{
|
|
NSString* nlabel = [NSString stringWithUTF8String:~label];
|
|
[[NSApp dockTile] setBadgeLabel:nlabel];
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|