electron/atom/browser/api/atom_api_screen_mac.mm

16 lines
250 B
Text
Raw Normal View History

2017-05-24 02:24:56 +00:00
#import "atom/browser/api/atom_api_screen.h"
#import <Cocoa/Cocoa.h>
namespace atom {
namespace api {
#if defined(OS_MACOSX)
int Screen::getMenuBarHeight(){
return [[NSApp mainMenu] menuBarHeight];
}
#endif
}// namespace api
}// namespace atom