19 lines
404 B
Text
19 lines
404 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 {
|
|
|
|
//TODO(codebytere): deprecated; remove in 3.0
|
|
int Screen::getMenuBarHeight() {
|
|
return [[NSApp mainMenu] menuBarHeight];
|
|
}
|
|
|
|
}// namespace api
|
|
|
|
}// namespace atom
|