electron/atom/browser/api/atom_api_screen_mac.mm
Kevin Sawicki 653ef6f839 🎨
2017-06-05 10:33:46 -07:00

18 lines
358 B
Text

// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#import "atom/browser/api/atom_api_screen.h"
#import <Cocoa/Cocoa.h>
namespace atom {
namespace api {
int Screen::getMenuBarHeight() {
return [[NSApp mainMenu] menuBarHeight];
}
}// namespace api
}// namespace atom