godot/servers/display/native_menu.cpp

/**************************************************************************/
/*  native_menu.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 "native_menu.h"

#include "scene/resources/image_texture.h"

NativeMenu *NativeMenu::singleton =;

void NativeMenu::_bind_methods() {}

bool NativeMenu::has_feature(Feature p_feature) const {}

bool NativeMenu::has_system_menu(SystemMenus p_menu_id) const {}

RID NativeMenu::get_system_menu(SystemMenus p_menu_id) const {}

String NativeMenu::get_system_menu_name(SystemMenus p_menu_id) const {}

RID NativeMenu::create_menu() {}

bool NativeMenu::has_menu(const RID &p_rid) const {}

void NativeMenu::free_menu(const RID &p_rid) {}

Size2 NativeMenu::get_size(const RID &p_rid) const {}

void NativeMenu::popup(const RID &p_rid, const Vector2i &p_position) {}

void NativeMenu::set_interface_direction(const RID &p_rid, bool p_is_rtl) {}

void NativeMenu::set_popup_open_callback(const RID &p_rid, const Callable &p_callback) {}

Callable NativeMenu::get_popup_open_callback(const RID &p_rid) const {}

void NativeMenu::set_popup_close_callback(const RID &p_rid, const Callable &p_callback) {}

Callable NativeMenu::get_popup_close_callback(const RID &p_rid) const {}

bool NativeMenu::is_opened(const RID &p_rid) const {}

void NativeMenu::set_minimum_width(const RID &p_rid, float p_width) {}

float NativeMenu::get_minimum_width(const RID &p_rid) const {}

int NativeMenu::add_submenu_item(const RID &p_rid, const String &p_label, const RID &p_submenu_rid, const Variant &p_tag, int p_index) {}

int NativeMenu::add_item(const RID &p_rid, const String &p_label, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_check_item(const RID &p_rid, const String &p_label, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_icon_item(const RID &p_rid, const Ref<Texture2D> &p_icon, const String &p_label, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_icon_check_item(const RID &p_rid, const Ref<Texture2D> &p_icon, const String &p_label, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_radio_check_item(const RID &p_rid, const String &p_label, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_icon_radio_check_item(const RID &p_rid, const Ref<Texture2D> &p_icon, const String &p_label, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_multistate_item(const RID &p_rid, const String &p_label, int p_max_states, int p_default_state, const Callable &p_callback, const Callable &p_key_callback, const Variant &p_tag, Key p_accel, int p_index) {}

int NativeMenu::add_separator(const RID &p_rid, int p_index) {}

int NativeMenu::find_item_index_with_text(const RID &p_rid, const String &p_text) const {}

int NativeMenu::find_item_index_with_tag(const RID &p_rid, const Variant &p_tag) const {}

int NativeMenu::find_item_index_with_submenu(const RID &p_rid, const RID &p_submenu_rid) const {}

bool NativeMenu::is_item_checked(const RID &p_rid, int p_idx) const {}

bool NativeMenu::is_item_checkable(const RID &p_rid, int p_idx) const {}

bool NativeMenu::is_item_radio_checkable(const RID &p_rid, int p_idx) const {}

Callable NativeMenu::get_item_callback(const RID &p_rid, int p_idx) const {}

Callable NativeMenu::get_item_key_callback(const RID &p_rid, int p_idx) const {}

Variant NativeMenu::get_item_tag(const RID &p_rid, int p_idx) const {}

String NativeMenu::get_item_text(const RID &p_rid, int p_idx) const {}

RID NativeMenu::get_item_submenu(const RID &p_rid, int p_idx) const {}

Key NativeMenu::get_item_accelerator(const RID &p_rid, int p_idx) const {}

bool NativeMenu::is_item_disabled(const RID &p_rid, int p_idx) const {}

bool NativeMenu::is_item_hidden(const RID &p_rid, int p_idx) const {}

String NativeMenu::get_item_tooltip(const RID &p_rid, int p_idx) const {}

int NativeMenu::get_item_state(const RID &p_rid, int p_idx) const {}

int NativeMenu::get_item_max_states(const RID &p_rid, int p_idx) const {}

Ref<Texture2D> NativeMenu::get_item_icon(const RID &p_rid, int p_idx) const {}

int NativeMenu::get_item_indentation_level(const RID &p_rid, int p_idx) const {}

void NativeMenu::set_item_checked(const RID &p_rid, int p_idx, bool p_checked) {}

void NativeMenu::set_item_checkable(const RID &p_rid, int p_idx, bool p_checkable) {}

void NativeMenu::set_item_radio_checkable(const RID &p_rid, int p_idx, bool p_checkable) {}

void NativeMenu::set_item_callback(const RID &p_rid, int p_idx, const Callable &p_callback) {}

void NativeMenu::set_item_key_callback(const RID &p_rid, int p_idx, const Callable &p_key_callback) {}

void NativeMenu::set_item_hover_callbacks(const RID &p_rid, int p_idx, const Callable &p_callback) {}

void NativeMenu::set_item_tag(const RID &p_rid, int p_idx, const Variant &p_tag) {}

void NativeMenu::set_item_text(const RID &p_rid, int p_idx, const String &p_text) {}

void NativeMenu::set_item_submenu(const RID &p_rid, int p_idx, const RID &p_submenu_rid) {}

void NativeMenu::set_item_accelerator(const RID &p_rid, int p_idx, Key p_keycode) {}

void NativeMenu::set_item_disabled(const RID &p_rid, int p_idx, bool p_disabled) {}

void NativeMenu::set_item_hidden(const RID &p_rid, int p_idx, bool p_hidden) {}

void NativeMenu::set_item_tooltip(const RID &p_rid, int p_idx, const String &p_tooltip) {}

void NativeMenu::set_item_state(const RID &p_rid, int p_idx, int p_state) {}

void NativeMenu::set_item_max_states(const RID &p_rid, int p_idx, int p_max_states) {}

void NativeMenu::set_item_icon(const RID &p_rid, int p_idx, const Ref<Texture2D> &p_icon) {}

void NativeMenu::set_item_indentation_level(const RID &p_rid, int p_idx, int p_level) {}

int NativeMenu::get_item_count(const RID &p_rid) const {}

bool NativeMenu::is_system_menu(const RID &p_rid) const {}

void NativeMenu::remove_item(const RID &p_rid, int p_idx) {}

void NativeMenu::clear(const RID &p_rid) {}