godot/scene/gui/base_button.cpp

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

#include "core/config/project_settings.h"
#include "core/os/keyboard.h"
#include "scene/gui/label.h"
#include "scene/main/window.h"

void BaseButton::_unpress_group() {}

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

void BaseButton::_notification(int p_what) {}

void BaseButton::_pressed() {}

void BaseButton::_toggled(bool p_pressed) {}

void BaseButton::on_action_event(Ref<InputEvent> p_event) {}

void BaseButton::pressed() {}

void BaseButton::toggled(bool p_pressed) {}

void BaseButton::set_disabled(bool p_disabled) {}

bool BaseButton::is_disabled() const {}

void BaseButton::set_pressed(bool p_pressed) {}

void BaseButton::set_pressed_no_signal(bool p_pressed) {}

bool BaseButton::is_pressing() const {}

bool BaseButton::is_pressed() const {}

bool BaseButton::is_hovered() const {}

BaseButton::DrawMode BaseButton::get_draw_mode() const {}

void BaseButton::set_toggle_mode(bool p_on) {}

bool BaseButton::is_toggle_mode() const {}

void BaseButton::set_shortcut_in_tooltip(bool p_on) {}

bool BaseButton::is_shortcut_in_tooltip_enabled() const {}

void BaseButton::set_action_mode(ActionMode p_mode) {}

BaseButton::ActionMode BaseButton::get_action_mode() const {}

void BaseButton::set_button_mask(BitField<MouseButtonMask> p_mask) {}

BitField<MouseButtonMask> BaseButton::get_button_mask() const {}

void BaseButton::set_keep_pressed_outside(bool p_on) {}

bool BaseButton::is_keep_pressed_outside() const {}

void BaseButton::set_shortcut_feedback(bool p_enable) {}

bool BaseButton::is_shortcut_feedback() const {}

void BaseButton::set_shortcut(const Ref<Shortcut> &p_shortcut) {}

Ref<Shortcut> BaseButton::get_shortcut() const {}

void BaseButton::_shortcut_feedback_timeout() {}

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

Control *BaseButton::make_custom_tooltip(const String &p_text) const {}

void BaseButton::set_button_group(const Ref<ButtonGroup> &p_group) {}

Ref<ButtonGroup> BaseButton::get_button_group() const {}

bool BaseButton::_was_pressed_by_mouse() const {}

PackedStringArray BaseButton::get_configuration_warnings() const {}

void BaseButton::_bind_methods() {}

BaseButton::BaseButton() {}

BaseButton::~BaseButton() {}

void ButtonGroup::get_buttons(List<BaseButton *> *r_buttons) {}

TypedArray<BaseButton> ButtonGroup::_get_buttons() {}

BaseButton *ButtonGroup::get_pressed_button() {}

void ButtonGroup::set_allow_unpress(bool p_enabled) {}
bool ButtonGroup::is_allow_unpress() {}

void ButtonGroup::_bind_methods() {}

ButtonGroup::ButtonGroup() {}