godot/scene/gui/menu_bar.cpp

/**************************************************************************/
/*  menu_bar.cpp                                                          */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "menu_bar.h"

#include "core/os/keyboard.h"
#include "scene/main/window.h"
#include "scene/theme/theme_db.h"

void MenuBar::gui_input(const Ref<InputEvent> &p_event) {}

void MenuBar::_open_popup(int p_index, bool p_focus_item) {}

void MenuBar::shortcut_input(const Ref<InputEvent> &p_event) {}

void MenuBar::_popup_visibility_changed(bool p_visible) {}

bool MenuBar::is_native_menu() const {}

void MenuBar::bind_global_menu() {}

void MenuBar::unbind_global_menu() {}

void MenuBar::_notification(int p_what) {}

int MenuBar::_get_index_at_point(const Point2 &p_point) const {}

Rect2 MenuBar::_get_menu_item_rect(int p_index) const {}

void MenuBar::_draw_menu_item(int p_index) {}

void MenuBar::shape(Menu &p_menu) {}

void MenuBar::_refresh_menu_names() {}

Vector<PopupMenu *> MenuBar::_get_popups() const {}

int MenuBar::get_menu_idx_from_control(PopupMenu *p_child) const {}

void MenuBar::add_child_notify(Node *p_child) {}

void MenuBar::move_child_notify(Node *p_child) {}

void MenuBar::remove_child_notify(Node *p_child) {}

void MenuBar::_bind_methods() {}

void MenuBar::set_switch_on_hover(bool p_enabled) {}

bool MenuBar::is_switch_on_hover() {}

void MenuBar::set_disable_shortcuts(bool p_disabled) {}

void MenuBar::set_text_direction(Control::TextDirection p_text_direction) {}

Control::TextDirection MenuBar::get_text_direction() const {}

void MenuBar::set_language(const String &p_language) {}

String MenuBar::get_language() const {}

void MenuBar::set_flat(bool p_enabled) {}

bool MenuBar::is_flat() const {}

void MenuBar::set_start_index(int p_index) {}

int MenuBar::get_start_index() const {}

void MenuBar::set_prefer_global_menu(bool p_enabled) {}

bool MenuBar::is_prefer_global_menu() const {}

Size2 MenuBar::get_minimum_size() const {}

int MenuBar::get_menu_count() const {}

void MenuBar::set_menu_title(int p_menu, const String &p_title) {}

String MenuBar::get_menu_title(int p_menu) const {}

void MenuBar::set_menu_tooltip(int p_menu, const String &p_tooltip) {}

String MenuBar::get_menu_tooltip(int p_menu) const {}

void MenuBar::set_menu_disabled(int p_menu, bool p_disabled) {}

bool MenuBar::is_menu_disabled(int p_menu) const {}

void MenuBar::set_menu_hidden(int p_menu, bool p_hidden) {}

bool MenuBar::is_menu_hidden(int p_menu) const {}

PopupMenu *MenuBar::get_menu_popup(int p_idx) const {}

String MenuBar::get_tooltip(const Point2 &p_pos) const {}

MenuBar::MenuBar() {}

MenuBar::~MenuBar() {}