godot/scene/gui/label.cpp

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

#include "core/config/project_settings.h"
#include "core/string/print_string.h"
#include "core/string/translation.h"
#include "scene/gui/container.h"
#include "scene/theme/theme_db.h"
#include "servers/text_server.h"

void Label::set_autowrap_mode(TextServer::AutowrapMode p_mode) {}

TextServer::AutowrapMode Label::get_autowrap_mode() const {}

void Label::set_justification_flags(BitField<TextServer::JustificationFlag> p_flags) {}

BitField<TextServer::JustificationFlag> Label::get_justification_flags() const {}

void Label::set_uppercase(bool p_uppercase) {}

bool Label::is_uppercase() const {}

int Label::get_line_height(int p_line) const {}

void Label::_shape() {}

void Label::_update_visible() {}

inline void draw_glyph(const Glyph &p_gl, const RID &p_canvas, const Color &p_font_color, const Vector2 &p_ofs) {}

inline void draw_glyph_shadow(const Glyph &p_gl, const RID &p_canvas, const Color &p_font_shadow_color, int p_shadow_outline_size, const Vector2 &p_ofs, const Vector2 &shadow_ofs) {}

inline void draw_glyph_outline(const Glyph &p_gl, const RID &p_canvas, const Color &p_font_outline_color, int p_outline_size, const Vector2 &p_ofs) {}

PackedStringArray Label::get_configuration_warnings() const {}

void Label::_notification(int p_what) {}

Rect2 Label::get_character_bounds(int p_pos) const {}

Size2 Label::get_minimum_size() const {}

#ifndef DISABLE_DEPRECATED
bool Label::_set(const StringName &p_name, const Variant &p_value) {}
#endif

int Label::get_line_count() const {}

int Label::get_visible_line_count() const {}

void Label::set_horizontal_alignment(HorizontalAlignment p_alignment) {}

HorizontalAlignment Label::get_horizontal_alignment() const {}

void Label::set_vertical_alignment(VerticalAlignment p_alignment) {}

VerticalAlignment Label::get_vertical_alignment() const {}

void Label::set_text(const String &p_string) {}

void Label::_invalidate() {}

void Label::set_label_settings(const Ref<LabelSettings> &p_settings) {}

Ref<LabelSettings> Label::get_label_settings() const {}

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

void Label::set_structured_text_bidi_override(TextServer::StructuredTextParser p_parser) {}

TextServer::StructuredTextParser Label::get_structured_text_bidi_override() const {}

void Label::set_structured_text_bidi_override_options(Array p_args) {}

Array Label::get_structured_text_bidi_override_options() const {}

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

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

String Label::get_language() const {}

void Label::set_clip_text(bool p_clip) {}

bool Label::is_clipping_text() const {}

void Label::set_tab_stops(const PackedFloat32Array &p_tab_stops) {}

PackedFloat32Array Label::get_tab_stops() const {}

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

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

void Label::set_ellipsis_char(const String &p_char) {}

String Label::get_ellipsis_char() const {}

String Label::get_text() const {}

void Label::set_visible_characters(int p_amount) {}

int Label::get_visible_characters() const {}

void Label::set_visible_ratio(float p_ratio) {}

float Label::get_visible_ratio() const {}

TextServer::VisibleCharactersBehavior Label::get_visible_characters_behavior() const {}

void Label::set_visible_characters_behavior(TextServer::VisibleCharactersBehavior p_behavior) {}

void Label::set_lines_skipped(int p_lines) {}

int Label::get_lines_skipped() const {}

void Label::set_max_lines_visible(int p_lines) {}

int Label::get_max_lines_visible() const {}

int Label::get_total_character_count() const {}

void Label::_bind_methods() {}

Label::Label(const String &p_text) {}

Label::~Label() {}