godot/scene/gui/item_list.cpp

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

#include "core/config/project_settings.h"
#include "core/os/os.h"
#include "scene/theme/theme_db.h"

void ItemList::_shape_text(int p_idx) {}

int ItemList::add_item(const String &p_item, const Ref<Texture2D> &p_texture, bool p_selectable) {}

int ItemList::add_icon_item(const Ref<Texture2D> &p_item, bool p_selectable) {}

void ItemList::set_item_text(int p_idx, const String &p_text) {}

String ItemList::get_item_text(int p_idx) const {}

void ItemList::set_item_text_direction(int p_idx, Control::TextDirection p_text_direction) {}

Control::TextDirection ItemList::get_item_text_direction(int p_idx) const {}

void ItemList::set_item_language(int p_idx, const String &p_language) {}

String ItemList::get_item_language(int p_idx) const {}

void ItemList::set_item_auto_translate_mode(int p_idx, AutoTranslateMode p_mode) {}

Node::AutoTranslateMode ItemList::get_item_auto_translate_mode(int p_idx) const {}

void ItemList::set_item_tooltip_enabled(int p_idx, const bool p_enabled) {}

bool ItemList::is_item_tooltip_enabled(int p_idx) const {}

void ItemList::set_item_tooltip(int p_idx, const String &p_tooltip) {}

String ItemList::get_item_tooltip(int p_idx) const {}

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

Ref<Texture2D> ItemList::get_item_icon(int p_idx) const {}

void ItemList::set_item_icon_transposed(int p_idx, const bool p_transposed) {}

bool ItemList::is_item_icon_transposed(int p_idx) const {}

void ItemList::set_item_icon_region(int p_idx, const Rect2 &p_region) {}

Rect2 ItemList::get_item_icon_region(int p_idx) const {}

void ItemList::set_item_icon_modulate(int p_idx, const Color &p_modulate) {}

Color ItemList::get_item_icon_modulate(int p_idx) const {}

void ItemList::set_item_custom_bg_color(int p_idx, const Color &p_custom_bg_color) {}

Color ItemList::get_item_custom_bg_color(int p_idx) const {}

void ItemList::set_item_custom_fg_color(int p_idx, const Color &p_custom_fg_color) {}

Color ItemList::get_item_custom_fg_color(int p_idx) const {}

Rect2 ItemList::get_item_rect(int p_idx, bool p_expand) const {}

void ItemList::set_item_tag_icon(int p_idx, const Ref<Texture2D> &p_tag_icon) {}

void ItemList::set_item_selectable(int p_idx, bool p_selectable) {}

bool ItemList::is_item_selectable(int p_idx) const {}

void ItemList::set_item_disabled(int p_idx, bool p_disabled) {}

bool ItemList::is_item_disabled(int p_idx) const {}

void ItemList::set_item_metadata(int p_idx, const Variant &p_metadata) {}

Variant ItemList::get_item_metadata(int p_idx) const {}

void ItemList::select(int p_idx, bool p_single) {}

void ItemList::deselect(int p_idx) {}

void ItemList::deselect_all() {}

bool ItemList::is_selected(int p_idx) const {}

void ItemList::set_current(int p_current) {}

int ItemList::get_current() const {}

void ItemList::move_item(int p_from_idx, int p_to_idx) {}

void ItemList::set_item_count(int p_count) {}

int ItemList::get_item_count() const {}

void ItemList::remove_item(int p_idx) {}

void ItemList::clear() {}

void ItemList::set_fixed_column_width(int p_size) {}

int ItemList::get_fixed_column_width() const {}

void ItemList::set_same_column_width(bool p_enable) {}

bool ItemList::is_same_column_width() const {}

void ItemList::set_max_text_lines(int p_lines) {}

int ItemList::get_max_text_lines() const {}

void ItemList::set_max_columns(int p_amount) {}

int ItemList::get_max_columns() const {}

void ItemList::set_select_mode(SelectMode p_mode) {}

ItemList::SelectMode ItemList::get_select_mode() const {}

void ItemList::set_icon_mode(IconMode p_mode) {}

ItemList::IconMode ItemList::get_icon_mode() const {}

void ItemList::set_fixed_icon_size(const Size2i &p_size) {}

Size2i ItemList::get_fixed_icon_size() const {}

Size2 ItemList::Item::get_icon_size() const {}

void ItemList::set_fixed_tag_icon_size(const Size2i &p_size) {}

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

void ItemList::ensure_current_is_visible() {}

static Rect2 _adjust_to_max_size(Size2 p_size, Size2 p_max_size) {}

void ItemList::_notification(int p_what) {}

void ItemList::force_update_list_size() {}

void ItemList::_scroll_changed(double) {}

void ItemList::_mouse_exited() {}

String ItemList::_atr(int p_idx, const String &p_text) const {}

int ItemList::get_item_at_position(const Point2 &p_pos, bool p_exact) const {}

bool ItemList::is_pos_at_end_of_items(const Point2 &p_pos) const {}

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

void ItemList::sort_items_by_text() {}

int ItemList::find_metadata(const Variant &p_metadata) const {}

void ItemList::set_allow_rmb_select(bool p_allow) {}

bool ItemList::get_allow_rmb_select() const {}

void ItemList::set_allow_reselect(bool p_allow) {}

bool ItemList::get_allow_reselect() const {}

void ItemList::set_allow_search(bool p_allow) {}

bool ItemList::get_allow_search() const {}

void ItemList::set_icon_scale(real_t p_scale) {}

real_t ItemList::get_icon_scale() const {}

Vector<int> ItemList::get_selected_items() {}

bool ItemList::is_anything_selected() {}

Size2 ItemList::get_minimum_size() const {}

void ItemList::set_autoscroll_to_bottom(const bool p_enable) {}

void ItemList::set_auto_width(bool p_enable) {}

bool ItemList::has_auto_width() const {}

void ItemList::set_auto_height(bool p_enable) {}

bool ItemList::has_auto_height() const {}

void ItemList::set_text_overrun_behavior(TextServer::OverrunBehavior p_behavior) {}

TextServer::OverrunBehavior ItemList::get_text_overrun_behavior() const {}

bool ItemList::_set(const StringName &p_name, const Variant &p_value) {}

void ItemList::_bind_methods() {}

ItemList::ItemList() {}

ItemList::~ItemList() {}